PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/editor/style-rtl.css +2263 -1069 23.0.1 → 24.1.0 View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -106,147 +112,12 @@
106 112 --wp-admin-border-width-focus: 1.5px;
107 113 }
108 114 }
109 115
110 -.admin-ui-page {
111 - display: flex;
112 - height: 100%;
113 - background-color: var(--wpds-color-bg-surface-neutral, #fcfcfc);
114 - color: var(--wpds-color-fg-content-neutral, #1e1e1e);
115 - position: relative;
116 - z-index: 1;
117 - flex-flow: column;
118 - text-wrap: pretty;
119 -}
120 -
121 -.admin-ui-page__header {
122 - padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
123 - border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
124 - background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
125 - position: sticky;
126 - top: 0;
127 - z-index: 1;
128 -}
129 -
130 -.admin-ui-page__header-title {
131 - font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
132 - font-size: var(--wpds-typography-font-size-lg, 15px);
133 - font-weight: var(--wpds-typography-font-weight-medium, 499);
134 - line-height: var(--wpds-typography-line-height-lg, 28px);
135 - margin: 0;
136 - overflow: hidden;
137 - text-overflow: ellipsis;
138 - white-space: nowrap;
139 -}
140 -
141 -.admin-ui-page__sidebar-toggle-slot:empty {
142 - display: none;
143 -}
144 -
145 -.admin-ui-page__header-subtitle {
146 - padding-block-end: var(--wpds-dimension-padding-xs, 4px);
147 - color: var(--wpds-color-fg-content-neutral-weak, #707070);
148 - font-size: var(--wpds-typography-font-size-md, 13px);
149 - line-height: var(--wpds-typography-line-height-md, 24px);
150 - margin: 0;
151 -}
152 -
153 -.admin-ui-page__content {
154 - flex-grow: 1;
155 - overflow: auto;
156 - display: flex;
157 - flex-direction: column;
158 -}
159 -
160 -.admin-ui-page__content.has-padding {
161 - padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
162 -}
163 -
164 -.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
165 - width: auto;
166 - padding: 0 var(--wpds-dimension-padding-xs, 4px);
167 -}
168 -
169 -.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
170 - display: none;
171 -}
172 -
173 -.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
174 - content: attr(aria-label);
175 - font-size: var(--wpds-typography-font-size-sm, 12px);
176 -}
177 -
178 116 /**
179 - * SCSS Variables.
180 - *
181 - * Please use variables from this sheet to ensure consistency across the UI.
182 - * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
183 - * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
184 - */
185 -/**
186 117 * Colors
187 118 */
188 119 /**
189 - * Fonts & basic variables.
190 - */
191 -/**
192 - * Typography
193 - */
194 -/**
195 - * Grid System.
196 - * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
197 - */
198 -/**
199 - * Radius scale.
200 - */
201 -/**
202 - * Elevation scale.
203 - */
204 -/**
205 - * Dimensions.
206 - */
207 -/**
208 - * Mobile specific styles
209 - */
210 -/**
211 - * Editor styles.
212 - */
213 -/**
214 - * Block & Editor UI.
215 - */
216 -/**
217 - * Block paddings.
218 - */
219 -/**
220 - * React Native specific.
221 - * These variables do not appear to be used anywhere else.
222 - */
223 -.admin-ui-breadcrumbs__list {
224 - font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
225 - font-size: var(--wpds-typography-font-size-lg, 15px);
226 - font-weight: var(--wpds-typography-font-weight-medium, 499);
227 - line-height: var(--wpds-typography-line-height-lg, 28px);
228 - list-style: none;
229 - padding: 0;
230 - margin: 0;
231 - gap: 0;
232 - min-height: 32px;
233 -}
234 -
235 -.admin-ui-breadcrumbs__list li:not(:last-child)::after {
236 - content: "/";
237 - margin: 0 8px;
238 -}
239 -
240 -.admin-ui-breadcrumbs__list h1 {
241 - font-size: inherit;
242 - line-height: inherit;
243 -}
244 -
245 -/**
246 - * Colors
247 - */
248 -/**
249 120 * SCSS Variables.
250 121 *
251 122 * Please use variables from this sheet to ensure consistency across the UI.
252 123 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
@@ -321,8 +192,14 @@
321 192 /**
322 193 * Focus styles.
323 194 */
324 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 +/**
325 202 * Applies editor left position to the selector passed as argument
326 203 */
327 204 /**
328 205 * Styles that are reused verbatim in a few places
@@ -345,8 +222,9 @@
345 222 background: #fff;
346 223 color: #1e1e1e;
347 224 height: 100%;
348 225 overflow: auto;
226 + width: 100vw;
349 227 }
350 228
351 229 @media (min-width: 782px) {
352 230 .interface-complementary-area {
@@ -374,9 +252,9 @@
374 252 }
375 253
376 254 .interface-complementary-area h2 {
377 255 font-size: 13px;
378 - font-weight: 499;
256 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
379 257 color: #1e1e1e;
380 258 margin-bottom: 1.5em;
381 259 }
382 260
@@ -382,9 +260,9 @@
382 260
383 261 .interface-complementary-area h3 {
384 262 font-size: 11px;
385 263 text-transform: uppercase;
386 - font-weight: 499;
264 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
387 265 color: #1e1e1e;
388 266 margin-bottom: 1.5em;
389 267 }
390 268
@@ -416,14 +294,9 @@
416 294 height: 100%;
417 295 }
418 296
419 297 @media (min-width: 782px) {
420 - body.js.is-fullscreen-mode {
421 - margin-top: -32px;
422 - height: calc(100% + 32px);
423 - }
424 - body.js.is-fullscreen-mode #adminmenumain,
425 - body.js.is-fullscreen-mode #wpadminbar {
298 + body.js.is-fullscreen-mode #adminmenumain {
426 299 display: none;
427 300 }
428 301 body.js.is-fullscreen-mode #wpcontent,
429 302 body.js.is-fullscreen-mode #wpfooter {
@@ -457,9 +330,9 @@
457 330 .interface-interface-skeleton {
458 331 top: 32px;
459 332 }
460 333 .is-fullscreen-mode .interface-interface-skeleton {
461 - top: 0;
334 + top: var(--wp-admin--admin-bar--height, 0);
462 335 }
463 336 }
464 337 .interface-interface-skeleton__editor {
465 338 display: flex;
@@ -512,9 +385,9 @@
512 385 }
513 386
514 387 @media (min-width: 782px) {
515 388 .has-footer .interface-interface-skeleton__body {
516 - padding-bottom: 25px;
389 + padding-bottom: calc(var(--wpds-dimension-size-md, 32px) + 1px);
517 390 }
518 391 }
519 392 .interface-interface-skeleton__content {
520 393 flex-grow: 1;
@@ -601,9 +474,9 @@
601 474 .interface-interface-skeleton__footer .block-editor-block-breadcrumb {
602 475 z-index: 30;
603 476 display: flex;
604 477 background: #fff;
605 - height: 24px;
478 + height: var(--wpds-dimension-size-md, 32px);
606 479 align-items: center;
607 480 font-size: 13px;
608 481 padding: 0 18px;
609 482 }
@@ -639,9 +512,9 @@
639 512 border-right: 1px solid #ddd;
640 513 top: 32px;
641 514 }
642 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 {
643 - top: 0;
516 + top: var(--wp-admin--admin-bar--height, 0);
644 517 }
645 518 }
646 519 .interface-pinned-items {
647 520 display: flex;
@@ -739,8 +612,14 @@
739 612 /**
740 613 * Focus styles.
741 614 */
742 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 +/**
743 622 * Applies editor left position to the selector passed as argument
744 623 */
745 624 /**
746 625 * Styles that are reused verbatim in a few places
@@ -774,9 +653,9 @@
774 653 }
775 654
776 655 .font-library-modal .font-library__subtitle {
777 656 text-transform: uppercase;
778 - font-weight: 499;
657 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
779 658 font-size: 11px;
780 659 }
781 660
782 661 .font-library-modal__tab-panel {
@@ -814,9 +693,9 @@
814 693 .font-library__footer {
815 694 position: absolute;
816 695 width: 100%;
817 696 bottom: 0;
818 - border-top: 1px solid #ddd;
697 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
819 698 padding: 24px;
820 699 background-color: #fff;
821 700 box-sizing: border-box;
822 701 flex-grow: 0 !important;
@@ -825,22 +704,26 @@
825 704 }
826 705
827 706 .font-library__page-selection {
828 707 font-size: 11px;
829 - font-weight: 499;
708 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
830 709 text-transform: uppercase;
831 710 }
832 711
833 712 @media (min-width: 600px) {
834 - .font-library__page-selection .font-library__page-selection-trigger {
713 + .font-library__page-selection .components-select-control__input {
835 714 font-size: 11px !important;
836 - font-weight: 499;
715 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
837 716 }
838 717 }
718 +.font-library__search {
719 + width: 240px;
720 +}
721 +
839 722 .font-library__fonts-title {
840 723 text-transform: uppercase;
841 724 font-size: 11px;
842 - font-weight: 600;
725 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
843 726 margin-top: 0;
844 727 margin-bottom: 0;
845 728 }
846 729
@@ -854,11 +737,15 @@
854 737 .font-library__fonts-list-item {
855 738 margin-bottom: 0;
856 739 }
857 740
741 +.font-library__font-demo {
742 + position: relative;
743 +}
744 +
858 745 .font-library__font-card {
859 746 box-sizing: border-box;
860 - border: 1px solid #ddd;
747 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
861 748 width: 100%;
862 749 height: auto !important;
863 750 padding: 16px;
864 751 margin-top: -1px; /* To collapse the margin with the previous element */
@@ -872,13 +759,13 @@
872 759 position: relative;
873 760 }
874 761
875 762 .font-library__font-card .font-library__font-card__name {
876 - font-weight: bold;
763 + font-weight: 700;
877 764 }
878 765
879 766 .font-library__font-card .font-library__font-card__count {
880 - color: #757575;
767 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
881 768 }
882 769
883 770 .font-library__font-card .font-library__font-variant_demo-image {
884 771 display: block;
@@ -885,8 +772,25 @@
885 772 height: 24px;
886 773 width: auto;
887 774 }
888 775
776 +@media not (prefers-reduced-motion) {
777 + .font-library__font-card .font-library__font-variant_demo-image {
778 + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1));
779 + }
780 +}
781 +.font-library__font-card .font-library__font-variant_demo-image.is-loading {
782 + position: absolute;
783 + top: 0;
784 + right: 0;
785 + opacity: 0;
786 +}
787 +
788 +.font-library__font-card .font-library__font-variant-demo-skeleton {
789 + height: 24px;
790 + border-radius: var(--wpds-border-radius-sm, 2px);
791 +}
792 +
889 793 .font-library__font-card .font-library__font-variant_demo-text {
890 794 white-space: nowrap;
891 795 flex-shrink: 0;
892 796 }
@@ -898,9 +802,9 @@
898 802 }
899 803 .font-library-modal__tablist-container {
900 804 position: sticky;
901 805 top: 0;
902 - border-bottom: 1px solid #ddd;
806 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
903 807 background: #fff;
904 808 z-index: 1;
905 809 }
906 810
@@ -921,9 +825,9 @@
921 825 width: 80%;
922 826 }
923 827
924 828 .font-library__local-fonts .font-library__upload-area__text {
925 - color: #757575;
829 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
926 830 }
927 831
928 832 .font-library__google-fonts-confirm {
929 833 display: flex;
@@ -958,115 +862,22 @@
958 862 .font-library__select-all .components-checkbox-control__label {
959 863 padding-right: 16px;
960 864 }
961 865
962 -.global-styles-ui-pagination .components-button.is-tertiary {
963 - width: 32px;
964 - height: 32px;
965 - justify-content: center;
966 -}
967 -
968 -.global-styles-ui-screen-revisions__revisions-list {
969 - list-style: none;
970 - margin: 0 16px 16px 16px;
971 - flex-grow: 1;
972 -}
973 -
974 -.global-styles-ui-screen-revisions__revisions-list li {
975 - margin-bottom: 0;
976 -}
977 -
978 -.global-styles-ui-screen-revisions__revision-item {
979 - position: relative;
980 - cursor: pointer;
866 +.global-styles-ui-screen-revisions {
981 867 display: flex;
982 868 flex-direction: column;
869 + flex-grow: 1;
870 + min-height: 0;
983 871 }
984 872
985 -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
986 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
987 - outline: 2px solid transparent;
873 +.global-styles-ui-screen-revisions__actions {
874 + margin-inline-start: auto;
988 875 }
989 876
990 -.global-styles-ui-screen-revisions__revision-item:hover {
991 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
992 -}
993 -
994 -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
995 - color: var(--wp-admin-theme-color);
996 -}
997 -
998 -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
999 - position: absolute;
1000 - content: "\a";
1001 - display: block;
1002 -}
1003 -
1004 -.global-styles-ui-screen-revisions__revision-item::before {
1005 - background: #ddd;
1006 - border-radius: 50%;
1007 - height: 8px;
1008 - width: 8px;
1009 - top: 18px;
1010 - right: 17px;
1011 - transform: translate(50%, -50%);
1012 - z-index: 1;
1013 - border: 4px solid transparent;
1014 -}
1015 -
1016 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
1017 - border-radius: 2px;
1018 - outline: 3px solid transparent;
1019 - outline-offset: -2px;
1020 - color: var(--wp-admin-theme-color);
1021 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1022 -}
1023 -
1024 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
1025 - color: var(--wp-admin-theme-color);
1026 -}
1027 -
1028 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
1029 - background: var(--wp-admin-theme-color);
1030 -}
1031 -
1032 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
1033 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta,
1034 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text {
1035 - color: #1e1e1e;
1036 -}
1037 -
1038 -.global-styles-ui-screen-revisions__revision-item::after {
1039 - height: 100%;
1040 - right: 16px;
1041 - top: 0;
1042 - width: 0;
1043 - border: 0.5px solid #ddd;
1044 -}
1045 -
1046 -.global-styles-ui-screen-revisions__revision-item:first-child::after {
1047 - top: 18px;
1048 -}
1049 -
1050 -.global-styles-ui-screen-revisions__revision-item:last-child::after {
1051 - height: 18px;
1052 -}
1053 -
1054 -.global-styles-ui-screen-revisions__revision-item-wrapper {
1055 - display: block;
1056 - padding: 12px 40px 4px 12px;
1057 -}
1058 -
1059 -.global-styles-ui-screen-revisions__apply-button.is-primary,
1060 -.global-styles-ui-screen-revisions__applied-text {
1061 - align-self: flex-start;
1062 - margin: 4px 40px 12px 12px;
1063 -}
1064 -
1065 -.global-styles-ui-screen-revisions__changes,
1066 -.global-styles-ui-screen-revisions__meta,
1067 -.global-styles-ui-screen-revisions__applied-text {
1068 - color: #757575;
877 +.global-styles-ui-screen-revisions__date {
878 + text-transform: uppercase;
879 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1069 880 font-size: 12px;
1070 881 }
1071 882
1072 883 .global-styles-ui-screen-revisions__description {
@@ -1075,11 +886,11 @@
1075 886 align-items: flex-start;
1076 887 gap: 8px;
1077 888 }
1078 889
1079 -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
1080 - text-transform: uppercase;
1081 - font-weight: 600;
890 +.global-styles-ui-screen-revisions__changes,
891 +.global-styles-ui-screen-revisions__meta {
892 + color: #2f2f2f;
1082 893 font-size: 12px;
1083 894 }
1084 895
1085 896 .global-styles-ui-screen-revisions__meta {
@@ -1085,11 +896,10 @@
1085 896 .global-styles-ui-screen-revisions__meta {
1086 897 display: flex;
1087 898 justify-content: start;
1088 899 width: 100%;
1089 - align-items: flex-start;
900 + align-items: center;
1090 901 text-align: right;
1091 - margin-bottom: 4px;
1092 902 }
1093 903
1094 904 .global-styles-ui-screen-revisions__meta img {
1095 905 width: 16px;
@@ -1097,16 +907,12 @@
1097 907 border-radius: 100%;
1098 908 margin-left: 8px;
1099 909 }
1100 910
1101 -.global-styles-ui-screen-revisions__loading {
1102 - margin: 24px auto !important;
1103 -}
1104 -
1105 911 .global-styles-ui-screen-revisions__changes {
1106 912 text-align: right;
1107 913 line-height: 1.4;
1108 - margin-right: 12px;
914 + margin: 0 12px 0 0;
1109 915 list-style: disc;
1110 916 }
1111 917
1112 918 .global-styles-ui-screen-revisions__changes li {
@@ -1112,50 +918,11 @@
1112 918 .global-styles-ui-screen-revisions__changes li {
1113 919 margin-bottom: 4px;
1114 920 }
1115 921
1116 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
1117 - justify-content: space-between;
1118 - gap: 2px;
1119 -}
1120 -
1121 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
1122 - position: absolute;
1123 - right: -1000px;
1124 - height: 1px;
1125 - margin: -1px;
1126 - overflow: hidden;
1127 -}
1128 -
1129 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
1130 - font-size: 12px;
1131 - will-change: opacity;
1132 -}
1133 -
1134 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
1135 - color: #1e1e1e;
1136 -}
1137 -
1138 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
1139 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
1140 - color: #949494;
1141 -}
1142 -
1143 -.global-styles-ui-screen-revisions__footer {
1144 - height: 56px;
1145 - z-index: 1;
1146 - position: sticky;
1147 - min-width: 100%;
1148 - bottom: 0;
1149 - background: #fff;
1150 - padding: 12px;
1151 - border-top: 1px solid #ddd;
1152 - box-sizing: border-box;
1153 -}
1154 -
1155 922 .global-styles-ui-variations_item {
1156 923 box-sizing: border-box;
1157 - cursor: pointer;
924 + cursor: var(--wpds-cursor-control, pointer);
1158 925 }
1159 926
1160 927 .global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
1161 928 border-radius: 2px;
@@ -1191,16 +958,8 @@
1191 958 .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
1192 959 outline-color: var(--wp-admin-theme-color);
1193 960 }
1194 961
1195 -.global-styles-ui-preview {
1196 - display: flex;
1197 - align-items: center;
1198 - justify-content: center;
1199 - line-height: 1;
1200 - cursor: pointer;
1201 -}
1202 -
1203 962 .global-styles-ui-preview__wrapper {
1204 963 max-width: 100%;
1205 964 display: block;
1206 965 width: 100%;
@@ -1205,8 +964,12 @@
1205 964 display: block;
1206 965 width: 100%;
1207 966 }
1208 967
968 +.global-styles-ui-preview__wrapper.is-hoverable {
969 + cursor: var(--wpds-cursor-control, pointer);
970 +}
971 +
1209 972 .global-styles-ui-typography-preview {
1210 973 display: flex;
1211 974 align-items: center;
1212 975 justify-content: center;
@@ -1237,13 +1000,34 @@
1237 1000 justify-content: center;
1238 1001 border-radius: 2px;
1239 1002 }
1240 1003
1004 +.global-styles-ui-block-types-filter {
1005 + margin-bottom: 12px;
1006 + padding: 0 16px;
1007 +}
1008 +
1241 1009 .global-styles-ui-block-types-search {
1242 - margin-bottom: 10px;
1243 - padding: 0 16px;
1010 + flex-grow: 1;
1244 1011 }
1245 1012
1013 +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon {
1014 + min-width: 24px;
1015 +}
1016 +
1017 +.global-styles-ui-block-types-item-list__no-results {
1018 + padding-top: 16px;
1019 +}
1020 +
1021 +.global-styles-ui-block-types-item__indicator {
1022 + background: var(--wp-admin-theme-color);
1023 + border-radius: 50%;
1024 + flex: none;
1025 + height: 6px;
1026 + margin-right: auto;
1027 + width: 6px;
1028 +}
1029 +
1246 1030 .global-styles-ui-screen-typography__font-variants-count {
1247 1031 color: #757575;
1248 1032 }
1249 1033
@@ -1260,20 +1044,21 @@
1260 1044 }
1261 1045
1262 1046 .global-styles-ui-header {
1263 1047 margin-bottom: 0 !important;
1048 + line-height: 1.9 !important;
1264 1049 }
1265 1050
1266 1051 .global-styles-ui-subtitle {
1267 1052 margin-bottom: 0 !important;
1268 1053 text-transform: uppercase;
1269 - font-weight: 499 !important;
1054 + font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important;
1270 1055 font-size: 11px !important;
1271 1056 }
1272 1057
1273 1058 .global-styles-ui-section-title {
1274 1059 color: #2f2f2f;
1275 - font-weight: 600;
1060 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1276 1061 line-height: 1.2;
1277 1062 padding: 16px 16px 0;
1278 1063 margin: 0;
1279 1064 }
@@ -1284,10 +1069,20 @@
1284 1069
1285 1070 .global-styles-ui__color-indicator-wrapper {
1286 1071 height: 24px;
1287 1072 flex-shrink: 0;
1073 + display: flex;
1074 + align-items: center;
1288 1075 }
1289 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 +
1290 1085 .global-styles-ui__shadows-panel__options-container,
1291 1086 .global-styles-ui__typography-panel__options-container {
1292 1087 height: 24px;
1293 1088 }
@@ -1299,9 +1094,10 @@
1299 1094 border-radius: 2px;
1300 1095 overflow: hidden;
1301 1096 }
1302 1097
1303 -.global-styles-ui__shadow-preview-panel {
1098 +.global-styles-ui__shadow-preview-panel,
1099 +.global-styles-ui__text-shadow-preview-panel {
1304 1100 height: 144px;
1305 1101 border: #ddd 1px solid;
1306 1102 border-radius: 2px;
1307 1103 overflow: auto;
@@ -1309,9 +1105,9 @@
1309 1105 background-position: 0 0, 8px 8px;
1310 1106 background-size: 16px 16px;
1311 1107 }
1312 1108
1313 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1109 +.global-styles-ui__shadow-preview-block {
1314 1110 border: #ddd 1px solid;
1315 1111 border-radius: 2px;
1316 1112 background-color: #fff;
1317 1113 width: 60%;
@@ -1317,22 +1113,44 @@
1317 1113 width: 60%;
1318 1114 height: 60px;
1319 1115 }
1320 1116
1321 -.global-styles-ui__shadow-editor__dropdown-content {
1117 +.global-styles-ui__text-shadow-preview-panel {
1118 + margin-block: -8px 16px;
1119 +}
1120 +
1121 +.global-styles-ui__text-shadow-preview-text {
1122 + font-size: 24px;
1123 +}
1124 +
1125 +.global-styles-ui__text-shadow-editor__header {
1126 + margin-block-end: 8px;
1127 +}
1128 +
1129 +.global-styles-ui__text-shadow-editor__inputs {
1130 + display: grid;
1131 + grid-template-columns: repeat(2, 1fr);
1132 + gap: 16px;
1133 +}
1134 +
1135 +.global-styles-ui__shadow-editor__dropdown-content,
1136 +.global-styles-ui__text-shadow-editor__dropdown-content {
1322 1137 width: 280px;
1323 1138 }
1324 1139
1325 -.global-styles-ui__shadow-editor-panel {
1140 +.global-styles-ui__shadow-editor-panel,
1141 +.global-styles-ui__text-shadow-editor-panel {
1326 1142 margin-bottom: 4px;
1327 1143 }
1328 1144
1329 -.global-styles-ui__shadow-editor__dropdown {
1145 +.global-styles-ui__shadow-editor__dropdown,
1146 +.global-styles-ui__text-shadow-editor__dropdown {
1330 1147 width: 100%;
1331 1148 position: relative;
1332 1149 }
1333 1150
1334 -.global-styles-ui__shadow-editor__dropdown-toggle {
1151 +.global-styles-ui__shadow-editor__dropdown-toggle,
1152 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
1335 1153 width: 100%;
1336 1154 height: auto;
1337 1155 padding-top: 8px;
1338 1156 padding-bottom: 8px;
@@ -1339,14 +1157,16 @@
1339 1157 text-align: right;
1340 1158 border-radius: inherit;
1341 1159 }
1342 1160
1343 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
1161 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
1162 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
1344 1163 background: #f0f0f0;
1345 1164 color: var(--wp-admin-theme-color);
1346 1165 }
1347 1166
1348 -.global-styles-ui__shadow-editor__remove-button {
1167 +.global-styles-ui__shadow-editor__remove-button,
1168 +.global-styles-ui__text-shadow-editor__remove-button {
1349 1169 position: absolute;
1350 1170 left: 8px;
1351 1171 top: 8px;
1352 1172 opacity: 0;
@@ -1351,18 +1171,19 @@
1351 1171 top: 8px;
1352 1172 opacity: 0;
1353 1173 }
1354 1174
1355 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1356 - border: none;
1357 -}
1358 -
1359 -.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
1175 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover,
1176 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1177 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1178 +.global-styles-ui__text-shadow-editor__remove-button:focus,
1179 +.global-styles-ui__text-shadow-editor__remove-button:hover {
1360 1180 opacity: 1;
1361 1181 }
1362 1182
1363 1183 @media (hover: none) {
1364 - .global-styles-ui__shadow-editor__remove-button {
1184 + .global-styles-ui__shadow-editor__remove-button,
1185 + .global-styles-ui__text-shadow-editor__remove-button {
1365 1186 opacity: 1;
1366 1187 }
1367 1188 }
1368 1189 .global-styles-ui-screen-css {
@@ -1371,27 +1192,26 @@
1371 1192 flex-direction: column;
1372 1193 margin: 16px;
1373 1194 }
1374 1195
1375 -.global-styles-ui-screen-css .components-v-stack {
1196 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel {
1376 1197 flex: 1 1 auto;
1377 1198 }
1378 1199
1379 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
1200 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input {
1380 1201 flex: 1 1 auto;
1381 1202 display: flex;
1382 1203 flex-direction: column;
1383 1204 }
1384 1205
1385 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1206 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1386 1207 flex: 1 1 auto;
1387 1208 display: flex;
1388 1209 flex-direction: column;
1389 1210 }
1390 1211
1391 -.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 {
1212 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input textarea {
1392 1213 flex: 1 1 auto;
1393 - direction: ltr;
1394 1214 }
1395 1215
1396 1216 .global-styles-ui-screen-css-help-link {
1397 1217 display: inline-block;
@@ -1416,8 +1236,16 @@
1416 1236 flex-direction: column;
1417 1237 height: 100%;
1418 1238 }
1419 1239
1240 +.global-styles-ui-color-palette__tablist-container {
1241 + border-bottom: 1px solid #ddd;
1242 +}
1243 +
1244 +.global-styles-ui-color-palette__tablist {
1245 + margin-bottom: -1px;
1246 +}
1247 +
1420 1248 .global-styles-ui-sidebar__navigator-screen .single-column {
1421 1249 grid-column: span 1;
1422 1250 }
1423 1251
@@ -1439,14 +1267,15 @@
1439 1267 clip-path: border-box;
1440 1268 }
1441 1269
1442 1270 .global-styles-ui-color-palette-panel,
1443 -.global-styles-ui-gradient-palette-panel {
1271 +.global-styles-ui-gradient-palette-panel,
1272 +.global-styles-ui-duotone-palette-panel {
1444 1273 padding: 16px;
1445 1274 }
1446 1275
1447 1276 /**
1448 - * Colors
1277 + * Typography
1449 1278 */
1450 1279 /**
1451 1280 * SCSS Variables.
1452 1281 *
@@ -1454,8 +1283,11 @@
1454 1283 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
1455 1284 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
1456 1285 */
1457 1286 /**
1287 + * Colors
1288 + */
1289 +/**
1458 1290 * Fonts & basic variables.
1459 1291 */
1460 1292 /**
1461 1293 * Typography
@@ -1489,11 +1321,8 @@
1489 1321 * React Native specific.
1490 1322 * These variables do not appear to be used anywhere else.
1491 1323 */
1492 1324 /**
1493 - * Typography
1494 - */
1495 -/**
1496 1325 * Breakpoints & Media Queries
1497 1326 */
1498 1327 /**
1499 1328 * Converts a hex value into the rgb equivalent.
@@ -1513,8 +1342,14 @@
1513 1342 /**
1514 1343 * Focus styles.
1515 1344 */
1516 1345 /**
1346 + * Standard focus rings for the WordPress Design System.
1347 + *
1348 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
1349 + * e.g. `&:focus { @include outset-ring__focus(); }`.
1350 + */
1351 +/**
1517 1352 * Applies editor left position to the selector passed as argument
1518 1353 */
1519 1354 /**
1520 1355 * Styles that are reused verbatim in a few places
@@ -1535,23 +1370,24 @@
1535 1370 */
1536 1371 .dataviews-wrapper,
1537 1372 .dataviews-picker-wrapper {
1538 1373 height: 100%;
1374 + flex-grow: 1;
1375 + min-height: 0;
1539 1376 box-sizing: border-box;
1540 1377 scroll-padding-bottom: 64px;
1541 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1542 1378 container: dataviews-wrapper/inline-size;
1543 1379 display: flex;
1544 1380 flex-direction: column;
1545 - font-size: 13px;
1546 - line-height: 1.4;
1547 - background-color: var(--wp-dataviews-color-background, #fff);
1381 + font-size: var(--wpds-typography-font-size-md, 13px);
1382 + line-height: var(--wpds-typography-line-height-sm, 20px);
1383 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
1548 1384 }
1549 1385
1550 1386 .dataviews__view-actions,
1551 1387 .dataviews-filters__container {
1552 1388 box-sizing: border-box;
1553 - padding: 16px 24px;
1389 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
1554 1390 flex-shrink: 0;
1555 1391 position: sticky;
1556 1392 right: 0;
1557 1393 background-color: inherit;
@@ -1562,11 +1398,19 @@
1562 1398 .dataviews-filters__container {
1563 1399 transition: padding ease-out 0.1s;
1564 1400 }
1565 1401 }
1402 +.dataviews__search {
1403 + flex-grow: 1;
1404 +}
1405 +
1406 +.dataviews__search .dataviews-search {
1407 + flex-basis: 210px;
1408 +}
1409 +
1566 1410 .dataviews-no-results,
1567 1411 .dataviews-loading {
1568 - padding: 0 24px;
1412 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1569 1413 flex-grow: 1;
1570 1414 display: flex;
1571 1415 align-items: center;
1572 1416 justify-content: center;
@@ -1600,18 +1444,22 @@
1600 1444 .dataviews-loading-more {
1601 1445 text-align: center;
1602 1446 }
1603 1447
1448 +.dataviews-loading-more[aria-hidden=true] {
1449 + visibility: hidden;
1450 +}
1451 +
1604 1452 @container (max-width: 430px) {
1605 1453 .dataviews__view-actions,
1606 1454 .dataviews-filters__container {
1607 - padding: 12px 24px;
1455 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
1608 1456 }
1609 1457 }
1610 1458 .dataviews-title-field {
1611 - font-size: 13px;
1612 - font-weight: 499;
1613 - color: #2f2f2f;
1459 + font-size: var(--wpds-typography-font-size-md, 13px);
1460 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1461 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1614 1462 text-overflow: ellipsis;
1615 1463 white-space: nowrap;
1616 1464 width: 100%;
1617 1465 }
@@ -1622,13 +1470,13 @@
1622 1470 white-space: nowrap;
1623 1471 overflow: hidden;
1624 1472 display: block;
1625 1473 flex-grow: 0;
1626 - color: #2f2f2f;
1474 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1627 1475 }
1628 1476
1629 1477 .dataviews-title-field a:hover {
1630 - color: var(--wp-admin-theme-color);
1478 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1631 1479 }
1632 1480
1633 1481 .dataviews-title-field a:focus {
1634 1482 color: var(--wp-admin-theme-color--rgb);
@@ -1643,22 +1491,22 @@
1643 1491 white-space: nowrap;
1644 1492 overflow: hidden;
1645 1493 display: block;
1646 1494 width: 100%;
1647 - color: #1e1e1e;
1495 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1648 1496 }
1649 1497
1650 1498 .dataviews-title-field button.components-button.is-link:hover {
1651 - color: var(--wp-admin-theme-color);
1499 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1652 1500 }
1653 1501
1654 1502 .dataviews-title-field--clickable {
1655 1503 cursor: var(--wpds-cursor-control, pointer);
1656 - color: #2f2f2f;
1504 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1657 1505 }
1658 1506
1659 1507 .dataviews-title-field--clickable:hover {
1660 - color: var(--wp-admin-theme-color);
1508 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1661 1509 }
1662 1510
1663 1511 .dataviews-title-field--clickable:focus {
1664 1512 color: var(--wp-admin-theme-color--rgb);
@@ -1672,15 +1520,24 @@
1672 1520 z-index: 2;
1673 1521 background-color: #fff;
1674 1522 }
1675 1523
1524 +/**
1525 + * When DataViews are placed within cards, apply a consistent top padding.
1526 + */
1527 +.components-card__body:has(> .dataviews-wrapper),
1528 +.components-card__body:has(> .dataviews-picker-wrapper) {
1529 + padding: var(--wpds-dimension-padding-sm, 8px) 0 0;
1530 + overflow: hidden;
1531 +}
1532 +
1676 1533 .dataviews-bulk-actions-footer__item-count {
1677 - color: #1e1e1e;
1534 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1678 1535 }
1679 1536
1680 1537 .dataviews-bulk-actions-footer__container {
1681 1538 margin-left: auto;
1682 - min-height: 32px;
1539 + min-height: var(--wpds-dimension-size-md, 32px);
1683 1540 }
1684 1541
1685 1542 .dataviews-layout__container {
1686 1543 flex: 1;
@@ -1707,10 +1564,10 @@
1707 1564 opacity: 1;
1708 1565 }
1709 1566
1710 1567 .dataviews-filters__summary-popover {
1711 - font-size: 13px;
1712 - line-height: 1.4;
1568 + font-size: var(--wpds-typography-font-size-md, 13px);
1569 + line-height: var(--wpds-typography-line-height-sm, 20px);
1713 1570 }
1714 1571
1715 1572 .dataviews-filters__summary-popover .components-popover__content {
1716 1573 width: 100%;
@@ -1715,9 +1572,9 @@
1715 1572 .dataviews-filters__summary-popover .components-popover__content {
1716 1573 width: 100%;
1717 1574 min-width: 230px;
1718 1575 max-width: 250px;
1719 - border-radius: 4px;
1576 + border-radius: var(--wpds-border-radius-md, 4px);
1720 1577 }
1721 1578
1722 1579 .dataviews-filters__summary-popover.components-dropdown__content .components-popover__content {
1723 1580 padding: 0;
@@ -1723,13 +1580,13 @@
1723 1580 padding: 0;
1724 1581 }
1725 1582
1726 1583 .dataviews-filters__summary-operators-container {
1727 - padding: 8px 16px;
1584 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-lg, 16px);
1728 1585 }
1729 1586
1730 1587 .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) {
1731 - border-bottom: 1px solid #e0e0e0;
1588 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1732 1589 }
1733 1590
1734 1591 .dataviews-filters__summary-operators-container:empty {
1735 1592 display: none;
@@ -1735,9 +1592,9 @@
1735 1592 display: none;
1736 1593 }
1737 1594
1738 1595 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
1739 - color: #757575;
1596 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1740 1597 white-space: nowrap;
1741 1598 overflow: hidden;
1742 1599 text-overflow: ellipsis;
1743 1600 flex-shrink: 0; /* Prevents this element from shrinking */
@@ -1745,10 +1602,10 @@
1745 1602 }
1746 1603
1747 1604 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1748 1605 width: 100%;
1606 + min-width: 0;
1749 1607 white-space: nowrap;
1750 - overflow: hidden;
1751 1608 }
1752 1609
1753 1610 .dataviews-filters__summary-chip-container {
1754 1611 position: relative;
@@ -1755,15 +1612,14 @@
1755 1612 white-space: pre-wrap;
1756 1613 }
1757 1614
1758 1615 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
1759 - border-radius: 16px;
1760 - border: 1px solid transparent;
1616 + border-radius: var(--wpds-border-radius-lg, 8px);
1617 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1761 1618 cursor: var(--wpds-cursor-control, pointer);
1762 - padding: 4px 12px;
1763 - min-height: 32px;
1764 - background: #f0f0f0;
1765 - color: #2f2f2f;
1619 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1620 + min-height: var(--wpds-dimension-size-md, 32px);
1621 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1766 1622 position: relative;
1767 1623 display: flex;
1768 1624 align-items: center;
1769 1625 box-sizing: border-box;
@@ -1773,42 +1629,46 @@
1773 1629 cursor: default;
1774 1630 }
1775 1631
1776 1632 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
1777 - padding-inline-end: 28px;
1633 + padding-inline-end: calc(var(--wpds-dimension-size-sm, 24px) + var(--wpds-dimension-padding-xs, 4px));
1778 1634 }
1779 1635
1780 1636 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
1781 - background: #e0e0e0;
1782 - color: #1e1e1e;
1637 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1638 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1639 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1783 1640 }
1784 1641
1785 1642 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
1786 - color: var(--wp-admin-theme-color);
1787 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1643 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1644 + background: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
1645 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1788 1646 }
1789 1647
1790 -.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] {
1791 - background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
1648 +.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
1649 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1650 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1651 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1792 1652 }
1793 1653
1794 1654 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
1795 1655 outline: none;
1796 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1656 + box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1797 1657 }
1798 1658
1799 1659 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
1800 - font-weight: 499;
1660 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1801 1661 }
1802 1662
1803 1663 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
1804 - width: 24px;
1805 - height: 24px;
1806 - border-radius: 50%;
1664 + width: var(--wpds-dimension-size-sm, 24px);
1665 + height: var(--wpds-dimension-size-sm, 24px);
1666 + border-radius: var(--wpds-border-radius-md, 4px);
1807 1667 border: 0;
1808 1668 padding: 0;
1809 1669 position: absolute;
1810 - left: 4px;
1670 + left: var(--wpds-dimension-padding-xs, 4px);
1811 1671 top: 50%;
1812 1672 transform: translateY(-50%);
1813 1673 display: flex;
1814 1674 align-items: center;
@@ -1817,45 +1677,45 @@
1817 1677 cursor: var(--wpds-cursor-control, pointer);
1818 1678 }
1819 1679
1820 1680 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1821 - fill: #757575;
1681 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1822 1682 }
1823 1683
1824 1684 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1825 - background: #e0e0e0;
1685 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1826 1686 }
1827 1687
1828 1688 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
1829 - fill: #1e1e1e;
1689 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1830 1690 }
1831 1691
1832 1692 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1833 - fill: var(--wp-admin-theme-color);
1693 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1834 1694 }
1835 1695
1836 1696 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1837 - background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
1697 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1838 1698 }
1839 1699
1840 1700 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
1841 1701 outline: none;
1842 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1702 + box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1843 1703 }
1844 1704
1845 1705 .dataviews-filters__search-widget-filter-combobox-list {
1846 1706 max-height: 184px;
1847 - padding: 4px;
1707 + padding: var(--wpds-dimension-padding-xs, 4px);
1848 1708 overflow: auto;
1849 - border-top: 1px solid #e0e0e0;
1709 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1850 1710 }
1851 1711
1852 1712 .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
1853 - font-weight: 600;
1713 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1854 1714 }
1855 1715
1856 1716 .dataviews-filters__search-widget-listbox {
1857 - padding: 4px;
1717 + padding: var(--wpds-dimension-padding-xs, 4px);
1858 1718 overflow: auto;
1859 1719 }
1860 1720
1861 1721 .dataviews-filters__search-widget-listitem {
@@ -1860,18 +1720,19 @@
1860 1720
1861 1721 .dataviews-filters__search-widget-listitem {
1862 1722 display: flex;
1863 1723 align-items: center;
1864 - gap: 8px;
1865 - border-radius: 2px;
1724 + gap: var(--wpds-dimension-gap-md, 12px);
1725 + border-radius: var(--wpds-border-radius-sm, 2px);
1866 1726 box-sizing: border-box;
1867 - padding: 4px 12px;
1727 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1868 1728 cursor: default;
1869 - min-height: 32px;
1870 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1871 - font-weight: 400;
1729 + min-height: var(--wpds-dimension-size-md, 32px);
1730 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1731 + font-weight: var(--wpds-typography-font-weight-default, 400);
1872 1732 font-size: 13px;
1873 1733 line-height: 20px;
1734 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1874 1735 }
1875 1736
1876 1737 .dataviews-filters__search-widget-listitem:last-child {
1877 1738 margin-block-end: 0;
@@ -1877,35 +1738,37 @@
1877 1738 margin-block-end: 0;
1878 1739 }
1879 1740
1880 1741 .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
1881 - background-color: var(--wp-admin-theme-color);
1882 - color: #fff;
1742 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1743 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1883 1744 }
1884 1745
1885 -.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 {
1886 - color: #fff;
1887 -}
1888 -
1889 1746 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
1890 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1891 - background: #fff;
1747 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1748 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
1892 1749 }
1893 1750
1894 1751 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1895 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1896 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1752 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1753 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1897 1754 }
1898 1755
1899 1756 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection {
1900 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1757 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
1758 + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1759 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1901 1760 }
1902 1761
1903 1762 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1904 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1905 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1763 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1764 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1906 1765 }
1907 1766
1767 +.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
1768 + color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
1769 +}
1770 +
1908 1771 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
1909 1772 overflow: hidden;
1910 1773 text-overflow: ellipsis;
1911 1774 white-space: nowrap;
@@ -1915,11 +1778,11 @@
1915 1778 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
1916 1779 display: block;
1917 1780 overflow: hidden;
1918 1781 text-overflow: ellipsis;
1919 - font-size: 12px;
1782 + font-size: var(--wpds-typography-font-size-sm, 12px);
1920 1783 line-height: 16px;
1921 - color: #757575;
1784 + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1922 1785 }
1923 1786
1924 1787 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1925 1788 border: 1px solid #1e1e1e;
@@ -1980,10 +1843,10 @@
1980 1843 padding: 0;
1981 1844 }
1982 1845
1983 1846 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1984 - background: var(--wp-admin-theme-color, #3858e9);
1985 - border-color: var(--wp-admin-theme-color, #3858e9);
1847 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1848 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1986 1849 }
1987 1850
1988 1851 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
1989 1852 content: "";
@@ -1995,10 +1858,10 @@
1995 1858 top: 50%;
1996 1859 right: 50%;
1997 1860 transform: translate(50%, -50%);
1998 1861 margin: 0;
1999 - background-color: #fff;
2000 - border: 4px solid #fff;
1862 + background-color: var(--wpds-color-foreground-interactive-brand-strong, #fff);
1863 + border: 4px solid var(--wpds-color-foreground-interactive-brand-strong, #fff);
2001 1864 }
2002 1865
2003 1866 @media (min-width: 600px) {
2004 1867 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
@@ -2008,28 +1871,22 @@
2008 1871 }
2009 1872 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2010 1873 --checkbox-size: 24px;
2011 1874 flex-shrink: 0;
2012 - border: 1px solid #1e1e1e;
1875 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2013 1876 margin-left: 12px;
2014 1877 transition: none;
2015 1878 border-radius: 2px;
2016 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1879 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2017 1880 padding: 6px 8px;
2018 1881 /* Fonts smaller than 16px causes mobile safari to zoom. */
2019 1882 font-size: 16px;
2020 1883 /* Override core line-height. To be reviewed. */
2021 1884 line-height: normal;
2022 - box-shadow: 0 0 0 transparent;
2023 - border-radius: 2px;
2024 - border: 1px solid #949494;
1885 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1886 + border-radius: var(--wpds-border-radius-sm, 2px);
2025 1887 }
2026 1888
2027 -@media not (prefers-reduced-motion) {
2028 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2029 - transition: box-shadow 0.1s linear;
2030 - }
2031 -}
2032 1889 @media (min-width: 600px) {
2033 1890 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2034 1891 font-size: 13px;
2035 1892 /* Override core line-height. To be reviewed. */
@@ -2035,12 +1892,17 @@
2035 1892 /* Override core line-height. To be reviewed. */
2036 1893 line-height: normal;
2037 1894 }
2038 1895 }
1896 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1897 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1898 +}
1899 +
2039 1900 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
2040 - border-color: var(--wp-admin-theme-color);
2041 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2042 - outline: 2px solid transparent;
1901 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1902 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1903 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1904 + box-shadow: none;
2043 1905 }
2044 1906
2045 1907 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
2046 1908 color: rgba(30, 30, 30, 0.62);
@@ -2045,8 +1907,12 @@
2045 1907 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
2046 1908 color: rgba(30, 30, 30, 0.62);
2047 1909 }
2048 1910
1911 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1912 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
1913 +}
1914 +
2049 1915 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
2050 1916 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
2051 1917 outline: 2px solid transparent;
2052 1918 }
@@ -2077,9 +1943,9 @@
2077 1943 display: inline-block;
2078 1944 vertical-align: middle;
2079 1945 width: 16px;
2080 1946 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
2081 - font: normal 30px/1 dashicons;
1947 + font: 400 30px/1 dashicons;
2082 1948 speak: none;
2083 1949 -webkit-font-smoothing: antialiased;
2084 1950 -moz-osx-font-smoothing: grayscale;
2085 1951 }
@@ -2090,18 +1956,24 @@
2090 1956 font-size: 21px;
2091 1957 }
2092 1958 }
2093 1959 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true], .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled {
2094 - background: #f0f0f0;
2095 - border-color: #ddd;
1960 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
1961 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1962 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
2096 1963 cursor: default;
2097 1964 opacity: 1;
2098 1965 }
2099 1966
1967 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true]:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true][aria-checked=mixed]::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled[aria-checked=mixed]::before {
1968 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1969 +}
1970 +
2100 1971 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2101 1972 position: relative;
2102 - background: #fff;
2103 - color: #1e1e1e;
1973 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
1974 + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1975 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2104 1976 margin: 0;
2105 1977 padding: 0;
2106 1978 width: var(--checkbox-size);
2107 1979 height: var(--checkbox-size);
@@ -2117,15 +1989,15 @@
2117 1989 transition: 0.1s border-color ease-in-out;
2118 1990 }
2119 1991 }
2120 1992 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
2121 - background: var(--wp-admin-theme-color, #3858e9);
2122 - border-color: var(--wp-admin-theme-color, #3858e9);
1993 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1994 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2123 1995 }
2124 1996
2125 1997 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
2126 1998 --checkmark-size: var(--checkbox-size);
2127 - fill: #fff;
1999 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2128 2000 position: absolute;
2129 2001 right: 50%;
2130 2002 top: 50%;
2131 2003 transform: translate(50%, -50%);
@@ -2139,28 +2011,22 @@
2139 2011 }
2140 2012 }
2141 2013 .dataviews-filters__search-widget-filter-combobox__wrapper {
2142 2014 position: relative;
2143 - padding: 8px;
2015 + padding: var(--wpds-dimension-padding-sm, 8px);
2144 2016 }
2145 2017
2146 2018 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2147 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2019 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2148 2020 padding: 6px 8px;
2149 2021 /* Fonts smaller than 16px causes mobile safari to zoom. */
2150 2022 font-size: 16px;
2151 2023 /* Override core line-height. To be reviewed. */
2152 2024 line-height: normal;
2153 - box-shadow: 0 0 0 transparent;
2154 - border-radius: 2px;
2155 - border: 1px solid #949494;
2025 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2026 + border-radius: var(--wpds-border-radius-sm, 2px);
2156 2027 }
2157 2028
2158 -@media not (prefers-reduced-motion) {
2159 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2160 - transition: box-shadow 0.1s linear;
2161 - }
2162 -}
2163 2029 @media (min-width: 600px) {
2164 2030 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2165 2031 font-size: 13px;
2166 2032 /* Override core line-height. To be reviewed. */
@@ -2166,12 +2032,17 @@
2166 2032 /* Override core line-height. To be reviewed. */
2167 2033 line-height: normal;
2168 2034 }
2169 2035 }
2036 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) {
2037 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2038 +}
2039 +
2170 2040 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2171 - border-color: var(--wp-admin-theme-color);
2172 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2173 - outline: 2px solid transparent;
2041 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
2042 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2043 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2044 + box-shadow: none;
2174 2045 }
2175 2046
2176 2047 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2177 2048 color: rgba(30, 30, 30, 0.62);
@@ -2178,11 +2049,11 @@
2178 2049 }
2179 2050
2180 2051 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2181 2052 display: block;
2182 - padding: 0 32px 0 8px;
2053 + padding: 0 var(--wpds-dimension-size-md, 32px) 0 var(--wpds-dimension-padding-sm, 8px);
2183 2054 width: 100%;
2184 - height: 32px;
2055 + height: var(--wpds-dimension-size-md, 32px);
2185 2056 margin-right: 0;
2186 2057 margin-left: 0;
2187 2058 /* Fonts smaller than 16px causes mobile safari to zoom. */
2188 2059 font-size: 16px;
@@ -2189,18 +2060,17 @@
2189 2060 }
2190 2061
2191 2062 @media (min-width: 600px) {
2192 2063 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2193 - font-size: 13px;
2064 + font-size: var(--wpds-typography-font-size-md, 13px);
2194 2065 }
2195 2066 }
2196 2067 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2197 - background: #fff;
2198 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2068 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
2199 2069 }
2200 2070
2201 2071 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2202 - color: #757575;
2072 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2203 2073 }
2204 2074
2205 2075 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-decoration {
2206 2076 -webkit-appearance: none;
@@ -2207,15 +2077,15 @@
2207 2077 }
2208 2078
2209 2079 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
2210 2080 position: absolute;
2211 - inset-inline-start: 12px;
2081 + inset-inline-start: var(--wpds-dimension-gap-md, 12px);
2212 2082 top: 0;
2213 2083 bottom: 0;
2214 2084 display: flex;
2215 2085 align-items: center;
2216 2086 justify-content: center;
2217 - width: 24px;
2087 + width: var(--wpds-dimension-size-sm, 24px);
2218 2088 }
2219 2089
2220 2090 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) {
2221 2091 transform: scaleX(-1);
@@ -2230,31 +2100,27 @@
2230 2100 position: absolute;
2231 2101 top: 0;
2232 2102 left: 0;
2233 2103 transform: translate(-50%, -50%);
2234 - background: var(--wp-admin-theme-color, #3858e9);
2235 - height: 16px;
2236 - min-width: 16px;
2237 - line-height: 16px;
2238 - padding: 0 4px;
2104 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2105 + height: var(--wpds-dimension-size-2xs, 16px);
2106 + min-width: var(--wpds-dimension-size-2xs, 16px);
2107 + line-height: var(--wpds-typography-line-height-xs, 16px);
2108 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2239 2109 text-align: center;
2240 - border-radius: 8px;
2110 + border-radius: var(--wpds-border-radius-lg, 8px);
2241 2111 font-size: 11px;
2242 - outline: var(--wp-admin-border-width-focus) solid #fff;
2243 - color: #fff;
2112 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-background-surface-neutral-strong, #fff);
2113 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2244 2114 box-sizing: border-box;
2245 2115 }
2246 2116
2247 -.dataviews-search {
2248 - width: fit-content;
2249 -}
2250 -
2251 2117 .dataviews-filters__user-input-widget {
2252 - padding: 16px;
2118 + padding: var(--wpds-dimension-padding-lg, 16px);
2253 2119 }
2254 2120
2255 2121 .dataviews-filters__user-input-widget .components-input-control__prefix {
2256 - padding-right: 8px;
2122 + padding-right: var(--wpds-dimension-padding-sm, 8px);
2257 2123 }
2258 2124
2259 2125 .dataviews-filters__search-widget-no-elements {
2260 2126 display: flex;
@@ -2259,9 +2125,9 @@
2259 2125 .dataviews-filters__search-widget-no-elements {
2260 2126 display: flex;
2261 2127 align-items: center;
2262 2128 justify-content: center;
2263 - padding: 16px;
2129 + padding: var(--wpds-dimension-padding-lg, 16px);
2264 2130 }
2265 2131
2266 2132 .dataviews-footer {
2267 2133 position: sticky;
@@ -2267,10 +2133,10 @@
2267 2133 position: sticky;
2268 2134 bottom: 0;
2269 2135 right: 0;
2270 2136 background-color: inherit;
2271 - padding: 12px 24px;
2272 - border-top: 1px solid #f0f0f0;
2137 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
2138 + border-top: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2273 2139 flex-shrink: 0;
2274 2140 }
2275 2141
2276 2142 @media not (prefers-reduced-motion) {
@@ -2278,9 +2144,9 @@
2278 2144 transition: padding ease-out 0.1s;
2279 2145 }
2280 2146 }
2281 2147 .dataviews-footer {
2282 - z-index: 2;
2148 + z-index: 1;
2283 2149 }
2284 2150
2285 2151 .dataviews-footer .is-refreshing {
2286 2152 opacity: 0.5;
@@ -2309,9 +2175,9 @@
2309 2175 }
2310 2176 }
2311 2177 .dataviews-pagination__page-select {
2312 2178 font-size: 11px;
2313 - font-weight: 499;
2179 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2314 2180 text-transform: uppercase;
2315 2181 }
2316 2182
2317 2183 @media (min-width: 600px) {
@@ -2316,9 +2182,9 @@
2316 2182
2317 2183 @media (min-width: 600px) {
2318 2184 .dataviews-pagination__page-select .components-select-control__input {
2319 2185 font-size: 11px !important;
2320 - font-weight: 499;
2186 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2321 2187 }
2322 2188 }
2323 2189 .dataviews-action-modal {
2324 2190 z-index: 1000001;
@@ -2324,9 +2190,9 @@
2324 2190 z-index: 1000001;
2325 2191 }
2326 2192
2327 2193 .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
2328 - padding: 0 4px;
2194 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2329 2195 }
2330 2196
2331 2197 .dataviews-selection-checkbox {
2332 2198 --checkbox-input-size: 24px;
@@ -2347,12 +2213,11 @@
2347 2213 }
2348 2214
2349 2215 .dataviews-view-config {
2350 2216 width: 320px;
2351 - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
2352 2217 container-type: inline-size;
2353 - font-size: 13px;
2354 - line-height: 1.4;
2218 + font-size: var(--wpds-typography-font-size-md, 13px);
2219 + line-height: var(--wpds-typography-line-height-sm, 20px);
2355 2220 }
2356 2221
2357 2222 .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper {
2358 2223 overflow-y: scroll;
@@ -2367,9 +2232,9 @@
2367 2232 text-transform: uppercase;
2368 2233 }
2369 2234
2370 2235 .dataviews-settings-section__title.dataviews-settings-section__title {
2371 - line-height: 24px;
2236 + line-height: var(--wpds-typography-line-height-md, 24px);
2372 2237 font-size: 15px;
2373 2238 }
2374 2239
2375 2240 .dataviews-settings-section__sidebar {
@@ -2418,13 +2283,13 @@
2418 2283 }
2419 2284
2420 2285 .dataviews-view-config__modified-indicator {
2421 2286 position: absolute;
2422 - top: 4px;
2423 - left: 4px;
2424 - width: 4px;
2425 - height: 4px;
2426 - background: var(--wp-admin-theme-color, #3858e9);
2287 + top: var(--wpds-dimension-gap-xs, 4px);
2288 + left: var(--wpds-dimension-gap-xs, 4px);
2289 + width: var(--wpds-dimension-gap-xs, 4px);
2290 + height: var(--wpds-dimension-gap-xs, 4px);
2291 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2427 2292 border-radius: 50%;
2428 2293 pointer-events: none;
2429 2294 }
2430 2295
@@ -2430,12 +2295,12 @@
2430 2295
2431 2296 .dataviews-view-grid-items {
2432 2297 margin-bottom: auto;
2433 2298 display: grid;
2434 - gap: 24px;
2299 + gap: var(--wpds-dimension-gap-xl, 24px);
2435 2300 grid-template-rows: max-content;
2436 2301 grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
2437 - padding: 0 24px 24px;
2302 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2438 2303 container-type: inline-size;
2439 2304 }
2440 2305
2441 2306 @media not (prefers-reduced-motion) {
@@ -2443,20 +2308,20 @@
2443 2308 transition: padding ease-out 0.1s;
2444 2309 }
2445 2310 }
2446 2311 .dataviews-view-grid-items.has-compact-density {
2447 - gap: 16px;
2312 + gap: var(--wpds-dimension-gap-lg, 16px);
2448 2313 }
2449 2314
2450 2315 .dataviews-view-grid-items.has-comfortable-density {
2451 - gap: 32px;
2316 + gap: var(--wpds-dimension-gap-2xl, 32px);
2452 2317 }
2453 2318
2454 2319 .dataviews-view-grid {
2455 - padding: 0 24px 24px;
2320 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2456 2321 display: flex;
2457 2322 flex-direction: column;
2458 - gap: 24px;
2323 + gap: var(--wpds-dimension-gap-xl, 24px);
2459 2324 container-type: inline-size;
2460 2325 margin-bottom: auto;
2461 2326 }
2462 2327
@@ -2465,30 +2330,30 @@
2465 2330 transition: padding ease-out 0.1s;
2466 2331 }
2467 2332 }
2468 2333 .dataviews-view-grid.has-compact-density {
2469 - gap: 16px;
2334 + gap: var(--wpds-dimension-gap-lg, 16px);
2470 2335 }
2471 2336
2472 2337 .dataviews-view-grid.has-compact-density .dataviews-view-grid__row {
2473 - gap: 16px;
2338 + gap: var(--wpds-dimension-gap-lg, 16px);
2474 2339 }
2475 2340
2476 2341 .dataviews-view-grid.has-comfortable-density {
2477 - gap: 32px;
2342 + gap: var(--wpds-dimension-gap-2xl, 32px);
2478 2343 }
2479 2344
2480 2345 .dataviews-view-grid.has-comfortable-density .dataviews-view-grid__row {
2481 - gap: 32px;
2346 + gap: var(--wpds-dimension-gap-2xl, 32px);
2482 2347 }
2483 2348
2484 2349 .dataviews-view-grid .dataviews-view-grid__row {
2485 2350 display: grid;
2486 - gap: 24px;
2351 + gap: var(--wpds-dimension-gap-xl, 24px);
2487 2352 }
2488 2353
2489 2354 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell {
2490 - border-radius: 4px;
2355 + border-radius: var(--wpds-border-radius-md, 4px);
2491 2356 position: relative;
2492 2357 }
2493 2358
2494 2359 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell[data-focus-visible]::after {
@@ -2497,10 +2362,10 @@
2497 2362 top: 0;
2498 2363 right: 0;
2499 2364 width: 100%;
2500 2365 height: 100%;
2501 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2502 - border-radius: 4px;
2366 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2367 + border-radius: var(--wpds-border-radius-md, 4px);
2503 2368 pointer-events: none;
2504 2369 outline: 2px solid transparent;
2505 2370 }
2506 2371
@@ -2508,18 +2373,19 @@
2508 2373 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card {
2509 2374 height: 100%;
2510 2375 justify-content: flex-start;
2511 2376 position: relative;
2377 + isolation: isolate;
2512 2378 }
2513 2379
2514 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title,
2515 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title {
2516 - padding: 8px 0 4px;
2380 +.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions,
2381 +.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-actions {
2382 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
2517 2383 }
2518 2384
2519 2385 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field,
2520 2386 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field {
2521 - min-height: 24px;
2387 + min-height: var(--wpds-dimension-size-sm, 24px);
2522 2388 overflow: hidden;
2523 2389 align-content: center;
2524 2390 text-align: start;
2525 2391 }
@@ -2530,34 +2396,27 @@
2530 2396 }
2531 2397
2532 2398 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
2533 2399 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
2534 - color: #1e1e1e;
2400 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2535 2401 }
2536 2402
2537 2403 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2538 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2539 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2540 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2541 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2542 -}
2543 -
2544 -.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2545 2404 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
2546 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
2405 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
2547 2406 }
2548 2407
2549 2408 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2550 2409 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2551 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2410 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2552 2411 }
2553 2412
2554 2413 .dataviews-view-grid .dataviews-view-grid__media,
2555 2414 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
2556 2415 width: 100%;
2557 - aspect-ratio: 1/1;
2558 - background-color: #fff;
2559 - border-radius: 4px;
2416 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2417 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2418 + border-radius: var(--wpds-border-radius-md, 4px);
2560 2419 overflow: hidden;
2561 2420 position: relative;
2562 2421 }
2563 2422
@@ -2580,10 +2439,10 @@
2580 2439 top: 0;
2581 2440 right: 0;
2582 2441 width: 100%;
2583 2442 height: 100%;
2584 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2585 - border-radius: 4px;
2443 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2444 + border-radius: var(--wpds-border-radius-md, 4px);
2586 2445 pointer-events: none;
2587 2446 }
2588 2447
2589 2448 .dataviews-view-grid .dataviews-view-grid__media .dataviews-view-grid__media-placeholder,
@@ -2590,13 +2449,23 @@
2590 2449 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media .dataviews-view-grid__media-placeholder {
2591 2450 width: 100%;
2592 2451 height: 100%;
2593 2452 display: block;
2594 - border-radius: 4px;
2453 + border-radius: var(--wpds-border-radius-md, 4px);
2595 2454 box-shadow: none;
2596 - background: #f0f0f0;
2455 + background: var(--wpds-color-background-surface-neutral, #fcfcfc);
2597 2456 }
2598 2457
2458 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
2459 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
2460 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2461 +}
2462 +
2463 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
2464 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
2465 + object-fit: contain;
2466 +}
2467 +
2599 2468 .dataviews-view-grid .dataviews-view-grid__fields,
2600 2469 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
2601 2470 position: relative;
2602 2471 font-size: 12px;
@@ -2604,21 +2473,21 @@
2604 2473 }
2605 2474
2606 2475 .dataviews-view-grid .dataviews-view-grid__fields:not(:empty),
2607 2476 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields:not(:empty) {
2608 - padding: 0 0 12px;
2477 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
2609 2478 }
2610 2479
2611 2480 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty),
2612 2481 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
2613 - min-height: 24px;
2614 - line-height: 20px;
2615 - padding-top: 2px;
2482 + min-height: var(--wpds-dimension-size-sm, 24px);
2483 + line-height: var(--wpds-typography-line-height-sm, 20px);
2484 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
2616 2485 }
2617 2486
2618 2487 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
2619 2488 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field {
2620 - min-height: 24px;
2489 + min-height: var(--wpds-dimension-size-sm, 24px);
2621 2490 align-items: center;
2622 2491 }
2623 2492
2624 2493 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
@@ -2623,9 +2492,9 @@
2623 2492
2624 2493 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
2625 2494 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
2626 2495 width: 35%;
2627 - color: #757575;
2496 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2628 2497 overflow: hidden;
2629 2498 text-overflow: ellipsis;
2630 2499 white-space: nowrap;
2631 2500 }
@@ -2644,9 +2513,9 @@
2644 2513 }
2645 2514
2646 2515 .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty),
2647 2516 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__badge-fields:not(:empty) {
2648 - padding-bottom: 12px;
2517 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
2649 2518 }
2650 2519
2651 2520 .dataviews-view-grid.is-refreshing,
2652 2521 .dataviews-view-grid-infinite-scroll.is-refreshing {
@@ -2668,9 +2537,9 @@
2668 2537
2669 2538 .dataviews-view-grid__card .dataviews-selection-checkbox {
2670 2539 position: absolute;
2671 2540 top: -9999em;
2672 - right: 8px;
2541 + right: var(--wpds-dimension-padding-sm, 8px);
2673 2542 z-index: 1;
2674 2543 opacity: 0;
2675 2544 }
2676 2545
@@ -2681,9 +2550,9 @@
2681 2550 }
2682 2551 @media (hover: none) {
2683 2552 .dataviews-view-grid__card .dataviews-selection-checkbox {
2684 2553 opacity: 1;
2685 - top: 8px;
2554 + top: var(--wpds-dimension-padding-sm, 8px);
2686 2555 }
2687 2556 }
2688 2557 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2689 2558 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
@@ -2688,21 +2557,21 @@
2688 2557 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2689 2558 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
2690 2559 .dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
2691 2560 opacity: 1;
2692 - top: 8px;
2561 + top: var(--wpds-dimension-padding-sm, 8px);
2693 2562 }
2694 2563
2695 2564 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2696 2565 position: absolute;
2697 2566 z-index: 1;
2698 - top: 4px;
2567 + top: var(--wpds-dimension-padding-xs, 4px);
2699 2568 opacity: 0;
2700 - left: 4px;
2569 + left: var(--wpds-dimension-padding-xs, 4px);
2701 2570 }
2702 2571
2703 2572 .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
2704 - background-color: #fff;
2573 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2705 2574 }
2706 2575
2707 2576 @media not (prefers-reduced-motion) {
2708 2577 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
@@ -2711,9 +2580,9 @@
2711 2580 }
2712 2581 @media (hover: none) {
2713 2582 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2714 2583 opacity: 1;
2715 - top: 4px;
2584 + top: var(--wpds-dimension-padding-xs, 4px);
2716 2585 }
2717 2586 }
2718 2587 .dataviews-view-grid__card:hover .dataviews-view-grid__media-actions,
2719 2588 .dataviews-view-grid__card:focus-within .dataviews-view-grid__media-actions,
@@ -2725,13 +2594,13 @@
2725 2594 cursor: var(--wpds-cursor-control, pointer);
2726 2595 }
2727 2596
2728 2597 .dataviews-view-grid__group-header {
2729 - font-size: 15px;
2730 - font-weight: 499;
2731 - color: #1e1e1e;
2732 - margin: 0 0 8px 0;
2733 - padding: 0 24px;
2598 + font-size: var(--wpds-typography-font-size-lg, 15px);
2599 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2600 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2601 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2602 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2734 2603 container-type: inline-size;
2735 2604 }
2736 2605
2737 2606 div.dataviews-view-list {
@@ -2744,15 +2613,15 @@
2744 2613
2745 2614 .dataviews-view-list div[role=row],
2746 2615 .dataviews-view-list div[role=article] {
2747 2616 margin: 0;
2748 - border-top: 1px solid #f0f0f0;
2617 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2749 2618 }
2750 2619
2751 2620 .dataviews-view-list div[role=row] .dataviews-view-list__item-wrapper,
2752 2621 .dataviews-view-list div[role=article] .dataviews-view-list__item-wrapper {
2753 2622 position: relative;
2754 - padding: 16px 24px;
2623 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
2755 2624 box-sizing: border-box;
2756 2625 }
2757 2626
2758 2627 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
@@ -2759,9 +2628,9 @@
2759 2628 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2760 2629 display: flex;
2761 2630 width: max-content;
2762 2631 flex: 0 0 auto;
2763 - gap: 4px;
2632 + gap: var(--wpds-dimension-gap-xs, 4px);
2764 2633 white-space: nowrap;
2765 2634 }
2766 2635
2767 2636 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions .components-button,
@@ -2771,9 +2640,9 @@
2771 2640 }
2772 2641
2773 2642 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div,
2774 2643 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div {
2775 - height: 24px;
2644 + height: var(--wpds-dimension-size-sm, 24px);
2776 2645 }
2777 2646
2778 2647 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
2779 2648 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
@@ -2798,15 +2667,15 @@
2798 2667 }
2799 2668 }
2800 2669 .dataviews-view-list div[role=row].is-selected.is-selected,
2801 2670 .dataviews-view-list div[role=article].is-selected.is-selected {
2802 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2671 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2803 2672 }
2804 2673
2805 2674 .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],
2806 2675 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=row],
2807 2676 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=article] {
2808 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2677 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2809 2678 }
2810 2679
2811 2680 .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within,
2812 2681 .dataviews-view-list div[role=article]:not(.is-selected):hover,
@@ -2811,23 +2680,11 @@
2811 2680 .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within,
2812 2681 .dataviews-view-list div[role=article]:not(.is-selected):hover,
2813 2682 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2814 2683 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2815 - color: var(--wp-admin-theme-color);
2816 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
2817 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2684 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
2818 2685 }
2819 2686
2820 -.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],
2821 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=row],
2822 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=article],
2823 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=row],
2824 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=article],
2825 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=row],
2826 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=article] {
2827 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2828 -}
2829 -
2830 2687 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
2831 2688 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-title-field,
2832 2689 .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,
2833 2690 .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-view-list__field,
@@ -2836,9 +2693,9 @@
2836 2693 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
2837 2694 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
2838 2695 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
2839 2696 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
2840 - color: var(--wp-admin-theme-color);
2697 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2841 2698 }
2842 2699
2843 2700 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2844 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -2843,10 +2700,10 @@
2843 2700 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2844 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2845 2702 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2846 2703 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2847 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2848 - color: #1e1e1e;
2704 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2705 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2849 2706 }
2850 2707
2851 2708 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2852 2709 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -2855,9 +2712,9 @@
2855 2712 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2856 2713 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
2857 2714 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
2858 2715 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
2859 - color: #1e1e1e;
2716 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2860 2717 }
2861 2718
2862 2719 .dataviews-view-list .dataviews-view-list__item {
2863 2720 position: absolute;
@@ -2862,9 +2719,9 @@
2862 2719 .dataviews-view-list .dataviews-view-list__item {
2863 2720 position: absolute;
2864 2721 z-index: 1;
2865 2722 inset: 0;
2866 - scroll-margin: 8px 0;
2723 + scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
2867 2724 appearance: none;
2868 2725 border: none;
2869 2726 background: none;
2870 2727 padding: 0;
@@ -2878,17 +2735,17 @@
2878 2735 .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
2879 2736 position: absolute;
2880 2737 content: "";
2881 2738 inset: var(--wp-admin-border-width-focus);
2882 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2883 - border-radius: 2px;
2739 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2740 + border-radius: var(--wpds-border-radius-sm, 2px);
2884 2741 outline: 2px solid transparent;
2885 2742 }
2886 2743
2887 2744 .dataviews-view-list .dataviews-view-list__title-field {
2888 2745 flex: 1;
2889 - min-height: 24px;
2890 - line-height: 24px;
2746 + min-height: var(--wpds-dimension-size-sm, 24px);
2747 + line-height: var(--wpds-typography-line-height-md, 24px);
2891 2748 overflow: hidden;
2892 2749 }
2893 2750
2894 2751 .dataviews-view-list .dataviews-view-list__title-field:has(a, button) {
@@ -2895,15 +2752,15 @@
2895 2752 z-index: 1;
2896 2753 }
2897 2754
2898 2755 .dataviews-view-list .dataviews-view-list__media-wrapper {
2899 - width: 52px;
2900 - height: 52px;
2756 + width: 48px;
2757 + height: 48px;
2901 2758 overflow: hidden;
2902 2759 position: relative;
2903 2760 flex-shrink: 0;
2904 - background-color: #fff;
2905 - border-radius: 4px;
2761 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2762 + border-radius: var(--wpds-border-radius-md, 4px);
2906 2763 }
2907 2764
2908 2765 .dataviews-view-list .dataviews-view-list__media-wrapper img {
2909 2766 width: 100%;
@@ -2917,25 +2774,26 @@
2917 2774 top: 0;
2918 2775 right: 0;
2919 2776 width: 100%;
2920 2777 height: 100%;
2921 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2922 - border-radius: 4px;
2778 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2779 + border-radius: var(--wpds-border-radius-md, 4px);
2923 2780 }
2924 2781
2925 2782 .dataviews-view-list .dataviews-view-list__field-wrapper {
2783 + min-height: 48px;
2926 2784 flex-grow: 1;
2927 2785 min-width: 0;
2928 2786 }
2929 2787
2930 2788 .dataviews-view-list .dataviews-view-list__field {
2931 - color: #757575;
2789 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2932 2790 }
2933 2791
2934 2792 .dataviews-view-list .dataviews-view-list__fields {
2935 2793 display: flex;
2936 - gap: 12px;
2937 - row-gap: 4px;
2794 + gap: var(--wpds-dimension-gap-md, 12px);
2795 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2938 2796 flex-wrap: wrap;
2939 2797 font-size: 12px;
2940 2798 }
2941 2799
@@ -2947,10 +2805,10 @@
2947 2805 display: none;
2948 2806 }
2949 2807
2950 2808 .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
2951 - min-height: 24px;
2952 - line-height: 20px;
2809 + min-height: var(--wpds-dimension-size-sm, 24px);
2810 + line-height: var(--wpds-typography-line-height-sm, 20px);
2953 2811 display: flex;
2954 2812 align-items: center;
2955 2813 }
2956 2814
@@ -2958,38 +2816,42 @@
2958 2816 justify-content: space-between;
2959 2817 }
2960 2818
2961 2819 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__item-wrapper {
2962 - padding: 8px 24px;
2820 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-2xl, 24px);
2963 2821 }
2964 2822
2965 2823 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__title-field {
2966 - min-height: 16px;
2967 - line-height: 16px;
2824 + min-height: var(--wpds-dimension-size-2xs, 16px);
2825 + line-height: var(--wpds-typography-line-height-xs, 16px);
2968 2826 }
2969 2827
2970 2828 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__media-wrapper {
2971 - width: 32px;
2972 - height: 32px;
2829 + width: var(--wpds-dimension-size-md, 32px);
2830 + height: var(--wpds-dimension-size-md, 32px);
2973 2831 }
2974 2832
2833 +.dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__field-wrapper {
2834 + min-height: var(--wpds-dimension-size-md, 32px);
2835 +}
2836 +
2975 2837 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields {
2976 - gap: 8px;
2977 - row-gap: 4px;
2838 + gap: var(--wpds-dimension-gap-sm, 8px);
2839 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2978 2840 }
2979 2841
2980 2842 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2981 - min-height: 16px;
2982 - line-height: 16px;
2843 + min-height: var(--wpds-dimension-size-2xs, 16px);
2844 + line-height: var(--wpds-typography-line-height-xs, 16px);
2983 2845 }
2984 2846
2985 2847 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__item-wrapper {
2986 - padding: 24px 24px;
2848 + padding: var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2987 2849 }
2988 2850
2989 2851 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__title-field {
2990 - min-height: 32px;
2991 - line-height: 32px;
2852 + min-height: var(--wpds-dimension-size-md, 32px);
2853 + line-height: var(--wpds-typography-line-height-xl, 32px);
2992 2854 }
2993 2855
2994 2856 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
2995 2857 width: 64px;
@@ -2995,16 +2857,20 @@
2995 2857 width: 64px;
2996 2858 height: 64px;
2997 2859 }
2998 2860
2861 +.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
2862 + min-height: 64px;
2863 +}
2864 +
2999 2865 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
3000 - gap: 16px;
3001 - row-gap: 8px;
2866 + gap: var(--wpds-dimension-gap-lg, 16px);
2867 + row-gap: var(--wpds-dimension-gap-sm, 8px);
3002 2868 }
3003 2869
3004 2870 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
3005 - min-height: 32px;
3006 - line-height: 24px;
2871 + min-height: var(--wpds-dimension-size-md, 32px);
2872 + line-height: var(--wpds-typography-line-height-md, 24px);
3007 2873 }
3008 2874
3009 2875 .dataviews-view-list.is-refreshing {
3010 2876 opacity: 0.5;
@@ -3017,13 +2883,13 @@
3017 2883 animation: dataviews-pulse 1s ease-in-out infinite;
3018 2884 }
3019 2885 }
3020 2886 .dataviews-view-list__group-header {
3021 - font-size: 15px;
3022 - font-weight: 499;
3023 - color: #1e1e1e;
3024 - margin: 0 0 8px 0;
3025 - padding: 0 24px;
2887 + font-size: var(--wpds-typography-font-size-lg, 15px);
2888 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2889 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2890 + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
2891 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
3026 2892 }
3027 2893
3028 2894 .dataviews-view-table {
3029 2895 width: 100%;
@@ -3030,9 +2896,9 @@
3030 2896 text-indent: 0;
3031 2897 border-color: inherit;
3032 2898 border-collapse: collapse;
3033 2899 position: relative;
3034 - color: #757575;
2900 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3035 2901 margin-bottom: auto;
3036 2902 background-color: inherit;
3037 2903 }
3038 2904
@@ -3037,16 +2903,16 @@
3037 2903 }
3038 2904
3039 2905 .dataviews-view-table th {
3040 2906 text-align: right;
3041 - color: #1e1e1e;
3042 - font-weight: normal;
3043 - font-size: 13px;
2907 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2908 + font-weight: 400;
2909 + font-size: var(--wpds-typography-font-size-md, 13px);
3044 2910 }
3045 2911
3046 2912 .dataviews-view-table td,
3047 2913 .dataviews-view-table th {
3048 - padding: 12px;
2914 + padding: var(--wpds-dimension-padding-md, 12px);
3049 2915 }
3050 2916
3051 2917 .dataviews-view-table td.dataviews-view-table__actions-column,
3052 2918 .dataviews-view-table th.dataviews-view-table__actions-column {
@@ -3056,9 +2922,9 @@
3056 2922 .dataviews-view-table td.dataviews-view-table__actions-column--sticky,
3057 2923 .dataviews-view-table th.dataviews-view-table__actions-column--sticky {
3058 2924 position: sticky;
3059 2925 left: 0;
3060 - background-color: var(--wp-dataviews-color-background, #fff);
2926 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3061 2927 }
3062 2928
3063 2929 .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
3064 2930 .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after {
@@ -3068,9 +2934,9 @@
3068 2934 top: 0;
3069 2935 bottom: 0;
3070 2936 right: 0;
3071 2937 width: 1px;
3072 - background-color: #f0f0f0;
2938 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
3073 2939 }
3074 2940
3075 2941 .dataviews-view-table td.dataviews-view-table__checkbox-column,
3076 2942 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -3083,20 +2949,20 @@
3083 2949 min-width: auto;
3084 2950 }
3085 2951
3086 2952 .dataviews-view-table tr {
3087 - border-top: 1px solid #f0f0f0;
2953 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
3088 2954 background-color: inherit;
3089 2955 }
3090 2956
3091 2957 .dataviews-view-table tr td:first-child,
3092 2958 .dataviews-view-table tr th:first-child {
3093 - padding-right: 24px;
2959 + padding-right: var(--wpds-dimension-padding-2xl, 24px);
3094 2960 }
3095 2961
3096 2962 .dataviews-view-table tr td:last-child,
3097 2963 .dataviews-view-table tr th:last-child {
3098 - padding-left: 24px;
2964 + padding-left: var(--wpds-dimension-padding-2xl, 24px);
3099 2965 }
3100 2966
3101 2967 .dataviews-view-table tr:last-child {
3102 2968 border-bottom: 0;
@@ -3111,18 +2977,18 @@
3111 2977 opacity: 1;
3112 2978 }
3113 2979 }
3114 2980 .dataviews-view-table tr.is-selected {
3115 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
3116 - color: #757575;
2981 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2982 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3117 2983 }
3118 2984
3119 2985 .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
3120 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2986 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
3121 2987 }
3122 2988
3123 2989 .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
3124 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
2990 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3125 2991 }
3126 2992
3127 2993 .dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
3128 2994 opacity: 1;
@@ -3128,13 +2994,13 @@
3128 2994 opacity: 1;
3129 2995 }
3130 2996
3131 2997 .dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr:hover .dataviews-view-table__actions-column--sticky {
3132 - background-color: var(--wp-dataviews-color-background, #fff);
2998 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3133 2999 }
3134 3000
3135 3001 .dataviews-view-table.has-bulk-actions tr.is-selected .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr.is-selected:hover .dataviews-view-table__actions-column--sticky {
3136 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
3002 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3137 3003 }
3138 3004
3139 3005 .dataviews-view-table thead {
3140 3006 position: sticky;
@@ -3150,9 +3016,9 @@
3150 3016 bottom: 0;
3151 3017 right: 0;
3152 3018 left: 0;
3153 3019 height: 1px;
3154 - background-color: #f0f0f0;
3020 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
3155 3021 }
3156 3022
3157 3023 .dataviews-view-table thead tr {
3158 3024 border: 0;
@@ -3159,30 +3025,30 @@
3159 3025 }
3160 3026
3161 3027 .dataviews-view-table thead th {
3162 3028 background-color: inherit;
3163 - padding-top: 8px;
3164 - padding-bottom: 8px;
3029 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3030 + padding-bottom: var(--wpds-dimension-padding-sm, 8px);
3165 3031 font-size: 11px;
3166 3032 text-transform: uppercase;
3167 - font-weight: 499;
3033 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3168 3034 }
3169 3035
3170 3036 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
3171 - padding-right: 4px;
3172 - padding-left: 4px;
3037 + padding-right: var(--wpds-dimension-padding-xs, 4px);
3038 + padding-left: var(--wpds-dimension-padding-xs, 4px);
3173 3039 }
3174 3040
3175 3041 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) .dataviews-view-table-header-button {
3176 - gap: 4px;
3042 + gap: var(--wpds-dimension-gap-xs, 4px);
3177 3043 }
3178 3044
3179 3045 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):first-child {
3180 - padding-right: 16px;
3046 + padding-right: var(--wpds-dimension-padding-lg, 16px);
3181 3047 }
3182 3048
3183 3049 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):last-child {
3184 - padding-left: 16px;
3050 + padding-left: var(--wpds-dimension-padding-lg, 16px);
3185 3051 }
3186 3052
3187 3053 .dataviews-view-table tbody td {
3188 3054 vertical-align: top;
@@ -3188,9 +3054,9 @@
3188 3054 vertical-align: top;
3189 3055 }
3190 3056
3191 3057 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
3192 - min-height: 32px;
3058 + min-height: var(--wpds-dimension-size-md, 32px);
3193 3059 display: flex;
3194 3060 align-items: center;
3195 3061 white-space: nowrap;
3196 3062 }
@@ -3208,16 +3074,16 @@
3208 3074 min-height: 0;
3209 3075 }
3210 3076
3211 3077 .dataviews-view-table .dataviews-view-table-header-button {
3212 - padding: 4px 8px;
3078 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3213 3079 font-size: 11px;
3214 3080 text-transform: uppercase;
3215 - font-weight: 499;
3081 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3216 3082 }
3217 3083
3218 3084 .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
3219 - color: #1e1e1e;
3085 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3220 3086 }
3221 3087
3222 3088 .dataviews-view-table .dataviews-view-table-header-button span {
3223 3089 speak: none;
@@ -3227,9 +3093,9 @@
3227 3093 display: none;
3228 3094 }
3229 3095
3230 3096 .dataviews-view-table .dataviews-view-table-header {
3231 - padding-right: 4px;
3097 + padding-right: var(--wpds-dimension-padding-xs, 4px);
3232 3098 }
3233 3099
3234 3100 .dataviews-view-table .dataviews-view-table__actions-column {
3235 3101 width: auto;
@@ -3245,14 +3111,14 @@
3245 3111 }
3246 3112
3247 3113 .dataviews-view-table.has-compact-density td,
3248 3114 .dataviews-view-table.has-compact-density th {
3249 - padding: 4px 8px;
3115 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3250 3116 }
3251 3117
3252 3118 .dataviews-view-table.has-comfortable-density td,
3253 3119 .dataviews-view-table.has-comfortable-density th {
3254 - padding: 16px 12px;
3120 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-md, 12px);
3255 3121 }
3256 3122
3257 3123 .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column,
3258 3124 .dataviews-view-table.has-compact-density th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-comfortable-density td.dataviews-view-table__checkbox-column,
@@ -3270,20 +3136,20 @@
3270 3136 }
3271 3137 }
3272 3138 .dataviews-column-primary__media {
3273 3139 max-width: 60px;
3274 - min-width: 32px;
3275 - min-height: 32px;
3140 + min-width: var(--wpds-dimension-size-md, 32px);
3141 + min-height: var(--wpds-dimension-size-md, 32px);
3276 3142 overflow: hidden;
3277 3143 position: relative;
3278 3144 flex-shrink: 0;
3279 - background-color: #fff;
3280 - border-radius: 4px;
3145 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3146 + border-radius: var(--wpds-border-radius-md, 4px);
3281 3147 }
3282 3148
3283 3149 .dataviews-column-primary__media img {
3284 - width: 32px;
3285 - height: 32px;
3150 + width: var(--wpds-dimension-size-md, 32px);
3151 + height: var(--wpds-dimension-size-md, 32px);
3286 3152 object-fit: cover;
3287 3153 }
3288 3154
3289 3155 .dataviews-column-primary__media::after {
@@ -3292,12 +3158,23 @@
3292 3158 top: 0;
3293 3159 right: 0;
3294 3160 width: 100%;
3295 3161 height: 100%;
3296 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3297 - border-radius: 4px;
3162 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3163 + border-radius: var(--wpds-border-radius-md, 4px);
3298 3164 }
3299 3165
3166 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
3167 + height: var(--wpds-dimension-size-md, 32px);
3168 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
3169 + min-width: 0;
3170 +}
3171 +
3172 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
3173 + width: 100%;
3174 + height: 100%;
3175 +}
3176 +
3300 3177 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3301 3178 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3302 3179 min-width: 15ch;
3303 3180 max-width: 80ch;
@@ -3303,11 +3180,11 @@
3303 3180 max-width: 80ch;
3304 3181 }
3305 3182
3306 3183 .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
3307 - font-weight: 499;
3308 - padding: 12px 24px;
3309 - color: #1e1e1e;
3184 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3185 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
3186 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3310 3187 }
3311 3188
3312 3189 /* Column width intents via colgroup: make non-primary columns shrink-to-fit */
3313 3190 .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) {
@@ -3325,13 +3202,13 @@
3325 3202 animation: dataviews-pulse 1s ease-in-out infinite;
3326 3203 }
3327 3204 }
3328 3205 .dataviews-view-picker-grid.has-compact-density .dataviews-view-grid-items {
3329 - gap: 16px;
3206 + gap: var(--wpds-dimension-gap-lg, 16px);
3330 3207 }
3331 3208
3332 3209 .dataviews-view-picker-grid.has-comfortable-density .dataviews-view-grid-items {
3333 - gap: 32px;
3210 + gap: var(--wpds-dimension-gap-2xl, 32px);
3334 3211 }
3335 3212
3336 3213 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3337 3214 height: 100%;
@@ -3336,16 +3213,17 @@
3336 3213 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3337 3214 height: 100%;
3338 3215 justify-content: flex-start;
3339 3216 position: relative;
3217 + isolation: isolate;
3340 3218 }
3341 3219
3342 3220 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-actions {
3343 - padding: 8px 0 4px;
3221 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
3344 3222 }
3345 3223
3346 3224 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
3347 - min-height: 24px;
3225 + min-height: var(--wpds-dimension-size-sm, 24px);
3348 3226 overflow: hidden;
3349 3227 align-content: center;
3350 3228 text-align: start;
3351 3229 }
@@ -3354,22 +3232,17 @@
3354 3232 width: fit-content;
3355 3233 }
3356 3234
3357 3235 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
3358 - color: #1e1e1e;
3236 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3359 3237 }
3360 3238
3361 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after,
3362 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3363 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3364 -}
3365 -
3366 3239 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
3367 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
3240 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
3368 3241 }
3369 3242
3370 3243 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3371 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3244 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3372 3245 }
3373 3246
3374 3247 .dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
3375 3248 outline: none;
@@ -3375,13 +3248,13 @@
3375 3248 outline: none;
3376 3249 }
3377 3250
3378 3251 .dataviews-view-picker-grid:focus-visible [data-active-item=true] {
3379 - outline: 2px solid var(--wp-admin-theme-color);
3252 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3380 3253 }
3381 3254
3382 3255 .dataviews-view-picker-grid .dataviews-selection-checkbox {
3383 - top: 8px !important;
3256 + top: var(--wpds-dimension-padding-sm, 8px) !important;
3384 3257 }
3385 3258
3386 3259 .dataviews-view-picker-grid .dataviews-selection-checkbox input {
3387 3260 pointer-events: none;
@@ -3390,10 +3263,11 @@
3390 3263 .dataviews-view-picker-grid .dataviews-view-picker-grid__media {
3391 3264 width: 100%;
3392 3265 aspect-ratio: 1/1;
3393 3266 min-height: 0;
3394 - background-color: #fff;
3395 - border-radius: 4px;
3267 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3268 + border-radius: var(--wpds-border-radius-md, 4px);
3269 + overflow: hidden;
3396 3270 position: relative;
3397 3271 }
3398 3272
3399 3273 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
@@ -3408,13 +3282,21 @@
3408 3282 top: 0;
3409 3283 right: 0;
3410 3284 width: 100%;
3411 3285 height: 100%;
3412 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3413 - border-radius: 4px;
3286 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3287 + border-radius: var(--wpds-border-radius-md, 4px);
3414 3288 pointer-events: none;
3415 3289 }
3416 3290
3291 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
3292 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
3293 +}
3294 +
3295 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
3296 + object-fit: contain;
3297 +}
3298 +
3417 3299 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3418 3300 position: relative;
3419 3301 font-size: 12px;
3420 3302 line-height: 16px;
@@ -3420,25 +3302,25 @@
3420 3302 line-height: 16px;
3421 3303 }
3422 3304
3423 3305 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields:not(:empty) {
3424 - padding: 0 0 12px;
3306 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
3425 3307 }
3426 3308
3427 3309 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
3428 - min-height: 24px;
3429 - line-height: 20px;
3430 - padding-top: 2px;
3310 + min-height: var(--wpds-dimension-size-sm, 24px);
3311 + line-height: var(--wpds-typography-line-height-sm, 20px);
3312 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
3431 3313 }
3432 3314
3433 3315 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
3434 - min-height: 24px;
3316 + min-height: var(--wpds-dimension-size-sm, 24px);
3435 3317 align-items: center;
3436 3318 }
3437 3319
3438 3320 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
3439 3321 width: 35%;
3440 - color: #757575;
3322 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3441 3323 overflow: hidden;
3442 3324 text-overflow: ellipsis;
3443 3325 white-space: nowrap;
3444 3326 }
@@ -3454,9 +3336,9 @@
3454 3336 display: none;
3455 3337 }
3456 3338
3457 3339 .dataviews-view-picker-grid .dataviews-view-picker-grid__badge-fields:not(:empty) {
3458 - padding-bottom: 12px;
3340 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
3459 3341 }
3460 3342
3461 3343 .dataviews-view-picker-grid__field-value:empty,
3462 3344 .dataviews-view-picker-grid__field:empty {
@@ -3465,21 +3347,21 @@
3465 3347
3466 3348 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3467 3349 position: absolute;
3468 3350 top: -9999em;
3469 - right: 8px;
3351 + right: var(--wpds-dimension-padding-sm, 8px);
3470 3352 z-index: 1;
3471 3353 }
3472 3354
3473 3355 @media (hover: none) {
3474 3356 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3475 - top: 8px;
3357 + top: var(--wpds-dimension-padding-sm, 8px);
3476 3358 }
3477 3359 }
3478 3360 .dataviews-view-picker-grid__card:hover .dataviews-selection-checkbox,
3479 3361 .dataviews-view-picker-grid__card:focus-within .dataviews-selection-checkbox,
3480 3362 .dataviews-view-picker-grid__card.is-selected .dataviews-selection-checkbox {
3481 - top: 8px;
3363 + top: var(--wpds-dimension-padding-sm, 8px);
3482 3364 }
3483 3365
3484 3366 .dataviews-view-picker-grid__media--clickable {
3485 3367 cursor: var(--wpds-cursor-control, pointer);
@@ -3485,12 +3367,12 @@
3485 3367 cursor: var(--wpds-cursor-control, pointer);
3486 3368 }
3487 3369
3488 3370 .dataviews-view-picker-grid-group__header {
3489 - font-size: 15px;
3490 - font-weight: 499;
3491 - color: #1e1e1e;
3492 - margin: 0 0 8px 0;
3371 + font-size: var(--wpds-typography-font-size-lg, 15px);
3372 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3373 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3374 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3493 3375 padding: 0 48px;
3494 3376 }
3495 3377
3496 3378 .dataviews-view-picker-table {
@@ -3505,9 +3387,9 @@
3505 3387 outline: none;
3506 3388 }
3507 3389
3508 3390 .dataviews-view-picker-table tbody:focus-visible [data-active-item=true] {
3509 - outline: 2px solid var(--wp-admin-theme-color);
3391 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3510 3392 }
3511 3393
3512 3394 .dataviews-view-picker-table .dataviews-selection-checkbox .components-checkbox-control__input.components-checkbox-control__input {
3513 3395 pointer-events: none;
@@ -3518,34 +3400,34 @@
3518 3400 cursor: var(--wpds-cursor-control, pointer);
3519 3401 }
3520 3402
3521 3403 .dataviews-view-picker-table .dataviews-view-table__row.is-selected {
3522 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3404 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3523 3405 }
3524 3406
3525 3407 .dataviews-view-picker-table .dataviews-view-table__row.is-hovered {
3526 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3408 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3527 3409 }
3528 3410
3529 3411 .dataviews-view-picker-table .dataviews-view-table__row.is-selected.is-hovered {
3530 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.12);
3412 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3531 3413 }
3532 3414
3533 3415 .dataviews-view-activity {
3534 3416 margin: 0 0 auto;
3535 - padding: 0 24px;
3417 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
3536 3418 }
3537 3419
3538 3420 .dataviews-view-activity .dataviews-view-activity__group-header {
3539 - font-size: 15px;
3540 - font-weight: 499;
3541 - color: #949494;
3542 - margin: 0 0 8px 0;
3421 + font-size: var(--wpds-typography-font-size-lg, 15px);
3422 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3423 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3424 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3543 3425 padding: 0;
3544 3426 }
3545 3427
3546 3428 .dataviews-view-activity .dataviews-view-activity__item-actions {
3547 - min-width: 24px;
3429 + min-width: var(--wpds-dimension-size-sm, 24px);
3548 3430 }
3549 3431
3550 3432 .dataviews-view-activity .dataviews-view-activity__item-content {
3551 3433 flex-grow: 1;
@@ -3553,9 +3435,9 @@
3553 3435
3554 3436 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title,
3555 3437 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description,
3556 3438 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3557 - min-height: 16px;
3439 + min-height: var(--wpds-dimension-size-2xs, 16px);
3558 3440 }
3559 3441
3560 3442 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title {
3561 3443 position: relative;
@@ -3569,11 +3451,11 @@
3569 3451 cursor: var(--wpds-cursor-control, pointer);
3570 3452 }
3571 3453
3572 3454 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible {
3573 - outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
3455 + outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3574 3456 outline-offset: var(--wp-admin-border-width-focus);
3575 - border-radius: 2px;
3457 + border-radius: var(--wpds-border-radius-sm, 2px);
3576 3458 }
3577 3459
3578 3460 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
3579 3461 display: flex;
@@ -3586,12 +3468,12 @@
3586 3468 z-index: 1;
3587 3469 }
3588 3470
3589 3471 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3590 - color: #757575;
3472 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3591 3473 display: flex;
3592 - gap: 12px;
3593 - row-gap: 4px;
3474 + gap: var(--wpds-dimension-gap-md, 12px);
3475 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3594 3476 flex-wrap: wrap;
3595 3477 }
3596 3478
3597 3479 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields:empty {
@@ -3616,9 +3498,9 @@
3616 3498 content: "";
3617 3499 flex: 1 1 auto;
3618 3500 width: 1px;
3619 3501 margin: 0 auto;
3620 - background-color: #ddd;
3502 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3621 3503 }
3622 3504
3623 3505 .dataviews-view-activity .dataviews-view-activity__item-type::before {
3624 3506 content: "";
@@ -3624,67 +3506,67 @@
3624 3506 content: "";
3625 3507 flex: 0 0 auto;
3626 3508 width: 1px;
3627 3509 margin: 0 auto;
3628 - background-color: #ddd;
3510 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3629 3511 }
3630 3512
3631 3513 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type {
3632 - width: 12px;
3514 + width: var(--wpds-dimension-padding-md, 12px);
3633 3515 }
3634 3516
3635 3517 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before {
3636 - height: 12px;
3518 + height: var(--wpds-dimension-size-3xs, 12px);
3637 3519 }
3638 3520
3639 3521 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
3640 - width: 11px;
3641 - height: 11px;
3522 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3523 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3642 3524 }
3643 3525
3644 3526 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
3645 - margin: 12px 0;
3527 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3646 3528 }
3647 3529
3648 3530 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type {
3649 - width: 24px;
3531 + width: var(--wpds-dimension-size-sm, 24px);
3650 3532 }
3651 3533
3652 3534 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before {
3653 - height: 12px;
3535 + height: var(--wpds-dimension-size-3xs, 12px);
3654 3536 }
3655 3537
3656 3538 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
3657 - width: 25px;
3658 - height: 25px;
3539 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3540 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3659 3541 }
3660 3542
3661 3543 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
3662 - margin: 12px 0;
3663 - padding-top: 8px;
3544 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3545 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3664 3546 }
3665 3547
3666 3548 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type {
3667 - width: 32px;
3549 + width: var(--wpds-dimension-size-md, 32px);
3668 3550 }
3669 3551
3670 3552 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before {
3671 - height: 8px;
3553 + height: var(--wpds-dimension-size-4xs, 8px);
3672 3554 }
3673 3555
3674 3556 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
3675 - width: 33px;
3676 - height: 33px;
3557 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3558 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3677 3559 }
3678 3560
3679 3561 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
3680 - margin: 8px 0 16px;
3681 - padding-top: 12px;
3562 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3563 + padding-top: var(--wpds-dimension-padding-md, 12px);
3682 3564 }
3683 3565
3684 3566 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet {
3685 - width: 9px;
3686 - height: 9px;
3567 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3568 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3687 3569 position: relative;
3688 3570 top: 50%;
3689 3571 transform: translateY(-50%);
3690 3572 }
@@ -3693,15 +3575,15 @@
3693 3575 visibility: hidden;
3694 3576 }
3695 3577
3696 3578 .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 {
3697 - background: linear-gradient(to bottom, #ddd 0%, rgba(221, 221, 221, 0.2) 60%, rgba(221, 221, 221, 0) 100%);
3579 + 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%);
3698 3580 }
3699 3581
3700 3582 .dataviews-view-activity .dataviews-view-activity__item-type-icon {
3701 3583 overflow: hidden;
3702 3584 flex-shrink: 0;
3703 - background-color: #fff;
3585 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3704 3586 }
3705 3587
3706 3588 .dataviews-view-activity .dataviews-view-activity__item-type-icon img,
3707 3589 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg,
@@ -3712,18 +3594,18 @@
3712 3594 margin: 0 auto;
3713 3595 object-fit: cover;
3714 3596 border-radius: 50%;
3715 3597 box-sizing: border-box;
3716 - box-shadow: inset 0 0 0 1px #ddd;
3598 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3717 3599 }
3718 3600
3719 3601 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg {
3720 - padding: 4px;
3602 + padding: var(--wpds-dimension-padding-xs, 4px);
3721 3603 }
3722 3604
3723 3605 .dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
3724 3606 content: "";
3725 - background-color: #ddd;
3607 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3726 3608 }
3727 3609
3728 3610 .dataviews-view-activity.is-refreshing {
3729 3611 opacity: 0.5;
@@ -3739,11 +3621,211 @@
3739 3621 .dataviews-view-activity + .dataviews-pagination {
3740 3622 justify-content: space-between;
3741 3623 }
3742 3624
3625 +.dataviews-view-picker-activity {
3626 + margin: 0;
3627 + padding: 0;
3628 + flex-grow: 1;
3629 +}
3630 +
3631 +.dataviews-view-picker-activity:focus-visible[aria-activedescendant] {
3632 + outline: none;
3633 +}
3634 +
3635 +.dataviews-view-picker-activity:focus-visible .dataviews-view-picker-activity__item[data-active-item=true] {
3636 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3637 + outline-offset: -2px;
3638 +}
3639 +
3640 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item {
3641 + cursor: var(--wpds-cursor-control, pointer);
3642 + border-radius: var(--wpds-border-radius-sm, 2px);
3643 + padding-inline: var(--wpds-dimension-padding-2xl, 24px);
3644 + transition: background-color 0.1s ease;
3645 +}
3646 +
3647 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected, .dataviews-view-picker-activity .dataviews-view-picker-activity__item:hover {
3648 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3649 +}
3650 +
3651 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected {
3652 + outline: 3px solid transparent;
3653 + outline-offset: -2px;
3654 +}
3655 +
3656 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type {
3657 + width: var(--wpds-dimension-padding-md, 12px);
3658 +}
3659 +
3660 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type::before {
3661 + height: var(--wpds-dimension-size-3xs, 12px);
3662 +}
3663 +
3664 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon {
3665 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3666 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3667 +}
3668 +
3669 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content {
3670 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3671 +}
3672 +
3673 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type {
3674 + width: var(--wpds-dimension-size-sm, 24px);
3675 +}
3676 +
3677 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type::before {
3678 + height: var(--wpds-dimension-size-3xs, 12px);
3679 +}
3680 +
3681 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon {
3682 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3683 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3684 +}
3685 +
3686 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content {
3687 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3688 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3689 +}
3690 +
3691 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type {
3692 + width: var(--wpds-dimension-size-md, 32px);
3693 +}
3694 +
3695 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type::before {
3696 + height: var(--wpds-dimension-size-4xs, 8px);
3697 +}
3698 +
3699 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon {
3700 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3701 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3702 +}
3703 +
3704 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content {
3705 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3706 + padding-top: var(--wpds-dimension-padding-md, 12px);
3707 +}
3708 +
3709 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-bullet, .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-bullet {
3710 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3711 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3712 + position: relative;
3713 + top: 50%;
3714 + transform: translateY(-50%);
3715 +}
3716 +
3717 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content {
3718 + flex-grow: 1;
3719 +}
3720 +
3721 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title,
3722 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description,
3723 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3724 + min-height: var(--wpds-dimension-size-2xs, 16px);
3725 +}
3726 +
3727 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title {
3728 + position: relative;
3729 + display: flex;
3730 + align-items: center;
3731 + flex: 1;
3732 + overflow: hidden;
3733 +}
3734 +
3735 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description:empty {
3736 + display: none;
3737 +}
3738 +
3739 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3740 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3741 + display: flex;
3742 + gap: var(--wpds-dimension-gap-md, 12px);
3743 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3744 + flex-wrap: wrap;
3745 +}
3746 +
3747 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields:empty {
3748 + display: none;
3749 +}
3750 +
3751 +.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) {
3752 + display: none;
3753 +}
3754 +
3755 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field-value {
3756 + display: flex;
3757 + align-items: center;
3758 +}
3759 +
3760 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type {
3761 + align-self: stretch;
3762 + flex-shrink: 0;
3763 +}
3764 +
3765 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::after {
3766 + content: "";
3767 + flex: 1 1 auto;
3768 + width: 1px;
3769 + margin: 0 auto;
3770 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3771 +}
3772 +
3773 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::before {
3774 + content: "";
3775 + flex: 0 0 auto;
3776 + width: 1px;
3777 + margin: 0 auto;
3778 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3779 +}
3780 +
3781 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item:first-child .dataviews-view-picker-activity__item-type::before {
3782 + visibility: hidden;
3783 +}
3784 +
3785 +.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 {
3786 + 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%);
3787 +}
3788 +
3789 +.dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
3790 + font-size: var(--wpds-typography-font-size-lg, 15px);
3791 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3792 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3793 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3794 + padding: 0;
3795 + padding-inline-start: var(--wpds-dimension-padding-2xl, 24px);
3796 +}
3797 +
3798 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon {
3799 + overflow: hidden;
3800 + flex-shrink: 0;
3801 + background-color: transparent;
3802 +}
3803 +
3804 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon img,
3805 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg,
3806 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3807 + display: block;
3808 + width: 100%;
3809 + height: 100%;
3810 + margin: 0 auto;
3811 + object-fit: cover;
3812 + border-radius: 50%;
3813 + box-sizing: border-box;
3814 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3815 +}
3816 +
3817 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg {
3818 + padding: var(--wpds-dimension-padding-xs, 4px);
3819 +}
3820 +
3821 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3822 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3823 +}
3824 +
3743 3825 .dataviews-picker-footer__bulk-selection {
3744 3826 align-self: flex-start;
3745 - height: 32px;
3827 + height: var(--wpds-dimension-size-md, 32px);
3746 3828 }
3747 3829
3748 3830 .dataviews-picker-footer__actions {
3749 3831 align-self: flex-end;
@@ -3773,30 +3855,51 @@
3773 3855 display: flex;
3774 3856 }
3775 3857
3776 3858 .dataviews-controls__date-preset {
3777 - border: 1px solid #ddd;
3859 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3778 3860 }
3779 3861
3780 3862 .dataviews-controls__date-preset:active {
3781 - background-color: #000;
3863 + background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
3782 3864 }
3783 3865
3866 +.dataviews-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]), .dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3867 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3868 +}
3869 +
3870 +.dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3871 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3872 +}
3873 +
3874 +.dataviews-validated-control__wrapper-with-error-delegate {
3875 + position: relative;
3876 +}
3877 +
3878 +.dataviews-validated-control__error-delegate {
3879 + position: absolute;
3880 + top: 0;
3881 + height: 100%;
3882 + width: 100%;
3883 + opacity: 0;
3884 + pointer-events: none;
3885 +}
3886 +
3784 3887 .dataforms-layouts-panel__field-trigger {
3785 3888 position: relative;
3786 3889 color: inherit;
3787 3890 display: flex;
3788 3891 width: 100%;
3789 - min-height: 24px;
3892 + min-height: var(--wpds-dimension-size-sm, 24px);
3790 3893 cursor: var(--wpds-cursor-control, pointer);
3791 3894 align-items: flex-start;
3792 - border-radius: 2px;
3895 + border-radius: var(--wpds-border-radius-sm, 2px);
3793 3896 isolation: isolate;
3794 3897 }
3795 3898
3796 3899 .dataforms-layouts-panel__field-trigger--label-side {
3797 3900 flex-direction: row;
3798 - gap: var(--wpds-dimension-gap-md, 12px);
3901 + gap: var(--wpds-dimension-gap-sm, 8px);
3799 3902 }
3800 3903
3801 3904 .dataforms-layouts-panel__field-trigger--label-top {
3802 3905 display: grid;
@@ -3807,9 +3910,9 @@
3807 3910 align-items: center;
3808 3911 }
3809 3912
3810 3913 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
3811 - color: var(--wp-admin-theme-color);
3914 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3812 3915 }
3813 3916
3814 3917 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
3815 3918 opacity: 1;
@@ -3815,9 +3918,9 @@
3815 3918 opacity: 1;
3816 3919 }
3817 3920
3818 3921 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
3819 - color: var(--wp-admin-theme-color);
3922 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3820 3923 }
3821 3924
3822 3925 .dataforms-layouts-panel__field-trigger.is-disabled {
3823 3926 cursor: default;
@@ -3823,10 +3926,10 @@
3823 3926 cursor: default;
3824 3927 }
3825 3928
3826 3929 .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
3827 - color: #757575;
3828 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3930 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3931 + font-weight: var(--wpds-typography-font-weight-default, 400);
3829 3932 }
3830 3933
3831 3934 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
3832 3935 opacity: 1;
@@ -3833,22 +3936,28 @@
3833 3936 fill: currentColor;
3834 3937 }
3835 3938
3836 3939 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:hover, .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3837 - fill: var(--wp-admin-theme-color);
3940 + fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3838 3941 }
3839 3942
3840 3943 .dataforms-layouts-panel__field-trigger-icon {
3841 3944 padding: 0;
3842 - color: var(--wp-admin-theme-color);
3945 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3843 3946 flex: 0 0 auto;
3844 3947 opacity: 0;
3845 3948 border-radius: var(--wpds-border-radius-xs, 1px);
3846 3949 }
3847 3950
3951 +.dataforms-layouts-panel__field-trigger-icon::after {
3952 + content: "";
3953 + position: absolute;
3954 + inset: 0;
3955 +}
3956 +
3848 3957 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3849 3958 opacity: 1;
3850 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wp-admin-theme-color);
3959 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3851 3960 }
3852 3961
3853 3962 .dataforms-layouts-panel__field-dropdown-anchor {
3854 3963 width: 100%;
@@ -3860,14 +3969,14 @@
3860 3969
3861 3970 .dataforms-layouts-panel__field-label {
3862 3971 width: 38%;
3863 3972 flex-shrink: 0;
3864 - min-height: 24px;
3973 + min-height: var(--wpds-dimension-size-sm, 24px);
3865 3974 display: flex;
3866 3975 align-items: center;
3867 - line-height: 20px;
3976 + line-height: var(--wpds-typography-line-height-sm, 20px);
3868 3977 hyphens: auto;
3869 - color: #757575;
3978 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3870 3979 }
3871 3980
3872 3981 .dataforms-layouts-panel__field-label .components-base-control__label {
3873 3982 display: inline;
@@ -3875,38 +3984,39 @@
3875 3984 line-height: inherit;
3876 3985 }
3877 3986
3878 3987 .dataforms-layouts-panel__field-label.has-error {
3879 - color: #cc1818;
3988 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3880 3989 }
3881 3990
3882 3991 .dataforms-layouts-panel__field-label-error-content {
3883 - position: relative;
3884 - z-index: 1;
3885 - cursor: help;
3886 - fill: #cc1818;
3992 + pointer-events: none;
3993 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3887 3994 display: inline-flex;
3888 3995 flex-direction: row;
3889 3996 align-items: center;
3890 - gap: 4px;
3997 + gap: var(--wpds-dimension-gap-xs, 4px);
3891 3998 }
3892 3999
3893 -.dataforms-layouts-panel__field-label-error-content svg {
3894 - fill: currentColor;
3895 -}
3896 -
3897 4000 .dataforms-layouts-panel__field-control {
3898 4001 flex-grow: 1;
3899 4002 min-width: 0;
3900 - min-height: 24px;
4003 + min-height: var(--wpds-dimension-size-sm, 24px);
3901 4004 line-height: var(--wpds-typography-line-height-md, 24px);
3902 4005 display: flex;
3903 4006 align-items: center;
3904 - overflow: hidden;
3905 - word-break: break-word;
3906 - font-weight: var(--wpds-typography-font-weight-medium, 499);
4007 + overflow: clip;
4008 + padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
4009 + margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4010 + word-break: normal;
4011 + overflow-wrap: anywhere;
4012 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3907 4013 }
3908 4014
4015 +.dataforms-layouts-panel__field-control:has(a, button) {
4016 + z-index: 1;
4017 +}
4018 +
3909 4019 .dataforms-layouts-panel__field-control > * {
3910 4020 min-width: 0;
3911 4021 }
3912 4022
@@ -3923,18 +4033,18 @@
3923 4033 grid-column: 2;
3924 4034 }
3925 4035
3926 4036 .dataforms-layouts-panel__field-dropdown .components-popover__content {
3927 - min-width: 256px;
3928 - padding: 16px;
4037 + min-width: 320px;
4038 + padding: var(--wpds-dimension-padding-lg, 16px);
3929 4039 }
3930 4040
3931 4041 .dataforms-layouts-panel__dropdown-header {
3932 - margin-bottom: 16px;
4042 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3933 4043 }
3934 4044
3935 4045 .dataforms-layouts-panel__modal-footer {
3936 - margin-top: 16px;
4046 + margin-top: var(--wpds-dimension-gap-lg, 16px);
3937 4047 }
3938 4048
3939 4049 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
3940 4050 z-index: 159990;
@@ -3941,9 +4051,9 @@
3941 4051 }
3942 4052
3943 4053 .dataforms-layouts-regular__field {
3944 4054 width: 100%;
3945 - min-height: 32px;
4055 + min-height: var(--wpds-dimension-size-md, 32px);
3946 4056 justify-content: flex-start !important;
3947 4057 align-items: flex-start !important;
3948 4058 }
3949 4059
@@ -3949,18 +4059,18 @@
3949 4059
3950 4060 .dataforms-layouts-regular__field .components-base-control__label,
3951 4061 .dataforms-layouts-regular__field .components-input-control__label,
3952 4062 .dataforms-layouts-regular__field .components-form-token-field__label {
3953 - color: #1e1e1e;
4063 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3954 4064 }
3955 4065
3956 4066 .dataforms-layouts-regular__field-label {
3957 4067 width: 38%;
3958 4068 flex-shrink: 0;
3959 - min-height: 32px;
4069 + min-height: var(--wpds-dimension-size-md, 32px);
3960 4070 display: flex;
3961 4071 align-items: center;
3962 - line-height: 20px;
4072 + line-height: var(--wpds-typography-line-height-sm, 20px);
3963 4073 hyphens: auto;
3964 4074 }
3965 4075
3966 4076 .dataforms-layouts-regular__field-label--label-position-side {
@@ -3972,9 +4082,9 @@
3972 4082 }
3973 4083
3974 4084 .dataforms-layouts-regular__field-control {
3975 4085 flex-grow: 1;
3976 - min-height: 32px;
4086 + min-height: var(--wpds-dimension-size-md, 32px);
3977 4087 display: flex;
3978 4088 align-items: center;
3979 4089 }
3980 4090
@@ -3990,28 +4100,28 @@
3990 4100 display: contents;
3991 4101 }
3992 4102
3993 4103 .dataforms-layouts-card__field-description {
3994 - color: #757575;
4104 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3995 4105 display: block;
3996 - font-size: 13px;
3997 - margin-bottom: 16px;
4106 + font-size: var(--wpds-typography-font-size-md, 13px);
4107 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3998 4108 }
3999 4109
4000 4110 .dataforms-layouts-card__field-summary {
4001 4111 display: flex;
4002 4112 flex-direction: row;
4003 - gap: 16px;
4113 + gap: var(--wpds-dimension-gap-lg, 16px);
4004 4114 align-items: center;
4005 4115 }
4006 4116
4007 4117 .dataforms-layouts-details__summary-content {
4008 4118 display: inline-flex;
4009 - min-height: 24px;
4119 + min-height: var(--wpds-dimension-size-sm, 24px);
4010 4120 }
4011 4121
4012 4122 .dataforms-layouts-details__content {
4013 - padding-top: 12px;
4123 + padding-top: var(--wpds-dimension-padding-md, 12px);
4014 4124 }
4015 4125
4016 4126 .dataforms-layouts-row__field-control {
4017 4127 width: 100%;
@@ -4017,10 +4127,10 @@
4017 4127 width: 100%;
4018 4128 }
4019 4129
4020 4130 .dataforms-layouts__wrapper {
4021 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4022 - font-weight: 400;
4131 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4132 + font-weight: var(--wpds-typography-font-weight-default, 400);
4023 4133 font-size: 13px;
4024 4134 line-height: 20px;
4025 4135 }
4026 4136
@@ -4093,8 +4203,14 @@
4093 4203 /**
4094 4204 * Focus styles.
4095 4205 */
4096 4206 /**
4207 + * Standard focus rings for the WordPress Design System.
4208 + *
4209 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
4210 + * e.g. `&:focus { @include outset-ring__focus(); }`.
4211 + */
4212 +/**
4097 4213 * Applies editor left position to the selector passed as argument
4098 4214 */
4099 4215 /**
4100 4216 * Styles that are reused verbatim in a few places
@@ -4152,9 +4268,9 @@
4152 4268 padding: 12px;
4153 4269 display: grid;
4154 4270 align-items: center;
4155 4271 grid-template-columns: min-content 1fr min-content;
4156 - grid-gap: 4px 8px;
4272 + gap: 4px 8px;
4157 4273 color: #1e1e1e;
4158 4274 }
4159 4275
4160 4276 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -4184,9 +4300,9 @@
4184 4300 inset: 0;
4185 4301 }
4186 4302
4187 4303 input[type=radio]:not(:checked) ~ .fields-create-template-part-modal__area-radio-label::before {
4188 - cursor: pointer;
4304 + cursor: var(--wpds-cursor-control, pointer);
4189 4305 }
4190 4306
4191 4307 input[type=radio]:focus-visible ~ .fields-create-template-part-modal__area-radio-label::before {
4192 4308 outline: 4px solid transparent;
@@ -4231,9 +4347,8 @@
4231 4347 line-height: 1.5;
4232 4348 }
4233 4349
4234 4350 fieldset.fields__media-edit {
4235 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4236 4351 container-type: inline-size;
4237 4352 }
4238 4353
4239 4354 fieldset.fields__media-edit .fields__media-edit-compact-group {
@@ -4312,9 +4427,9 @@
4312 4427 border: 1px dashed #949494;
4313 4428 border-radius: 2px;
4314 4429 padding: 4px 8px;
4315 4430 min-height: 40px;
4316 - cursor: pointer;
4431 + cursor: var(--wpds-cursor-control, pointer);
4317 4432 min-width: 0;
4318 4433 }
4319 4434
4320 4435 fieldset.fields__media-edit .fields__media-edit-picker-button:not(.has-attachment) {
@@ -4469,9 +4584,8 @@
4469 4584 }
4470 4585
4471 4586 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
4472 4587 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4473 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4474 4588 }
4475 4589
4476 4590 @container (max-width: 500px) {
4477 4591 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
@@ -4538,18 +4652,15 @@
4538 4652 padding: 0;
4539 4653 margin: 0;
4540 4654 }
4541 4655
4542 -.fields-controls__slug .fields-controls__slug-external-icon {
4543 - margin-right: 5ch;
4544 -}
4545 -
4546 4656 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
4547 4657 padding-inline-start: 0 !important;
4548 4658 }
4549 4659
4550 4660 .fields-controls__slug .fields-controls__slug-help-link {
4551 - word-break: break-word;
4661 + word-break: normal;
4662 + overflow-wrap: anywhere;
4552 4663 }
4553 4664
4554 4665 .fields-controls__slug .fields-controls__slug-help {
4555 4666 display: flex;
@@ -4556,9 +4667,9 @@
4556 4667 flex-direction: column;
4557 4668 }
4558 4669
4559 4670 .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
4560 - font-weight: 600;
4671 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4561 4672 }
4562 4673
4563 4674 .fields-controls__featured-image-image,
4564 4675 .fields-controls__featured-image-placeholder {
@@ -4720,9 +4831,9 @@
4720 4831 border-radius: 2px;
4721 4832 }
4722 4833
4723 4834 .media-editor-preview__file-name {
4724 - font-weight: 600;
4835 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4725 4836 margin-bottom: 8px;
4726 4837 }
4727 4838
4728 4839 .media-editor-preview__mime-type {
@@ -4746,9 +4857,771 @@
4746 4857 color: #949494;
4747 4858 word-break: break-all;
4748 4859 margin-top: 8px;
4749 4860 }
4861 +.wp-media-editor-image-editor {
4862 + position: relative;
4863 + overflow: hidden;
4864 + width: 100%;
4865 + height: 100%;
4866 + touch-action: none;
4867 + -webkit-user-select: none;
4868 + user-select: none;
4869 + cursor: grab;
4870 +}
4750 4871
4872 +.wp-media-editor-image-editor__canvas {
4873 + position: absolute;
4874 + inset: 24px;
4875 + min-height: 100px;
4876 + min-width: 100px;
4877 +}
4878 +
4879 +.wp-media-editor-image-editor__canvas:focus {
4880 + outline: none;
4881 +}
4882 +
4883 +.wp-media-editor-image-editor__stage {
4884 + position: absolute;
4885 + inset: 0;
4886 +}
4887 +
4888 +.wp-media-editor-image-editor--dragging {
4889 + cursor: grabbing;
4890 +}
4891 +
4892 +.wp-media-editor-image-editor__image {
4893 + position: absolute;
4894 + top: 0;
4895 + left: 0;
4896 + will-change: transform;
4897 + transform-origin: center center;
4898 +}
4899 +
4900 +.wp-media-editor-image-editor__stencil {
4901 + position: absolute;
4902 + pointer-events: none;
4903 +}
4904 +
4905 +.wp-media-editor-image-editor__dimming {
4906 + position: absolute;
4907 + pointer-events: none;
4908 + /* Large shadow spread washes everything outside the crop area
4909 + toward the canvas grey ($gray-200). Slightly stronger at rest
4910 + for clear crop framing, lighter during drag so the user can see
4911 + where they're panning. */
4912 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.6);
4913 + transition: box-shadow 0.15s ease;
4914 +}
4915 +
4916 +.wp-media-editor-image-editor--dragging .wp-media-editor-image-editor__dimming {
4917 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.4);
4918 +}
4919 +
4920 +.wp-media-editor-image-editor__grid {
4921 + position: absolute;
4922 + pointer-events: none;
4923 + overflow: hidden;
4924 + transition: opacity 0.15s ease;
4925 +}
4926 +
4927 +.wp-media-editor-image-editor__canvas--grid-interactive .wp-media-editor-image-editor__grid {
4928 + opacity: 0;
4929 + transition-delay: 0.1s;
4930 +}
4931 +
4932 +.wp-media-editor-image-editor__canvas--show-grid .wp-media-editor-image-editor__grid {
4933 + opacity: 1;
4934 + transition-delay: 0s;
4935 +}
4936 +
4937 +.wp-media-editor-image-editor__canvas--settling .wp-media-editor-image-editor__grid {
4938 + opacity: 0;
4939 + transition: none;
4940 +}
4941 +
4942 +.wp-media-editor-image-editor__grid-line {
4943 + position: absolute;
4944 + background: rgba(255, 255, 255, 0.4);
4945 +}
4946 +
4947 +.wp-media-editor-image-editor__grid-line--horizontal {
4948 + left: 0;
4949 + width: 100%;
4950 + height: 1px;
4951 +}
4952 +
4953 +.wp-media-editor-image-editor__grid-line--vertical {
4954 + top: 0;
4955 + height: 100%;
4956 + width: 1px;
4957 +}
4958 +
4959 +.wp-media-editor-image-editor__dimensions-tooltip {
4960 + position: absolute;
4961 + padding: 2px 6px;
4962 + background: #fff;
4963 + color: #1e1e1e;
4964 + font-size: 11px;
4965 + line-height: 1.4;
4966 + font-variant-numeric: tabular-nums;
4967 + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.08);
4968 + pointer-events: none;
4969 + white-space: nowrap;
4970 + z-index: 2;
4971 +}
4972 +
4973 +.wp-media-editor-image-editor__stencil-rect {
4974 + position: absolute;
4975 + border: 1px solid #1e1e1e;
4976 + box-sizing: border-box;
4977 + pointer-events: none;
4978 + transition: border-color 0.15s ease, box-shadow 0.15s ease;
4979 +}
4980 +
4981 +.wp-media-editor-image-editor__canvas--focus-visible:focus .wp-media-editor-image-editor__stencil-rect {
4982 + border-color: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4983 + box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4984 +}
4985 +
4986 +.wp-media-editor-image-editor__handle {
4987 + appearance: none;
4988 + margin: 0;
4989 + padding: 0;
4990 + font: inherit;
4991 + cursor: default;
4992 + position: absolute;
4993 + width: 12px;
4994 + height: 12px;
4995 + background: #fff;
4996 + border: 1px solid var(--wp-admin-theme-color, #007cba);
4997 + border-radius: 50%;
4998 + box-sizing: border-box;
4999 + pointer-events: auto;
5000 + transition: background-color 0.15s ease, box-shadow 0.15s ease;
5001 +}
5002 +
5003 +.wp-media-editor-image-editor__handle:focus {
5004 + outline: none;
5005 +}
5006 +
5007 +.wp-media-editor-image-editor__canvas--focus-visible .wp-media-editor-image-editor__handle:focus {
5008 + background: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
5009 + border-color: transparent;
5010 + box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
5011 +}
5012 +
5013 +.wp-media-editor-image-editor__handle::before {
5014 + content: "";
5015 + position: absolute;
5016 + top: 50%;
5017 + left: 50%;
5018 + width: 44px;
5019 + height: 44px;
5020 + transform: translate(-50%, -50%);
5021 +}
5022 +
5023 +.wp-media-editor-image-editor__handle {
5024 + /* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */
5025 +}
5026 +
5027 +.wp-media-editor-image-editor__handle--n {
5028 + top: -6px;
5029 + left: 50%;
5030 + margin-left: -6px;
5031 + cursor: ns-resize;
5032 +}
5033 +
5034 +.wp-media-editor-image-editor__handle--s {
5035 + bottom: -6px;
5036 + left: 50%;
5037 + margin-left: -6px;
5038 + cursor: ns-resize;
5039 +}
5040 +
5041 +.wp-media-editor-image-editor__handle--e {
5042 + top: 50%;
5043 + right: -6px;
5044 + margin-top: -6px;
5045 + cursor: ew-resize;
5046 +}
5047 +
5048 +.wp-media-editor-image-editor__handle--w {
5049 + top: 50%;
5050 + left: -6px;
5051 + margin-top: -6px;
5052 + cursor: ew-resize;
5053 +}
5054 +
5055 +.wp-media-editor-image-editor__handle--nw {
5056 + top: -6px;
5057 + left: -6px;
5058 + cursor: nwse-resize;
5059 +}
5060 +
5061 +.wp-media-editor-image-editor__handle--ne {
5062 + top: -6px;
5063 + right: -6px;
5064 + cursor: nesw-resize;
5065 +}
5066 +
5067 +.wp-media-editor-image-editor__handle--sw {
5068 + bottom: -6px;
5069 + left: -6px;
5070 + cursor: nesw-resize;
5071 +}
5072 +
5073 +.wp-media-editor-image-editor__handle--se {
5074 + bottom: -6px;
5075 + right: -6px;
5076 + cursor: nwse-resize;
5077 +}
5078 +/**
5079 + * Breakpoints & Media Queries
5080 + */
5081 +/**
5082 + * Typography
5083 + */
5084 +/**
5085 +* Converts a hex value into the rgb equivalent.
5086 +*
5087 +* @param {string} hex - the hexadecimal value to convert
5088 +* @return {string} comma separated rgb values
5089 +*/
5090 +/**
5091 + * Long content fade mixin
5092 + *
5093 + * Creates a fading overlay to signify that the content is longer
5094 + * than the space allows.
5095 + */
5096 +/**
5097 + * Breakpoint mixins
5098 + */
5099 +/**
5100 + * Focus styles.
5101 + */
5102 +/**
5103 + * Standard focus rings for the WordPress Design System.
5104 + *
5105 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
5106 + * e.g. `&:focus { @include outset-ring__focus(); }`.
5107 + */
5108 +/**
5109 + * Applies editor left position to the selector passed as argument
5110 + */
5111 +/**
5112 + * Styles that are reused verbatim in a few places
5113 + */
5114 +/**
5115 + * Allows users to opt-out of animations via OS-level preferences.
5116 + */
5117 +/**
5118 + * Reset default styles for JavaScript UI based pages.
5119 + * This is a WP-admin agnostic reset
5120 + */
5121 +/**
5122 + * Reset the WP Admin page styles for Gutenberg-like pages.
5123 + */
5124 +/**
5125 + * Creates a checkerboard pattern background to indicate transparency.
5126 + * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
5127 + */
5128 +.media-editor {
5129 + display: flex;
5130 + flex: 1;
5131 + flex-direction: column;
5132 + height: 100%;
5133 + min-height: 0;
5134 +}
5135 +
5136 +.media-editor .media-editor__loading {
5137 + height: 100%;
5138 + display: flex;
5139 + align-items: center;
5140 + justify-content: center;
5141 +}
5142 +
5143 +.media-editor .media-editor__body {
5144 + container-type: inline-size;
5145 + container-name: media-editor-body;
5146 + display: flex;
5147 + flex: 1;
5148 + min-height: 0;
5149 +}
5150 +
5151 +.media-editor .media-editor__content {
5152 + display: flex;
5153 + flex: 1;
5154 + flex-direction: column;
5155 + min-width: 0;
5156 + min-height: 0;
5157 + margin: 24px 24px 8px 24px;
5158 +}
5159 +
5160 +@media (min-width: 600px) {
5161 + .media-editor .media-editor__content {
5162 + margin: 0 24px;
5163 + }
5164 +}
5165 +@container media-editor-body (min-width: 864px) {
5166 + .media-editor .media-editor__content {
5167 + min-width: 520px;
5168 + }
5169 +}
5170 +.media-editor .media-editor__canvas-toolbar {
5171 + display: flex;
5172 + flex: 0 0 auto;
5173 + flex-direction: column;
5174 + align-items: center;
5175 + gap: 12px;
5176 +}
5177 +
5178 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
5179 + display: flex;
5180 + justify-content: center;
5181 + align-self: stretch;
5182 + background: #e0e0e0;
5183 + border-radius: 0 0 8px 8px;
5184 + padding: 8px 16px;
5185 +}
5186 +
5187 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler {
5188 + flex: 0 1 360px;
5189 + min-width: 0;
5190 +}
5191 +
5192 +.media-editor .media-editor__canvas-area {
5193 + display: flex;
5194 + align-items: center;
5195 + justify-content: center;
5196 + background: #e0e0e0;
5197 + border-radius: 8px;
5198 + overflow: auto;
5199 + flex: 1;
5200 + min-height: 0;
5201 +}
5202 +
5203 +.media-editor .media-editor__canvas-area .media-editor-preview {
5204 + height: 100%;
5205 +}
5206 +
5207 +.media-editor .media-editor__canvas-area img,
5208 +.media-editor .media-editor__canvas-area video {
5209 + max-width: 100%;
5210 + max-height: 100%;
5211 + object-fit: contain;
5212 +}
5213 +
5214 +.media-editor .media-editor__sidebar {
5215 + display: flex;
5216 + flex: 1;
5217 + flex-direction: column;
5218 + min-width: 0;
5219 + min-height: 0;
5220 + overflow: hidden;
5221 +}
5222 +
5223 +@media (min-width: 600px) {
5224 + .media-editor .media-editor__sidebar {
5225 + flex: none;
5226 + width: var(--wpds-dimension-surface-width-sm, 320px);
5227 + }
5228 +}
5229 +.media-editor .media-editor__tabs {
5230 + display: flex;
5231 + flex: 1;
5232 + flex-direction: column;
5233 + min-height: 0;
5234 +}
5235 +
5236 +.media-editor .media-editor__tablist {
5237 + flex-shrink: 0;
5238 + margin-inline: 24px;
5239 + background: #fff;
5240 + border-bottom: 1px solid #ddd;
5241 +}
5242 +
5243 +.media-editor .media-editor__panel {
5244 + flex: 1;
5245 + min-height: 0;
5246 + overflow-y: auto;
5247 + padding-block: 24px;
5248 + padding-inline: 24px;
5249 +}
5250 +
5251 +.media-editor .media-editor__content:has(.media-editor-fine-rotation) .media-editor__canvas-area {
5252 + border-end-start-radius: 0;
5253 + border-end-end-radius: 0;
5254 +}
5255 +
5256 +.media-editor .media-editor__body.has-panel-open .media-editor__content {
5257 + display: none;
5258 +}
5259 +
5260 +@media (min-width: 600px) {
5261 + .media-editor .media-editor__body.has-panel-open .media-editor__content {
5262 + display: flex;
5263 + margin: 0 24px 0 0;
5264 + }
5265 +}
5266 +.media-editor__snackbar {
5267 + position: fixed;
5268 + bottom: var(--wpds-dimension-size-md, 32px);
5269 + right: 0;
5270 + left: 0;
5271 + padding-inline: 16px;
5272 + box-sizing: border-box;
5273 + display: flex;
5274 + flex-direction: column;
5275 + pointer-events: none;
5276 +}
5277 +
5278 +.media-editor__snackbar .components-snackbar {
5279 + margin-inline: auto;
5280 +}
5281 +
5282 +.media-editor-form .dataforms-layouts-panel__field-control {
5283 + text-wrap: pretty;
5284 +}
5285 +
5286 +.media-editor-modal.components-modal__frame .components-modal__content {
5287 + padding: 0;
5288 + margin-bottom: 0;
5289 + display: flex;
5290 + flex-direction: column;
5291 + min-height: 0;
5292 +}
5293 +
5294 +.media-editor-modal.components-modal__frame .components-modal__children-container {
5295 + display: flex;
5296 + flex: 1;
5297 + flex-direction: column;
5298 + min-height: 0;
5299 +}
5300 +
5301 +.media-editor-modal.components-modal__frame .media-editor-modal__footer {
5302 + flex-shrink: 0;
5303 + display: flex;
5304 + flex-direction: row;
5305 + align-items: center;
5306 + gap: 16px;
5307 + padding: 24px;
5308 + background: #fff;
5309 +}
5310 +
5311 +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions {
5312 + margin-right: auto;
5313 +}
5314 +
5315 +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5316 + color: var(--wp-admin-theme-color);
5317 +}
5318 +
5319 +.media-editor-modal {
5320 + display: flex;
5321 + flex-direction: column;
5322 +}
5323 +
5324 +.media-editor-modal__snackbar {
5325 + position: fixed;
5326 + bottom: var(--wpds-dimension-size-md, 32px);
5327 + right: 0;
5328 + left: 0;
5329 + padding-inline: 16px;
5330 + box-sizing: border-box;
5331 + display: flex;
5332 + flex-direction: column;
5333 + pointer-events: none;
5334 +}
5335 +
5336 +.media-editor-modal__snackbar .components-snackbar {
5337 + margin-inline: auto;
5338 +}
5339 +
5340 +.media-editor-modal__snackbar {
5341 + z-index: 1000001;
5342 +}
5343 +
5344 +.media-editor-canvas {
5345 + position: relative;
5346 + width: 100%;
5347 + height: 100%;
5348 +}
5349 +
5350 +.media-editor-canvas__cropper {
5351 + width: 100%;
5352 + height: 100%;
5353 + opacity: 0;
5354 + pointer-events: none;
5355 +}
5356 +
5357 +.media-editor-canvas__cropper.is-loaded {
5358 + opacity: 1;
5359 + pointer-events: auto;
5360 +}
5361 +
5362 +@keyframes __wp-base-styles-fade-in {
5363 + from {
5364 + opacity: 0;
5365 + }
5366 + to {
5367 + opacity: 1;
5368 + }
5369 +}
5370 +@media not (prefers-reduced-motion) {
5371 + .media-editor-canvas__cropper.is-loaded {
5372 + animation: __wp-base-styles-fade-in 0.2s linear 0s;
5373 + animation-fill-mode: forwards;
5374 + }
5375 +}
5376 +.media-editor-canvas__spinner {
5377 + position: absolute;
5378 + top: 50%;
5379 + right: 50%;
5380 + transform: translate(50%, -50%);
5381 +}
5382 +
5383 +.media-editor-canvas__error {
5384 + display: flex;
5385 + align-items: center;
5386 + justify-content: center;
5387 + width: 100%;
5388 + height: 100%;
5389 + color: #757575;
5390 + text-align: center;
5391 +}
5392 +
5393 +.media-editor-image-controls {
5394 + display: flex;
5395 + flex-wrap: nowrap;
5396 + align-items: center;
5397 + gap: 8px;
5398 +}
5399 +
5400 +.media-editor-image-controls.is-stacked {
5401 + flex-direction: column;
5402 + align-items: flex-start;
5403 + gap: 24px;
5404 +}
5405 +
5406 +.media-editor-image-controls__transforms {
5407 + display: flex;
5408 + gap: 48px;
5409 +}
5410 +
5411 +.media-editor-image-controls__group {
5412 + display: flex;
5413 + flex-direction: column;
5414 + gap: 4px;
5415 +}
5416 +
5417 +.media-editor-image-controls__label {
5418 + font-size: 11px;
5419 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5420 + line-height: 1.4;
5421 + text-transform: uppercase;
5422 +}
5423 +
5424 +.media-editor-image-controls__buttons {
5425 + display: flex;
5426 + gap: 8px;
5427 + padding-inline: 2px 0;
5428 +}
5429 +
5430 +.media-editor-keyboard-shortcuts-modal {
5431 + min-width: 280px;
5432 +}
5433 +
5434 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__note {
5435 + margin: 0 0 16px;
5436 + color: #757575;
5437 + font-size: 13px;
5438 +}
5439 +
5440 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-list {
5441 + list-style: none;
5442 + margin: 0;
5443 + padding: 0;
5444 +}
5445 +
5446 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut {
5447 + display: flex;
5448 + align-items: baseline;
5449 + padding: 0.6rem 0;
5450 + border-top: 1px solid #ddd;
5451 + margin-bottom: 0;
5452 +}
5453 +
5454 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut:last-child {
5455 + border-bottom: 1px solid #ddd;
5456 +}
5457 +
5458 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-description {
5459 + flex: 1;
5460 + margin: 0;
5461 +}
5462 +
5463 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term {
5464 + background: none;
5465 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5466 + margin: 0 1rem 0 0;
5467 + padding: 0;
5468 + text-align: left;
5469 +}
5470 +
5471 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-key {
5472 + padding: 0.25rem 0.5rem;
5473 + border-radius: 8%;
5474 + margin: 0 0.2rem 0 0.2rem;
5475 +}
5476 +
5477 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-key:last-child {
5478 + margin: 0 0.2rem 0 0;
5479 +}
5480 +
5481 +.rotation-ruler {
5482 + position: relative;
5483 + min-width: 180px;
5484 + height: 32px;
5485 + padding: 0 8px;
5486 + box-sizing: border-box;
5487 + color: #1e1e1e;
5488 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5489 + -webkit-user-select: none;
5490 + user-select: none;
5491 + touch-action: none;
5492 + cursor: ew-resize;
5493 + direction: ltr;
5494 + container-type: inline-size;
5495 +}
5496 +
5497 +.rotation-ruler[data-disabled] {
5498 + opacity: 0.5;
5499 + pointer-events: none;
5500 + cursor: default;
5501 +}
5502 +
5503 +.rotation-ruler:has(.rotation-ruler__input:focus-visible) {
5504 + outline: 2px solid var(--wp-admin-theme-color, #3858e9);
5505 + outline-offset: 2px;
5506 + border-radius: 4px;
5507 +}
5508 +
5509 +.rotation-ruler__input {
5510 + position: absolute;
5511 + width: 1px;
5512 + height: 1px;
5513 + margin: -1px;
5514 + padding: 0;
5515 + border: 0;
5516 + clip-path: inset(50%);
5517 + overflow: hidden;
5518 + white-space: nowrap;
5519 +}
5520 +
5521 +.rotation-ruler__pointer {
5522 + position: absolute;
5523 + bottom: 0;
5524 + right: 50%;
5525 + width: 2px;
5526 + height: 18px;
5527 + background: var(--wp-admin-theme-color, #3858e9);
5528 + border-radius: 1px;
5529 + transform: translateX(50%);
5530 + pointer-events: none;
5531 +}
5532 +
5533 +.rotation-ruler__strip {
5534 + position: absolute;
5535 + inset: 0;
5536 + overflow: hidden;
5537 + mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
5538 + -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
5539 +}
5540 +
5541 +.rotation-ruler__ticks {
5542 + position: absolute;
5543 + left: 50%;
5544 + top: 0;
5545 + display: block;
5546 + overflow: visible;
5547 +}
5548 +
5549 +.rotation-ruler__tick {
5550 + stroke: currentColor;
5551 + stroke-width: 1;
5552 +}
5553 +
5554 +.rotation-ruler__tick--minor {
5555 + opacity: 0.35;
5556 +}
5557 +
5558 +.rotation-ruler__tick--mid {
5559 + opacity: 0.6;
5560 +}
5561 +
5562 +.rotation-ruler__tick--major {
5563 + opacity: 1;
5564 +}
5565 +
5566 +.rotation-ruler__label {
5567 + fill: currentColor;
5568 + font-size: 10px;
5569 + font-weight: 400;
5570 + opacity: 0.45;
5571 +}
5572 +
5573 +.rotation-ruler__active-label {
5574 + position: absolute;
5575 + top: 0;
5576 + right: 50%;
5577 + height: 14px;
5578 + transform: translateX(50%);
5579 + font-size: 12px;
5580 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5581 + line-height: 14px;
5582 + color: #1e1e1e;
5583 + pointer-events: none;
5584 +}
5585 +
5586 +.rotation-ruler__active-label::before {
5587 + content: "";
5588 + position: absolute;
5589 + top: 0;
5590 + right: 50%;
5591 + width: 60px;
5592 + height: 100%;
5593 + transform: translateX(50%);
5594 + background: linear-gradient(to left, transparent 0, #e0e0e0 12px, #e0e0e0 calc(100% - 12px), transparent 100%);
5595 +}
5596 +
5597 +.rotation-ruler__active-label-number {
5598 + position: relative;
5599 + display: inline-block;
5600 +}
5601 +
5602 +.rotation-ruler__active-label-sign {
5603 + position: absolute;
5604 + top: 0;
5605 + right: 100%;
5606 +}
5607 +
5608 +.rotation-ruler__active-label-unit {
5609 + position: absolute;
5610 + top: 0;
5611 + left: 100%;
5612 +}
5613 +
5614 +@container (max-width: 220px) {
5615 + .rotation-ruler__tick--minor {
5616 + opacity: 0;
5617 + }
5618 +}
5619 +@media (prefers-reduced-motion: reduce) {
5620 + .rotation-ruler__ticks {
5621 + transition: none;
5622 + }
5623 +}
4751 5624 .editor-autocompleters__link {
4752 5625 white-space: nowrap;
4753 5626 gap: 8px;
4754 5627 }
@@ -4754,9 +5627,9 @@
4754 5627 }
4755 5628
4756 5629 .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
4757 5630 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
4758 - font: normal 20px/1 dashicons;
5631 + font: 400 20px/1 dashicons;
4759 5632 content: "\f110";
4760 5633 margin-left: 5px;
4761 5634 vertical-align: middle;
4762 5635 }
@@ -4779,9 +5652,9 @@
4779 5652 .editor-autocompleters__user .editor-autocompleters__user-slug {
4780 5653 margin-right: 8px;
4781 5654 white-space: nowrap;
4782 5655 text-overflow: ellipsis;
4783 - overflow: none;
5656 + overflow: hidden;
4784 5657 max-width: 100px;
4785 5658 flex-grow: 0;
4786 5659 flex-shrink: 0;
4787 5660 }
@@ -4791,9 +5664,10 @@
4791 5664
4792 5665 .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
4793 5666 box-shadow: none;
4794 5667 }
4795 -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
5668 +
5669 +.editor-collab-sidebar__header {
4796 5670 display: none;
4797 5671 }
4798 5672
4799 5673 .editor-collab-sidebar {
@@ -4801,14 +5675,17 @@
4801 5675 overflow: hidden;
4802 5676 }
4803 5677
4804 5678 .editor-collab-sidebar-panel {
5679 + position: relative;
4805 5680 padding: 16px 16px 24px;
4806 5681 height: 100%;
4807 5682 overflow: hidden;
5683 + border-right: 1px solid color-mix(in srgb, currentColor 10%, transparent);
4808 5684 }
4809 5685
4810 -.editor-collab-sidebar-panel__thread {
5686 +.editor-collab-sidebar-panel__thread,
5687 +.editor-collab-sidebar-panel__add-note {
4811 5688 position: relative;
4812 5689 padding: 16px;
4813 5690 border-radius: 8px;
4814 5691 border: 1px solid #ddd;
@@ -4815,24 +5692,35 @@
4815 5692 background-color: #f0f0f0;
4816 5693 overflow: hidden;
4817 5694 width: auto;
4818 5695 }
4819 -.editor-collab-sidebar-panel__thread.is-selected {
5696 +.editor-collab-sidebar-panel__thread.is-selected,
5697 +.editor-collab-sidebar-panel__add-note.is-selected {
4820 5698 background-color: #fff;
4821 5699 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02);
4822 5700 z-index: 1;
4823 5701 }
4824 -.editor-collab-sidebar-panel__thread:focus {
5702 +.editor-collab-sidebar-panel__thread:focus,
5703 +.editor-collab-sidebar-panel__add-note:focus {
4825 5704 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
4826 5705 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
4827 5706 }
4828 -.editor-collab-sidebar-panel__thread.is-floating {
5707 +.editor-collab-sidebar-panel__thread.is-floating,
5708 +.editor-collab-sidebar-panel__add-note.is-floating {
4829 5709 right: 16px;
4830 5710 left: 16px;
4831 5711 position: absolute;
4832 5712 margin-top: 16px;
5713 + transform: translateY(var(--canvas-scroll, 0));
5714 + will-change: transform;
5715 + max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px);
5716 + overflow-y: auto;
4833 5717 }
4834 5718
5719 +.editor-collab-sidebar-panel__user-info {
5720 + flex: 1;
5721 +}
5722 +
4835 5723 .editor-collab-sidebar-panel__user-name {
4836 5724 font-size: 12px;
4837 5725 font-weight: 400;
4838 5726 line-height: 16px;
@@ -4837,9 +5725,9 @@
4837 5725 font-weight: 400;
4838 5726 line-height: 16px;
4839 5727 text-align: right;
4840 5728 color: #757575;
4841 - text-transform: capitalize;
5729 + overflow-wrap: anywhere;
4842 5730 }
4843 5731
4844 5732 .editor-collab-sidebar-panel__user-time {
4845 5733 font-size: 12px;
@@ -4848,11 +5736,30 @@
4848 5736 text-align: right;
4849 5737 color: #757575;
4850 5738 }
4851 5739
4852 -.editor-collab-sidebar-panel__user-comment p:last-child {
5740 +.editor-collab-sidebar-panel__show-more-button {
5741 + width: fit-content;
5742 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5743 + cursor: var(--wpds-cursor-control, pointer);
5744 +}
5745 +.editor-collab-sidebar-panel__show-more-button:hover, .editor-collab-sidebar-panel__show-more-button:focus, .editor-collab-sidebar-panel__show-more-button:active {
5746 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
5747 +}
5748 +
5749 +.editor-collab-sidebar-panel__note-content {
5750 + overflow-wrap: break-word;
5751 +}
5752 +.editor-collab-sidebar-panel__note-content p:last-child {
4853 5753 margin-bottom: 0;
4854 5754 }
5755 +.editor-collab-sidebar-panel__note-content.is-collapsed {
5756 + -webkit-line-clamp: 3;
5757 + line-clamp: 3;
5758 + display: -webkit-box;
5759 + -webkit-box-orient: vertical;
5760 + overflow: hidden;
5761 +}
4855 5762
4856 5763 .editor-collab-sidebar-panel__user-avatar {
4857 5764 border-radius: 50%;
4858 5765 flex-shrink: 0;
@@ -4861,12 +5768,12 @@
4861 5768 padding: var(--wp-admin-border-width-focus);
4862 5769 background: #fff;
4863 5770 }
4864 5771
4865 -.editor-collab-sidebar-panel__comment-status {
5772 +.editor-collab-sidebar-panel__note-actions {
4866 5773 margin-right: auto;
4867 5774 }
4868 -.editor-collab-sidebar-panel__comment-status button.has-icon:not(.has-text) {
5775 +.editor-collab-sidebar-panel__note-actions button.has-icon:not(.has-text) {
4869 5776 min-width: 24px;
4870 5777 padding: 0;
4871 5778 width: 24px;
4872 5779 height: 24px;
@@ -4872,67 +5779,50 @@
4872 5779 height: 24px;
4873 5780 flex-shrink: 0;
4874 5781 }
4875 5782
4876 -.editor-collab-sidebar-panel__comment-dropdown-menu {
4877 - flex-shrink: 0;
4878 -}
4879 -
4880 -.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
5783 +.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after,
5784 +.editor-collab-sidebar-panel__status-separator::before,
5785 +.editor-collab-sidebar-panel__status-separator::after {
4881 5786 content: "";
4882 - display: block;
4883 - width: 100%;
5787 + flex: 1;
4884 5788 height: 1px;
4885 5789 background-color: #ddd;
4886 - flex: 1;
4887 5790 }
4888 5791
4889 5792 .editor-collab-sidebar-panel__more-reply-button {
4890 - font-weight: 499;
5793 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4891 5794 }
4892 5795
5796 +.editor-collab-sidebar-panel__deleted-block-notice {
5797 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5798 + color: #757575;
5799 +}
5800 +
4893 5801 .editor-collab-sidebar-panel__resolution-text {
4894 5802 font-style: italic;
4895 5803 }
4896 5804
4897 -.editor-collab-sidebar-panel__comment-form textarea {
4898 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4899 - padding: 6px 8px;
4900 - /* Fonts smaller than 16px causes mobile safari to zoom. */
4901 - font-size: 16px;
4902 - /* Override core line-height. To be reviewed. */
4903 - line-height: normal;
4904 - box-shadow: 0 0 0 transparent;
5805 +.editor-collab-sidebar-panel__note-form [role=textbox] {
5806 + line-height: 20px;
5807 + max-height: 418px;
5808 + overflow-y: auto;
5809 + white-space: pre-wrap;
5810 + overflow-wrap: break-word;
5811 +}
5812 +.editor-collab-sidebar-panel__note-form [role=textbox] code {
5813 + font-family: Menlo, Consolas, monaco, monospace;
5814 + font-size: 0.9em;
5815 + padding: 0 2px;
5816 + background: #f0f0f0;
4905 5817 border-radius: 2px;
4906 - border: 1px solid #949494;
4907 5818 }
4908 -@media not (prefers-reduced-motion) {
4909 - .editor-collab-sidebar-panel__comment-form textarea {
4910 - transition: box-shadow 0.1s linear;
4911 - }
5819 +.editor-collab-sidebar-panel__note-form [role=textbox] a {
5820 + color: var(--wp-admin-theme-color);
5821 + text-decoration: underline;
4912 5822 }
4913 -@media (min-width: 600px) {
4914 - .editor-collab-sidebar-panel__comment-form textarea {
4915 - font-size: 13px;
4916 - /* Override core line-height. To be reviewed. */
4917 - line-height: normal;
4918 - }
4919 -}
4920 -.editor-collab-sidebar-panel__comment-form textarea:focus {
4921 - border-color: var(--wp-admin-theme-color);
4922 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
4923 - outline: 2px solid transparent;
4924 -}
4925 -.editor-collab-sidebar-panel__comment-form textarea::placeholder {
4926 - color: rgba(30, 30, 30, 0.62);
4927 -}
4928 -.editor-collab-sidebar-panel__comment-form textarea {
4929 - padding: 9px 11px;
4930 - line-height: 20px !important;
4931 - display: block;
4932 -}
4933 5823
4934 -.editor-collab-sidebar-panel__skip-to-comment,
5824 +.editor-collab-sidebar-panel__skip-to-note,
4935 5825 .editor-collab-sidebar-panel__skip-to-block {
4936 5826 position: absolute;
4937 5827 top: -9999px;
4938 5828 left: -9999px;
@@ -4940,9 +5830,9 @@
4940 5830 clip-path: inset(50%);
4941 5831 background: #fff !important;
4942 5832 z-index: -1;
4943 5833 }
4944 -.editor-collab-sidebar-panel__skip-to-comment:focus,
5834 +.editor-collab-sidebar-panel__skip-to-note:focus,
4945 5835 .editor-collab-sidebar-panel__skip-to-block:focus {
4946 5836 overflow: visible;
4947 5837 clip-path: none;
4948 5838 z-index: 1;
@@ -4948,9 +5838,9 @@
4948 5838 z-index: 1;
4949 5839 left: 8px;
4950 5840 }
4951 5841
4952 -.editor-collab-sidebar-panel__skip-to-comment:focus {
5842 +.editor-collab-sidebar-panel__skip-to-note:focus {
4953 5843 top: 8px;
4954 5844 }
4955 5845
4956 5846 .editor-collab-sidebar-panel__skip-to-block:focus {
@@ -4957,9 +5847,9 @@
4957 5847 top: auto;
4958 5848 bottom: 8px;
4959 5849 }
4960 5850
4961 -.comment-avatar {
5851 +.editor-note-indicator__avatar {
4962 5852 width: 24px;
4963 5853 border-radius: 50%;
4964 5854 margin-right: -12px;
4965 5855 border-width: var(--wp-admin-border-width-focus);
@@ -4967,23 +5857,55 @@
4967 5857 padding: var(--wp-admin-border-width-focus);
4968 5858 background: #fff;
4969 5859 box-sizing: border-box;
4970 5860 }
4971 -.comment-avatar:first-child {
5861 +.editor-note-indicator__avatar:first-child {
4972 5862 margin-right: 0;
4973 5863 }
4974 5864
4975 -.show-icon-labels .comment-avatar-indicator {
5865 +.editor-note-indicator__overflow {
5866 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5867 +}
5868 +
5869 +.show-icon-labels .editor-note-indicator {
4976 5870 width: auto;
4977 5871 }
4978 -.show-icon-labels .comment-avatar-indicator div {
5872 +.show-icon-labels .editor-note-indicator div {
4979 5873 display: none;
4980 5874 }
4981 -.show-icon-labels .comment-avatar-indicator::after {
5875 +.show-icon-labels .editor-note-indicator::after {
4982 5876 content: attr(aria-label);
4983 5877 font-size: 12px;
4984 5878 }
4985 5879
5880 +mark.wp-note {
5881 + border-radius: 1px;
5882 + transition: background-color 0.1s ease-in-out;
5883 +}
5884 +
5885 +.wp-note-mention {
5886 + display: inline;
5887 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
5888 + border-radius: var(--wpds-border-radius-sm, 2px);
5889 + background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white));
5890 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5891 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5892 +}
5893 +@media (forced-colors: active) {
5894 + .wp-note-mention {
5895 + border: 1px solid;
5896 + }
5897 +}
5898 +
5899 +.editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar {
5900 + border-radius: 50%;
5901 +}
5902 +
5903 +.editor-rich-text-control [data-rich-text-placeholder]::after {
5904 + content: attr(data-rich-text-placeholder);
5905 + color: color-mix(in srgb, currentColor, transparent 38%);
5906 +}
5907 +
4986 5908 .editor-avatar {
4987 5909 position: relative;
4988 5910 display: inline-flex;
4989 5911 align-items: center;
@@ -5041,9 +5963,9 @@
5041 5963 display: flex;
5042 5964 align-items: center;
5043 5965 justify-content: center;
5044 5966 font-size: 11px;
5045 - font-weight: 499;
5967 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5046 5968 border: 0;
5047 5969 background-clip: border-box;
5048 5970 }
5049 5971 .editor-avatar:not(.has-src) > .editor-avatar__image::after {
@@ -5055,9 +5977,9 @@
5055 5977 }
5056 5978
5057 5979 .editor-avatar__name {
5058 5980 font-size: 13px;
5059 - font-weight: 499;
5981 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5060 5982 line-height: 20px;
5061 5983 color: var(--editor-avatar-name-color, #fff);
5062 5984 min-width: 0;
5063 5985 padding-bottom: 2px;
@@ -5180,8 +6102,113 @@
5180 6102 color: #1e1e1e;
5181 6103 white-space: nowrap;
5182 6104 }
5183 6105
6106 +.editor-collaborators-presence__list.components-popover .components-popover__content {
6107 + border: 1px solid #ddd;
6108 + border-width: 1px 1px 0 0;
6109 + border-radius: 8px;
6110 + background: #fff;
6111 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
6112 +}
6113 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-content {
6114 + min-width: 280px;
6115 +}
6116 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header {
6117 + display: flex;
6118 + justify-content: space-between;
6119 + align-items: center;
6120 + padding: 8px 16px;
6121 +}
6122 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title {
6123 + font-size: 13px;
6124 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6125 + line-height: 20px;
6126 + display: flex;
6127 + gap: 4px;
6128 +}
6129 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title span {
6130 + color: #757575;
6131 +}
6132 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-action {
6133 + padding: 0;
6134 +}
6135 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-action button {
6136 + color: #1e1e1e;
6137 + height: 32px;
6138 + width: 32px;
6139 + padding: 0;
6140 +}
6141 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-items {
6142 + display: flex;
6143 + flex-direction: column;
6144 + padding-bottom: 16px;
6145 +}
6146 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item {
6147 + all: unset;
6148 + box-sizing: border-box;
6149 + display: flex;
6150 + align-items: center;
6151 + padding: 12px 16px;
6152 + gap: 8px;
6153 + width: 100%;
6154 + cursor: var(--wpds-cursor-control, pointer);
6155 + transition: background-color 0.2s ease;
6156 +}
6157 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:hover:not(:disabled) {
6158 + background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
6159 +}
6160 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:active:not(:disabled) {
6161 + background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
6162 +}
6163 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:focus-visible {
6164 + outline: 2px solid var(--wp-admin-theme-color, #3858e9);
6165 + outline-offset: -2px;
6166 +}
6167 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:disabled {
6168 + cursor: default;
6169 +}
6170 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-info {
6171 + display: flex;
6172 + flex-direction: column;
6173 + flex: 1;
6174 + min-width: 0;
6175 +}
6176 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name {
6177 + font-size: 13px;
6178 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6179 + line-height: 20px;
6180 + color: #1e1e1e;
6181 + overflow: hidden;
6182 + text-overflow: ellipsis;
6183 + white-space: nowrap;
6184 +}
6185 +
6186 +.editor-collaborators-presence {
6187 + display: flex;
6188 + align-items: center;
6189 + flex-shrink: 0;
6190 + height: 32px;
6191 + background: #f0f0f0;
6192 + border-radius: 4px;
6193 +}
6194 +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) {
6195 + background-color: #e0e0e0;
6196 +}
6197 +
6198 +.editor-header__center .editor-collaborators-presence {
6199 + margin-left: 8px;
6200 +}
6201 +
6202 +.editor-collaborators-presence__button.editor-collaborators-presence__button {
6203 + position: relative;
6204 + padding: 4px;
6205 +}
6206 +.editor-collaborators-presence__button.editor-collaborators-presence__button, .editor-collaborators-presence__button.editor-collaborators-presence__button:hover, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed:hover {
6207 + background: transparent;
6208 + color: #2f2f2f;
6209 +}
6210 +
5184 6211 .editor-collapsible-block-toolbar {
5185 6212 overflow: hidden;
5186 6213 display: flex;
5187 6214 align-items: center;
@@ -5248,9 +6275,9 @@
5248 6275 background-color: #fff;
5249 6276 text-align: center;
5250 6277 position: sticky;
5251 6278 top: -5px;
5252 - z-index: 2;
6279 + z-index: 1;
5253 6280 }
5254 6281 .editor-block-visibility__disabled-blocks-count ~ .block-editor-block-manager__content .block-editor-block-manager__category-title {
5255 6282 top: 31px;
5256 6283 }
@@ -5275,11 +6302,8 @@
5275 6302 }
5276 6303 .editor-document-bar:hover {
5277 6304 background-color: #e0e0e0;
5278 6305 }
5279 -.editor-document-bar .components-button {
5280 - border-radius: 4px;
5281 -}
5282 6306 @media not (prefers-reduced-motion) {
5283 6307 .editor-document-bar .components-button {
5284 6308 transition: background-color 0.1s ease-out;
5285 6309 }
@@ -5304,13 +6328,8 @@
5304 6328 color: #1e1e1e;
5305 6329 margin: 0 auto;
5306 6330 max-width: 70%;
5307 6331 }
5308 -@media (min-width: 782px) {
5309 - .editor-document-bar__title {
5310 - padding-right: 24px;
5311 - }
5312 -}
5313 6332 .editor-document-bar__title h1 {
5314 6333 display: flex;
5315 6334 align-items: center;
5316 6335 justify-content: center;
@@ -5336,19 +6355,8 @@
5336 6355 display: none;
5337 6356 }
5338 6357 }
5339 6358
5340 -.editor-document-bar__shortcut {
5341 - color: #2f2f2f;
5342 - min-width: 24px;
5343 - display: none;
5344 -}
5345 -@media (min-width: 782px) {
5346 - .editor-document-bar__shortcut {
5347 - display: initial;
5348 - }
5349 -}
5350 -
5351 6359 .editor-document-bar__back.components-button.has-icon.has-text {
5352 6360 min-width: 36px;
5353 6361 flex-shrink: 0;
5354 6362 color: #757575;
@@ -5367,9 +6375,9 @@
5367 6375 display: none;
5368 6376 pointer-events: none;
5369 6377 }
5370 6378 .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
5371 - fill: #949494;
6379 + color: #949494;
5372 6380 }
5373 6381 @media (min-width: 600px) {
5374 6382 .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
5375 6383 display: flex;
@@ -5408,9 +6416,9 @@
5408 6416 content: "—————";
5409 6417 }
5410 6418
5411 6419 .document-outline__button {
5412 - cursor: pointer;
6420 + cursor: var(--wpds-cursor-control, pointer);
5413 6421 background: none;
5414 6422 border: none;
5415 6423 display: flex;
5416 6424 align-items: flex-start;
@@ -5499,12 +6507,12 @@
5499 6507 .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
5500 6508 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
5501 6509 background: #1e1e1e;
5502 6510 }
5503 -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
5504 -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
5505 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
5506 - outline: 1px solid transparent;
6511 +.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:active),
6512 +.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:active) {
6513 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
6514 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
5507 6515 }
5508 6516 .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
5509 6517 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
5510 6518 display: none;
@@ -5535,8 +6543,18 @@
5535 6543 .editor-editor-interface .interface-interface-skeleton__content {
5536 6544 isolation: isolate;
5537 6545 }
5538 6546
6547 +.editor-notices.notices-inline-notices-wrapper,
6548 +.editor-notices .components-notice-list {
6549 + gap: 0;
6550 +}
6551 +
6552 +.editor-notices .components-notice {
6553 + border-top-width: 0;
6554 + border-inline-width: 0;
6555 +}
6556 +
5539 6557 .editor-visual-editor {
5540 6558 flex: 1 0 auto;
5541 6559 }
5542 6560
@@ -5547,79 +6565,29 @@
5547 6565 top: 0;
5548 6566 left: 0;
5549 6567 }
5550 6568
5551 -.entities-saved-states__panel-header {
5552 - box-sizing: border-box;
5553 - background: #fff;
5554 - padding-right: 16px;
5555 - padding-left: 16px;
5556 - height: 64px;
5557 - border-bottom: 1px solid #ddd;
6569 +.editor-error-boundary {
6570 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
6571 + margin: auto;
6572 + width: 100%;
6573 + max-width: var(--wpds-dimension-surface-width-lg, 560px);
6574 + padding: var(--wpds-dimension-padding-xl, 20px);
6575 + margin-top: 64px;
5558 6576 }
5559 6577
5560 -.entities-saved-states__text-prompt {
5561 - padding: 16px;
5562 - padding-bottom: 4px;
6578 +.editor-error-boundary__report {
6579 + max-height: 420px;
6580 + overflow: auto;
6581 + overflow-anchor: none;
5563 6582 }
5564 -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
5565 - display: block;
5566 - margin-bottom: 12px;
5567 -}
5568 6583
5569 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
5570 - padding: 0;
6584 +.editor-error-boundary__report-section {
6585 + margin: 0;
6586 + white-space: pre-wrap;
6587 + overflow-wrap: break-word;
5571 6588 }
5572 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
5573 - padding-right: 0;
5574 - padding-left: 0;
5575 - border: 0;
5576 -}
5577 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
5578 - margin-right: -16px;
5579 - margin-left: -16px;
5580 - margin-bottom: 0;
5581 -}
5582 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
5583 - font-size: 11px;
5584 - text-transform: uppercase;
5585 -}
5586 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
5587 - display: none;
5588 -}
5589 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
5590 - margin-top: 0;
5591 - margin-bottom: 8px;
5592 -}
5593 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
5594 - margin-top: 16px;
5595 -}
5596 6589
5597 -.entities-saved-states__change-control {
5598 - flex: 1;
5599 -}
5600 -
5601 -.entities-saved-states__changes {
5602 - font-size: 13px;
5603 - margin: 4px 24px 0 16px;
5604 - list-style: disc;
5605 -}
5606 -.entities-saved-states__changes li {
5607 - margin-bottom: 4px;
5608 -}
5609 -
5610 -.editor-error-boundary {
5611 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5612 - margin: auto;
5613 - max-width: 780px;
5614 - padding: 1em;
5615 - margin-top: 64px;
5616 - 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);
5617 - border: 1px solid #1e1e1e;
5618 - border-radius: 2px;
5619 - background-color: #fff;
5620 -}
5621 -
5622 6590 .editor-global-styles-header__description {
5623 6591 padding: 0 16px;
5624 6592 }
5625 6593
@@ -5635,23 +6603,33 @@
5635 6603 .editor-global-styles-sidebar__panel {
5636 6604 flex: 1;
5637 6605 }
5638 6606
5639 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
5640 - margin: 0;
6607 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header {
6608 + flex-grow: 1;
5641 6609 }
5642 6610
5643 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6611 +.editor-global-styles-sidebar:has(.global-styles-ui-screen-revisions) {
6612 + overflow: hidden;
6613 +}
6614 +
6615 +.editor-global-styles-sidebar__panel:has(.global-styles-ui-screen-revisions) {
6616 + display: flex;
6617 + flex-direction: column;
6618 + min-height: 0;
6619 +}
6620 +
6621 +.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-provider:has(.global-styles-ui-screen-revisions) {
5644 6622 flex: 1;
6623 + min-height: 0;
5645 6624 }
5646 6625
5647 -.editor-global-styles-sidebar .components-navigation__menu-title-heading {
5648 - font-size: 15.6px;
5649 - font-weight: 499;
6626 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6627 + margin: 0;
5650 6628 }
5651 6629
5652 -.editor-global-styles-sidebar .components-navigation__item > button span {
5653 - font-weight: 499;
6630 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6631 + flex: 1;
5654 6632 }
5655 6633
5656 6634 .editor-global-styles-sidebar .block-editor-panel-color-gradient-settings {
5657 6635 border: 0;
@@ -5708,9 +6686,9 @@
5708 6686 max-width: 100%;
5709 6687 object-fit: cover;
5710 6688 }
5711 6689 .editor-welcome-guide__heading {
5712 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6690 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5713 6691 font-size: 24px;
5714 6692 line-height: 1.4;
5715 6693 margin: 16px 0 16px 0;
5716 6694 padding: 0 32px;
@@ -5724,9 +6702,9 @@
5724 6702 .editor-welcome-guide__text img {
5725 6703 vertical-align: bottom;
5726 6704 }
5727 6705 .editor-welcome-guide .components-button:hover svg {
5728 - fill: #fff;
6706 + color: #fff;
5729 6707 }
5730 6708
5731 6709 .editor-header {
5732 6710 box-sizing: border-box;
@@ -5740,16 +6718,16 @@
5740 6718 height: 64px;
5741 6719 background: #fff;
5742 6720 display: grid;
5743 6721 grid-auto-flow: row;
5744 - grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
6722 + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px;
5745 6723 }
5746 6724 .editor-header:has(> .editor-header__center) {
5747 - grid-template: auto/64px min-content 1fr min-content 64px;
6725 + grid-template: auto/auto min-content 1fr min-content 64px;
5748 6726 }
5749 6727 @media (min-width: 782px) {
5750 6728 .editor-header:has(> .editor-header__center) {
5751 - grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6729 + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
5752 6730 }
5753 6731 }
5754 6732 @media (min-width: 480px) {
5755 6733 .editor-header {
@@ -5766,8 +6744,15 @@
5766 6744 flex-wrap: nowrap;
5767 6745 }
5768 6746 }
5769 6747
6748 +.editor-header__back-button {
6749 + margin: 0 8px 0 -8px;
6750 +}
6751 +.show-icon-labels .editor-header__back-button {
6752 + margin-left: 0;
6753 +}
6754 +
5770 6755 .editor-header__toolbar {
5771 6756 grid-column: 1/3;
5772 6757 }
5773 6758 .editor-header__toolbar > :first-child {
@@ -5812,9 +6797,8 @@
5812 6797 display: flex;
5813 6798 justify-content: center;
5814 6799 align-items: center;
5815 6800 min-width: 0;
5816 - clip-path: inset(-2px);
5817 6801 }
5818 6802 @media (max-width: 479px) {
5819 6803 .editor-header__center > :first-child {
5820 6804 margin-inline-start: 8px;
@@ -5822,11 +6806,8 @@
5822 6806 .editor-header__center > :last-child {
5823 6807 margin-inline-end: 8px;
5824 6808 }
5825 6809 }
5826 -.editor-revisions-header .editor-header__center {
5827 - clip-path: none;
5828 -}
5829 6810
5830 6811 /**
5831 6812 * Buttons on the right side
5832 6813 */
@@ -5976,9 +6957,9 @@
5976 6957 }
5977 6958 .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
5978 6959 visibility: hidden;
5979 6960 }
5980 -.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
6961 +.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown__toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
5981 6962 display: none;
5982 6963 }
5983 6964 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
5984 6965 opacity: 1 !important;
@@ -5985,15 +6966,15 @@
5985 6966 }
5986 6967 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
5987 6968 transform: translateX(0) translateZ(0) !important;
5988 6969 }
5989 -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
6970 +.editor-editor-interface.is-distraction-free .editor-notices__dismissible {
5990 6971 position: absolute;
5991 6972 z-index: 35;
5992 6973 }
5993 -
5994 -.components-popover.more-menu-dropdown__content {
5995 - z-index: 99998;
6974 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:hover,
6975 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6976 + z-index: 36;
5996 6977 }
5997 6978
5998 6979 .editor-inserter-sidebar {
5999 6980 box-sizing: border-box;
@@ -6017,9 +6998,9 @@
6017 6998 margin: 0 0 2rem 0;
6018 6999 }
6019 7000 .editor-keyboard-shortcut-help-modal__section-title {
6020 7001 font-size: 0.9rem;
6021 - font-weight: 600;
7002 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6022 7003 }
6023 7004 .editor-keyboard-shortcut-help-modal__shortcut {
6024 7005 display: flex;
6025 7006 align-items: baseline;
@@ -6033,9 +7014,9 @@
6033 7014 .editor-keyboard-shortcut-help-modal__shortcut:empty {
6034 7015 display: none;
6035 7016 }
6036 7017 .editor-keyboard-shortcut-help-modal__shortcut-term {
6037 - font-weight: 600;
7018 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6038 7019 margin: 0 1rem 0 0;
6039 7020 text-align: left;
6040 7021 }
6041 7022 .editor-keyboard-shortcut-help-modal__shortcut-description {
@@ -6123,9 +7104,9 @@
6123 7104 scrollbar-gutter: auto;
6124 7105 }
6125 7106
6126 7107 .editor-list-view-sidebar__list-view-panel-content {
6127 - padding: 4px;
7108 + padding: 8px;
6128 7109 }
6129 7110
6130 7111 .editor-list-view-sidebar__list-view-container {
6131 7112 display: flex;
@@ -6156,8 +7137,13 @@
6156 7137 line-height: 1.4;
6157 7138 color: #757575;
6158 7139 }
6159 7140
7141 +.editor-more-menu__popup {
7142 + max-height: var(--available-height);
7143 + max-width: var(--wpds-dimension-surface-width-sm, 320px);
7144 +}
7145 +
6160 7146 .editor-post-parent__panel,
6161 7147 .editor-post-order__panel {
6162 7148 padding-top: 8px;
6163 7149 }
@@ -6200,10 +7186,10 @@
6200 7186 .editor-post-card-panel__title {
6201 7187 width: 100%;
6202 7188 }
6203 7189 .editor-post-card-panel__title.editor-post-card-panel__title {
6204 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6205 - font-weight: 499;
7190 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7191 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6206 7192 font-size: 13px;
6207 7193 line-height: 20px;
6208 7194 margin: 0;
6209 7195 display: flex;
@@ -6210,9 +7196,10 @@
6210 7196 align-items: center;
6211 7197 flex-wrap: wrap;
6212 7198 column-gap: 8px;
6213 7199 row-gap: 4px;
6214 - word-break: break-word;
7200 + word-break: normal;
7201 + overflow-wrap: anywhere;
6215 7202 }
6216 7203 .editor-post-card-panel__icon {
6217 7204 flex: 0 0 24px;
6218 7205 width: 24px;
@@ -6301,9 +7288,9 @@
6301 7288 .editor-post-featured-image__toggle,
6302 7289 .editor-post-featured-image__preview {
6303 7290 width: 100%;
6304 7291 padding: 0;
6305 - box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
7292 + border-color: #ccc;
6306 7293 overflow: hidden;
6307 7294 outline-offset: -1px;
6308 7295 min-height: 40px;
6309 7296 display: flex;
@@ -6323,15 +7310,8 @@
6323 7310 object-position: 50% 50%;
6324 7311 aspect-ratio: 2/1;
6325 7312 }
6326 7313
6327 -.editor-post-featured-image__toggle {
6328 - box-shadow: inset 0 0 0 1px #ccc;
6329 -}
6330 -.editor-post-featured-image__toggle:focus:not(:disabled) {
6331 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
6332 -}
6333 -
6334 7314 .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
6335 7315 bottom: 0;
6336 7316 opacity: 0;
6337 7317 padding: 8px;
@@ -6368,9 +7348,9 @@
6368 7348 }
6369 7349
6370 7350 .editor-post-last-revision__title {
6371 7351 width: 100%;
6372 - font-weight: 499;
7352 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6373 7353 }
6374 7354
6375 7355 .editor-post-last-revision__title.components-button.has-icon {
6376 7356 height: 100%;
@@ -6379,9 +7359,9 @@
6379 7359 .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
6380 7360 background: #f0f0f0;
6381 7361 }
6382 7362 .editor-post-last-revision__title.components-button.has-icon:focus {
6383 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7363 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
6384 7364 border-radius: 0;
6385 7365 }
6386 7366
6387 7367 .components-panel__body.is-opened.editor-post-last-revision__panel {
@@ -6391,12 +7371,8 @@
6391 7371 .components-panel__body.is-opened.editor-post-last-revision__panel .editor-post-last-revision__title.components-button.components-button {
6392 7372 padding: 16px;
6393 7373 }
6394 7374
6395 -.editor-private-post-last-revision__button {
6396 - display: inline-block;
6397 -}
6398 -
6399 7375 .editor-post-locked-modal__buttons {
6400 7376 margin-top: 24px;
6401 7377 }
6402 7378
@@ -6421,8 +7397,10 @@
6421 7397 align-items: center;
6422 7398 padding: 6px 0;
6423 7399 line-height: 20px;
6424 7400 hyphens: auto;
7401 + word-break: normal;
7402 + overflow-wrap: anywhere;
6425 7403 }
6426 7404
6427 7405 .editor-post-panel__row-control {
6428 7406 flex-grow: 1;
@@ -6437,9 +7415,9 @@
6437 7415 text-wrap: balance;
6438 7416 text-wrap: pretty;
6439 7417 height: auto;
6440 7418 min-height: 32px;
6441 - font-weight: 400;
7419 + font-weight: var(--wpds-typography-font-weight-default, 400);
6442 7420 }
6443 7421 .editor-post-panel__row-control .components-dropdown {
6444 7422 max-width: 100%;
6445 7423 }
@@ -6498,9 +7476,10 @@
6498 7476 .components-site-home {
6499 7477 display: block;
6500 7478 color: #757575;
6501 7479 font-size: 12px;
6502 - word-break: break-word;
7480 + word-break: normal;
7481 + overflow-wrap: anywhere;
6503 7482 }
6504 7483
6505 7484 .editor-post-publish-panel__header-publish-button,
6506 7485 .editor-post-publish-panel__header-cancel-button {
@@ -6521,12 +7500,8 @@
6521 7500 .editor-post-publish-panel__header-cancel-button {
6522 7501 padding-left: 4px;
6523 7502 }
6524 7503
6525 -.editor-post-publish-panel__header-published {
6526 - flex-grow: 1;
6527 -}
6528 -
6529 7504 .editor-post-publish-panel__footer {
6530 7505 padding: 16px;
6531 7506 }
6532 7507
@@ -6556,11 +7531,8 @@
6556 7531 background: #fff;
6557 7532 margin-right: -16px;
6558 7533 margin-left: -16px;
6559 7534 }
6560 -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
6561 - display: none;
6562 -}
6563 7535 .editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
6564 7536 align-items: flex-start;
6565 7537 text-wrap: balance;
6566 7538 text-wrap: pretty;
@@ -6568,9 +7540,10 @@
6568 7540
6569 7541 .post-publish-panel__postpublish .components-panel__body {
6570 7542 border-bottom: 1px solid #e0e0e0;
6571 7543 border-top: none;
6572 - word-break: break-word;
7544 + word-break: normal;
7545 + overflow-wrap: anywhere;
6573 7546 }
6574 7547
6575 7548 .post-publish-panel__postpublish-buttons {
6576 7549 display: flex;
@@ -6610,9 +7583,9 @@
6610 7583 margin-right: 16px;
6611 7584 }
6612 7585
6613 7586 .post-publish-panel__postpublish-header {
6614 - font-weight: 499;
7587 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6615 7588 }
6616 7589
6617 7590 .post-publish-panel__postpublish-subheader {
6618 7591 margin: 0 0 8px;
@@ -6617,17 +7590,8 @@
6617 7590 .post-publish-panel__postpublish-subheader {
6618 7591 margin: 0 0 8px;
6619 7592 }
6620 7593
6621 -.post-publish-panel__tip {
6622 - color: #f0b849;
6623 -}
6624 -
6625 -@media screen and (max-width: 782px) {
6626 - .post-publish-panel__postpublish-post-address__button-wrap .components-button {
6627 - height: 40px;
6628 - }
6629 -}
6630 7594 .editor-post-publish-panel {
6631 7595 box-sizing: border-box;
6632 7596 }
6633 7597 .editor-post-publish-panel *,
@@ -6661,9 +7625,9 @@
6661 7625 }
6662 7626 }
6663 7627 @media (min-width: 782px) {
6664 7628 body.is-fullscreen-mode .editor-post-publish-panel {
6665 - top: 0;
7629 + top: var(--wp-admin--admin-bar--height, 0);
6666 7630 }
6667 7631 [role=region]:focus .editor-post-publish-panel {
6668 7632 transform: translateX(0%);
6669 7633 }
@@ -6673,22 +7637,8 @@
6673 7637 100% {
6674 7638 transform: translateX(0%);
6675 7639 }
6676 7640 }
6677 -.editor-post-revisions-panel .editor-post-revisions-panel__view-all {
6678 - justify-content: center;
6679 -}
6680 -.editor-post-revisions-panel .editor-post-revisions-panel__revision-date {
6681 - text-transform: uppercase;
6682 - font-weight: 600;
6683 - font-size: 12px;
6684 -}
6685 -
6686 -.editor-post-revisions-panel__revisions-count {
6687 - margin-top: -4.5px;
6688 - margin-bottom: -4.5px;
6689 -}
6690 -
6691 7641 .editor-revisions-header__slider {
6692 7642 width: 100%;
6693 7643 }
6694 7644 .editor-revisions-header__slider .components-range-control__tooltip {
@@ -6715,12 +7665,107 @@
6715 7665 flex: 1;
6716 7666 min-width: 0;
6717 7667 }
6718 7668
7669 +.editor-revisions-code-diff {
7670 + height: 100%;
7671 + overflow: auto;
7672 + background: #fff;
7673 + color: #1e1e1e;
7674 +}
7675 +.editor-revisions-code-diff:focus-visible {
7676 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7677 + outline: none;
7678 +}
7679 +
7680 +.editor-revisions-code-diff__table {
7681 + width: 100%;
7682 + min-width: max-content;
7683 + border: 0;
7684 + border-collapse: separate;
7685 + border-spacing: 0;
7686 + font-family: Menlo, Consolas, monaco, monospace;
7687 + font-size: 15px;
7688 + line-height: 1.6;
7689 +}
7690 +
7691 +.editor-revisions-code-diff__line.is-added {
7692 + background: rgba(0, 163, 42, 0.12);
7693 +}
7694 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__line-number,
7695 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__marker {
7696 + background: color-mix(in srgb, #00a32a 12%, #fff);
7697 +}
7698 +.editor-revisions-code-diff__line.is-removed {
7699 + background: rgba(214, 54, 56, 0.12);
7700 +}
7701 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__line-number,
7702 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__marker {
7703 + background: color-mix(in srgb, #d63638 12%, #fff);
7704 +}
7705 +
7706 +.editor-revisions-code-diff__line-number,
7707 +.editor-revisions-code-diff__marker {
7708 + position: sticky;
7709 + z-index: 1;
7710 + box-sizing: border-box;
7711 + padding: 0 8px;
7712 + background: #fff;
7713 + color: #757575;
7714 + text-align: left;
7715 + white-space: nowrap;
7716 + -webkit-user-select: none;
7717 + user-select: none;
7718 +}
7719 +
7720 +.editor-revisions-code-diff__line-number {
7721 + right: 0;
7722 + width: 6ch;
7723 + min-width: 6ch;
7724 + max-width: 6ch;
7725 + border-left: 1px solid #e0e0e0;
7726 + background: #f0f0f0;
7727 +}
7728 +.editor-revisions-code-diff__line-number.is-previous + .editor-revisions-code-diff__line-number.is-current {
7729 + right: 6ch;
7730 +}
7731 +
7732 +.editor-revisions-code-diff__marker {
7733 + right: 12ch;
7734 + width: 3ch;
7735 + min-width: 3ch;
7736 + max-width: 3ch;
7737 + border-left: 1px solid #e0e0e0;
7738 + padding: 0;
7739 + font-weight: 600;
7740 + text-align: center;
7741 +}
7742 +
7743 +.editor-revisions-code-diff__code {
7744 + width: 100%;
7745 + padding: 0 8px 0 16px;
7746 + direction: ltr;
7747 + unicode-bidi: isolate;
7748 + white-space: pre;
7749 +}
7750 +.editor-revisions-code-diff__code code {
7751 + margin: 0;
7752 + padding: 0;
7753 + background: none;
7754 + color: inherit;
7755 + font: inherit;
7756 +}
7757 +
7758 +.editor-revisions-code-diff__empty {
7759 + margin: 0;
7760 + padding: 24px;
7761 + color: #757575;
7762 +}
7763 +
6719 7764 .revision-diff-markers {
6720 7765 position: relative;
6721 7766 flex-shrink: 0;
6722 - width: 12px;
7767 + width: max(16px, 1rem);
6723 7768 background: rgba(0, 0, 0, 0.05);
6724 7769 }
6725 7770 .revision-diff-markers .revision-diff-marker {
6726 7771 position: absolute;
@@ -6727,19 +7772,19 @@
6727 7772 width: 100%;
6728 7773 min-height: 4px;
6729 7774 border: none;
6730 7775 padding: 0;
6731 - cursor: pointer;
7776 + cursor: var(--wpds-cursor-control, pointer);
6732 7777 transition: opacity 0.1s ease;
6733 7778 }
6734 7779 .revision-diff-markers .revision-diff-marker.is-added {
6735 - background: #00a32a;
7780 + background: #008a20;
6736 7781 }
6737 7782 .revision-diff-markers .revision-diff-marker.is-removed {
6738 - background: #d63638;
7783 + background: repeating-linear-gradient(-45deg, #d63638, #d63638 6px, rgba(214, 54, 56, 0.45) 6px, rgba(214, 54, 56, 0.45) 8px);
6739 7784 }
6740 7785 .revision-diff-markers .revision-diff-marker.is-modified {
6741 - background: #dba617;
7786 + background: repeating-linear-gradient(45deg, #9a7000, #9a7000 6px, rgba(154, 112, 0, 0.45) 6px, rgba(154, 112, 0, 0.45) 8px);
6742 7787 }
6743 7788 .revision-diff-markers .revision-diff-marker:hover {
6744 7789 opacity: 0.7;
6745 7790 }
@@ -6747,10 +7792,45 @@
6747 7792 outline: 2px solid #1e1e1e;
6748 7793 outline-offset: -2px;
6749 7794 }
6750 7795
7796 +.interface-complementary-area:has(.editor-post-revisions-timeline) {
7797 + display: flex;
7798 + flex-direction: column;
7799 + overflow: hidden;
7800 +}
7801 +
7802 +.interface-complementary-area > .editor-sidebar__panel-tabs {
7803 + flex-shrink: 0;
7804 +}
7805 +
7806 +.editor-sidebar__panel:has(.editor-post-revisions-timeline) {
7807 + display: flex;
7808 + flex-direction: column;
7809 + flex: 1;
7810 + min-height: 0;
7811 +}
7812 +
7813 +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) {
7814 + display: flex;
7815 + flex-direction: column;
7816 + flex: 1;
7817 + min-height: 0;
7818 +}
7819 +
7820 +.editor-sidebar__panel .editor-revision-meta-diff__content {
7821 + max-height: 80px;
7822 + overflow-y: auto;
7823 +}
7824 +
7825 +.editor-sidebar__panel .editor-post-revisions-timeline {
7826 + flex: 1;
7827 + min-height: 0;
7828 +}
7829 +
6751 7830 .editor-revision-fields-diff__value {
6752 - word-break: break-word;
7831 + word-break: normal;
7832 + overflow-wrap: anywhere;
6753 7833 }
6754 7834
6755 7835 .editor-revision-fields-diff__added {
6756 7836 background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
@@ -6804,8 +7884,14 @@
6804 7884 min-width: 320px;
6805 7885 padding: 16px;
6806 7886 }
6807 7887
7888 +.editor-post-schedule__reset {
7889 + justify-content: center;
7890 + margin-top: 16px;
7891 + width: 100%;
7892 +}
7893 +
6808 7894 .editor-post-status {
6809 7895 max-width: 100%;
6810 7896 }
6811 7897 .editor-post-status.is-read-only {
@@ -6858,8 +7944,13 @@
6858 7944 .editor-post-taxonomies__hierarchical-terms-choice:last-child {
6859 7945 margin-bottom: 4px;
6860 7946 }
6861 7947
7948 +.editor-post-taxonomies__hierarchical-terms-add,
7949 +.editor-post-taxonomies__hierarchical-terms-submit {
7950 + align-self: flex-start;
7951 +}
7952 +
6862 7953 .editor-post-taxonomies__hierarchical-terms-subchoices {
6863 7954 margin-top: 8px;
6864 7955 margin-right: 16px;
6865 7956 }
@@ -6953,9 +8044,9 @@
6953 8044 transition: outline 0.1s linear;
6954 8045 }
6955 8046 }
6956 8047 .editor-template-actions-panel__preview[role=button] {
6957 - cursor: pointer;
8048 + cursor: var(--wpds-cursor-control, pointer);
6958 8049 }
6959 8050 .editor-template-actions-panel__preview[role=button]:hover .block-editor-block-preview__container::after {
6960 8051 outline-color: rgba(0, 0, 0, 0.3);
6961 8052 }
@@ -6977,9 +8068,10 @@
6977 8068 margin: 0;
6978 8069 width: 100%;
6979 8070 box-shadow: none;
6980 8071 resize: none;
6981 - overflow: hidden;
8072 + field-sizing: content;
8073 + overflow: auto;
6982 8074 font-family: Menlo, Consolas, monaco, monospace;
6983 8075 line-height: 2.4;
6984 8076 min-height: 200px;
6985 8077 }
@@ -7030,9 +8122,10 @@
7030 8122 }
7031 8123 .editor-post-url__link,
7032 8124 .editor-post-url__front-page-link {
7033 8125 direction: ltr;
7034 - word-break: break-word;
8126 + word-break: normal;
8127 + overflow-wrap: anywhere;
7035 8128 }
7036 8129 .editor-post-url__front-page-link {
7037 8130 padding: 6px 12px;
7038 8131 border-radius: 2px;
@@ -7048,9 +8141,9 @@
7048 8141 outline: 3px solid rgba(0, 0, 0, 0);
7049 8142 }
7050 8143
7051 8144 .editor-post-url__link-slug {
7052 - font-weight: 600;
8145 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7053 8146 }
7054 8147
7055 8148 .editor-post-url__input input.components-input-control__input {
7056 8149 padding-inline-start: 0 !important;
@@ -7057,9 +8150,10 @@
7057 8150 }
7058 8151
7059 8152 .editor-post-url__panel-toggle,
7060 8153 .editor-post-parent__panel-toggle {
7061 - word-break: break-word;
8154 + word-break: normal;
8155 + overflow-wrap: anywhere;
7062 8156 }
7063 8157
7064 8158 .editor-post-url__intro {
7065 8159 margin: 0;
@@ -7082,19 +8176,27 @@
7082 8176 flex-grow: 1;
7083 8177 justify-content: center;
7084 8178 }
7085 8179
7086 -.editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
8180 +.editor-preview-dropdown__popup {
8181 + max-width: var(--wpds-dimension-surface-width-xs, 240px);
8182 +}
8183 +
8184 +.editor-preview-dropdown__toggle.has-icon.has-text {
7087 8185 padding-left: 4px;
7088 8186 padding-right: 6px;
7089 8187 }
7090 8188
7091 -.editor-preview-dropdown__button-external {
7092 - width: 100%;
7093 - display: flex;
7094 - justify-content: space-between;
8189 +.editor-preview-dropdown__toggle.is-responsive-editing {
8190 + color: var(--wp-block-synced-color);
7095 8191 }
7096 8192
8193 +@media (prefers-reduced-motion: no-preference) {
8194 + .editor-resizable-editor:not(.is-resizing) {
8195 + transition: width 0.2s ease-out;
8196 + }
8197 +}
8198 +
7097 8199 .editor-resizable-editor.is-resizable {
7098 8200 overflow: visible;
7099 8201 margin: 0 auto;
7100 8202 }
@@ -7137,8 +8239,22 @@
7137 8239 .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after {
7138 8240 background-color: var(--wp-admin-theme-color);
7139 8241 }
7140 8242
8243 +.editor-save-error-details {
8244 + display: inline;
8245 +}
8246 +
8247 +.editor-save-error-details summary {
8248 + display: inline;
8249 + cursor: var(--wpds-cursor-control, pointer);
8250 + margin-right: 0.35em;
8251 +}
8252 +
8253 +.editor-save-error-details__message {
8254 + white-space: break-spaces;
8255 +}
8256 +
7141 8257 .editor-layout__toggle-publish-panel,
7142 8258 .editor-layout__toggle-sidebar-panel,
7143 8259 .editor-layout__toggle-entities-saved-states-panel {
7144 8260 z-index: 100000;
@@ -7169,12 +8285,12 @@
7169 8285 bottom: 0;
7170 8286 width: 100%;
7171 8287 height: 72px;
7172 8288 background-color: #fff;
7173 - margin-right: -32px;
7174 - margin-left: -32px;
7175 - padding-right: 32px;
7176 - padding-left: 32px;
8289 + margin-right: -24px;
8290 + margin-left: -24px;
8291 + padding-right: 24px;
8292 + padding-left: 24px;
7177 8293 border-top: 1px solid #ddd;
7178 8294 z-index: 1;
7179 8295 }
7180 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
@@ -7179,23 +8295,49 @@
7179 8295 }
7180 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
7181 8297 padding-bottom: 72px;
7182 8298 }
8299 +.editor-start-page-options__modal .editor-start-page-options__sidebar {
8300 + display: none;
8301 +}
8302 +@media (min-width: 782px) {
8303 + .editor-start-page-options__modal .editor-start-page-options__sidebar {
8304 + display: flex;
8305 + position: absolute;
8306 + top: 72px;
8307 + right: 0;
8308 + bottom: 72px;
8309 + width: 280px;
8310 + padding: 24px;
8311 + overflow-x: visible;
8312 + overflow-y: auto;
8313 + }
8314 +}
7183 8315
8316 +.editor-start-page-options__modal-content {
8317 + container-type: inline-size;
8318 +}
8319 +
8320 +@media (min-width: 782px) {
8321 + .editor-start-page-options__modal-content.has-pattern-categories {
8322 + margin-right: 280px;
8323 + }
8324 +}
8325 +
8326 +.editor-start-page-options__no-results {
8327 + padding: 32px;
8328 + text-align: center;
8329 +}
8330 +
7184 8331 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7185 8332 column-count: 2;
7186 8333 column-gap: 24px;
7187 8334 }
7188 -@media (min-width: 782px) {
8335 +@container (min-width: 464px) {
7189 8336 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7190 - column-count: 3;
8337 + columns: 4 220px;
7191 8338 }
7192 8339 }
7193 -@media (min-width: 1280px) {
7194 - .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7195 - column-count: 4;
7196 - }
7197 -}
7198 8340 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7199 8341 break-inside: avoid-column;
7200 8342 margin-bottom: 24px;
7201 8343 }
@@ -7211,12 +8353,12 @@
7211 8353 bottom: 0;
7212 8354 width: 100%;
7213 8355 height: 92px;
7214 8356 background-color: #fff;
7215 - margin-right: -32px;
7216 - margin-left: -32px;
7217 - padding-right: 32px;
7218 - padding-left: 32px;
8357 + margin-right: -24px;
8358 + margin-left: -24px;
8359 + padding-right: 24px;
8360 + padding-left: 24px;
7219 8361 border-top: 1px solid #ddd;
7220 8362 z-index: 1;
7221 8363 }
7222 8364 .editor-start-template-options__modal .block-editor-block-patterns-list {
@@ -7228,16 +8370,11 @@
7228 8370 column-gap: 24px;
7229 8371 }
7230 8372 @media (min-width: 782px) {
7231 8373 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7232 - column-count: 3;
8374 + columns: 4 220px;
7233 8375 }
7234 8376 }
7235 -@media (min-width: 1280px) {
7236 - .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7237 - column-count: 4;
7238 - }
7239 -}
7240 8377 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7241 8378 break-inside: avoid-column;
7242 8379 }
7243 8380 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-patterns-list__item-title {
@@ -7290,13 +8427,8 @@
7290 8427 }
7291 8428 .editor-style-book.is-button {
7292 8429 border-radius: 8px;
7293 8430 }
7294 -.editor-style-book {
7295 - display: flex;
7296 - flex-direction: column;
7297 - align-items: stretch;
7298 -}
7299 8431
7300 8432 .editor-style-book__iframe {
7301 8433 display: block;
7302 8434 height: 100%;
@@ -7309,8 +8441,14 @@
7309 8441 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
7310 8442 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
7311 8443 }
7312 8444
8445 +.editor-style-book__tabs {
8446 + height: 100%;
8447 + display: flex;
8448 + flex-direction: column;
8449 +}
8450 +
7313 8451 .editor-style-book__tablist-container {
7314 8452 flex: none;
7315 8453 display: flex;
7316 8454 width: 100%;
@@ -7324,9 +8462,9 @@
7324 8462 }
7325 8463
7326 8464 .editor-styles-canvas {
7327 8465 height: 100%;
7328 - padding: 16px;
8466 + padding: 24px;
7329 8467 background-color: var(--wp-editor-canvas-background);
7330 8468 }
7331 8469 .editor-styles-canvas iframe {
7332 8470 display: block;
@@ -7332,12 +8470,14 @@
7332 8470 display: block;
7333 8471 width: 100%;
7334 8472 height: 100%;
7335 8473 }
8474 +.editor-styles-canvas.is-preview-mode {
8475 + padding: 0;
8476 +}
7336 8477
7337 8478 .editor-styles-canvas__section {
7338 8479 background: #fff;
7339 - border-radius: 8px;
7340 8480 bottom: 0;
7341 8481 right: 0;
7342 8482 overflow: hidden;
7343 8483 position: absolute;
@@ -7423,9 +8563,9 @@
7423 8563 .table-of-contents__title {
7424 8564 display: block;
7425 8565 margin-top: 20px;
7426 8566 font-size: 15px;
7427 - font-weight: 600;
8567 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7428 8568 }
7429 8569
7430 8570 .editor-text-editor {
7431 8571 box-sizing: border-box;
@@ -7436,8 +8576,9 @@
7436 8576 box-sizing: inherit;
7437 8577 }
7438 8578 .editor-text-editor {
7439 8579 position: relative;
8580 + isolation: isolate;
7440 8581 width: 100%;
7441 8582 background-color: #fff;
7442 8583 flex-grow: 1;
7443 8584 }
@@ -7446,9 +8587,9 @@
7446 8587 max-width: none;
7447 8588 line-height: 1.4;
7448 8589 font-family: Menlo, Consolas, monaco, monospace;
7449 8590 font-size: 2.5em;
7450 - font-weight: normal;
8591 + font-weight: 400;
7451 8592 border: 1px solid #949494;
7452 8593 border-radius: 0;
7453 8594 padding: 16px;
7454 8595 }
@@ -7503,11 +8644,31 @@
7503 8644 font-size: 13px;
7504 8645 color: #1e1e1e;
7505 8646 }
7506 8647
8648 +.editor-upload-progress-snackbar__spinner,
8649 +.editor-upload-progress-snackbar__check {
8650 + display: inline-flex;
8651 + align-items: center;
8652 + justify-content: center;
8653 + width: 24px;
8654 + height: 24px;
8655 +}
8656 +
8657 +.editor-upload-progress-snackbar__spinner .components-spinner {
8658 + margin: 0;
8659 +}
8660 +
8661 +.editor-upload-progress-snackbar__check svg {
8662 + width: 24px;
8663 + height: 24px;
8664 + fill: currentColor;
8665 +}
8666 +
7507 8667 .editor-visual-editor {
7508 8668 position: relative;
7509 8669 display: flex;
8670 + max-height: 100%;
7510 8671 background-color: var(--wp-editor-canvas-background);
7511 8672 }
7512 8673 .editor-visual-editor iframe[name=editor-canvas] {
7513 8674 background-color: transparent;
@@ -7512,21 +8673,30 @@
7512 8673 .editor-visual-editor iframe[name=editor-canvas] {
7513 8674 background-color: transparent;
7514 8675 }
7515 8676 .editor-visual-editor {
8677 + flex-direction: column;
7516 8678 align-items: center;
8679 + justify-content: center;
7517 8680 }
7518 -.editor-visual-editor.is-resizable {
7519 - max-height: 100%;
8681 +@media (prefers-reduced-motion: no-preference) {
8682 + .editor-visual-editor {
8683 + transition: padding 0.2s ease-out;
8684 + }
7520 8685 }
7521 -.editor-visual-editor.has-padding {
7522 - padding: 24px 24px 0;
8686 +.editor-visual-editor.has-vertical-padding {
8687 + padding-top: 24px;
8688 + padding-bottom: 24px;
7523 8689 }
7524 -.editor-visual-editor.is-iframed {
8690 +.editor-visual-editor.has-horizontal-padding {
8691 + padding-right: 24px;
8692 + padding-left: 24px;
8693 +}
8694 +.editor-visual-editor {
7525 8695 overflow: hidden;
7526 8696 }
7527 8697 .editor-visual-editor .components-button {
7528 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8698 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7529 8699 font-size: 13px;
7530 8700 padding: 6px 12px;
7531 8701 }
7532 8702 .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
@@ -7555,5 +8725,29 @@
7555 8725
7556 8726 .editor-push-changes-to-global-styles-control .components-button {
7557 8727 justify-content: center;
7558 8728 width: 100%;
8729 +}
8730 +
8731 +.editor-push-changes-to-global-styles-modal p {
8732 + margin-top: 0;
8733 +}
8734 +
8735 +.editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8736 + overflow-x: hidden;
8737 +}
8738 +@media (max-width: 600px) {
8739 + .editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8740 + overflow-x: auto;
8741 + }
8742 +}
8743 +.editor-push-changes-to-global-styles-modal .components-modal__content {
8744 + padding-bottom: 0;
8745 +}
8746 +.editor-push-changes-to-global-styles-modal .dataviews-footer {
8747 + padding-bottom: 24px;
8748 +}
8749 +
8750 +.editor-push-changes-to-global-styles-modal__value {
8751 + color: #1e1e1e;
8752 + overflow-wrap: anywhere;
7559 8753 }