PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/components/style.css +375 -858 23.1.0 → trunk View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -160,12 +166,14 @@
160 166 height: auto;
161 167 min-height: 36px;
162 168 text-align: left;
163 169 width: 100%;
170 + font-weight: var(--wpds-typography-font-weight-default, 400);
171 + position: relative;
164 172 }
165 -.components-autocomplete__result.components-button:focus:not(:disabled) {
166 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
167 - outline: 2px solid transparent;
173 +.components-autocomplete__result.components-button:focus:not(:disabled):not(:active) {
174 + box-shadow: 0 0 0 calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
175 + z-index: 1;
168 176 }
169 177
170 178 .components-badge {
171 179 box-sizing: border-box;
@@ -231,9 +239,9 @@
231 239 .components-button-group .components-button {
232 240 border-radius: 0;
233 241 display: inline-flex;
234 242 color: #1e1e1e;
235 - box-shadow: inset 0 0 0 1px #1e1e1e;
243 + border-color: #1e1e1e;
236 244 }
237 245 .components-button-group .components-button + .components-button {
238 246 margin-left: -1px;
239 247 }
@@ -246,11 +254,8 @@
246 254 .components-button-group .components-button:focus, .components-button-group .components-button.is-primary {
247 255 position: relative;
248 256 z-index: 1;
249 257 }
250 -.components-button-group .components-button.is-primary {
251 - box-shadow: inset 0 0 0 1px #1e1e1e;
252 -}
253 258
254 259 /**
255 260 * For easier testing of potential regressions, you can use a Button variant matrix
256 261 * available in a special Storybook instance by running `npm run storybook:e2e:dev`.
@@ -256,32 +261,35 @@
256 261 * available in a special Storybook instance by running `npm run storybook:e2e:dev`.
257 262 *
258 263 * @see https://github.com/WordPress/gutenberg/blob/trunk/test/storybook-playwright/README.md
259 264 */
265 +.components-button:focus:is(a) {
266 + box-shadow: none;
267 +}
268 +.components-button:focus {
269 + outline: none;
270 +}
271 +.components-button:focus:not(:active) {
272 + 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)));
273 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
274 +}
260 275 .components-button {
261 276 display: inline-flex;
262 277 text-decoration: none;
263 278 font-family: inherit;
264 279 font-size: 13px;
265 - font-weight: 499;
280 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
266 281 margin: 0;
267 - border: 0;
268 282 cursor: var(--wpds-cursor-control, pointer);
269 283 appearance: none;
270 284 background: none;
271 -}
272 -@media not (prefers-reduced-motion) {
273 - .components-button {
274 - transition: box-shadow 0.1s linear;
275 - }
276 -}
277 -.components-button {
278 285 height: 36px;
279 286 align-items: center;
280 287 box-sizing: border-box;
281 288 padding: 4px 12px;
282 289 border-radius: 2px;
283 - color: var(--wp-components-color-foreground, #1e1e1e);
290 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
291 + border: 1px solid transparent;
284 292 }
285 293 .components-button.is-next-40px-default-size {
286 294 height: 40px;
287 295 }
@@ -287,11 +295,8 @@
287 295 }
288 296 .components-button[aria-expanded=true], .components-button:hover:not(:disabled, [aria-disabled=true]) {
289 297 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
290 298 }
291 -.components-button:focus:not(:active) {
292 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
293 -}
294 299 .components-button {
295 300 /**
296 301 * Primary button style.
297 302 */
@@ -298,41 +303,30 @@
298 303 }
299 304 .components-button.is-primary {
300 305 white-space: nowrap;
301 306 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
302 - color: var(--wp-components-color-accent-inverted, #fff);
307 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
303 308 text-decoration: none;
304 309 text-shadow: none;
305 - outline: 1px solid transparent;
306 310 }
307 311 .components-button.is-primary:hover:not(:disabled) {
308 312 background: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6));
309 - color: var(--wp-components-color-accent-inverted, #fff);
313 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
310 314 }
311 315 .components-button.is-primary:active:not(:disabled) {
312 316 background: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
313 - border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
314 - color: var(--wp-components-color-accent-inverted, #fff);
317 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
315 318 }
316 -.components-button.is-primary:focus:not(:active) {
317 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
318 -}
319 319 .components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled {
320 320 color: rgba(255, 255, 255, 0.4);
321 321 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
322 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
323 - outline: none;
324 322 }
325 -.components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled {
326 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
327 -}
328 323 .components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {
329 - color: var(--wp-components-color-accent-inverted, #fff);
324 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
330 325 background-size: 100px 100%;
331 326 /* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */
332 327 background-image: linear-gradient(-45deg, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 70%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 70%);
333 328 /* stylelint-enable */
334 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
335 329 }
336 330 .components-button {
337 331 /**
338 332 * Secondary and tertiary buttons.
@@ -337,14 +331,8 @@
337 331 /**
338 332 * Secondary and tertiary buttons.
339 333 */
340 334 }
341 -.components-button.is-secondary, .components-button.is-tertiary {
342 - outline: 1px solid transparent;
343 -}
344 -.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
345 - box-shadow: none;
346 -}
347 335 .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover {
348 336 color: #949494;
349 337 background: transparent;
350 338 transform: none;
@@ -353,26 +341,33 @@
353 341 /**
354 342 * Secondary button style.
355 343 */
356 344 }
345 +@media not (prefers-reduced-motion) {
346 + .components-button.is-secondary {
347 + transition: border-color 0.1s linear;
348 + }
349 +}
357 350 .components-button.is-secondary {
358 - box-shadow: inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)), 0 0 0 currentColor;
359 - outline: 1px solid transparent;
351 + border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
360 352 white-space: nowrap;
361 353 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
362 354 background: transparent;
363 355 }
356 +.components-button.is-secondary:active:not(:disabled) {
357 + border-color: transparent;
358 +}
364 359 .components-button.is-secondary:hover:not(:disabled, [aria-disabled=true], .is-pressed) {
365 - box-shadow: inset 0 0 0 1px var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
360 + border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
366 361 color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
367 362 background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent);
368 363 }
364 +.components-button.is-secondary:focus:not(:active) {
365 + border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
366 +}
369 367 .components-button.is-secondary:disabled:not(:focus), .components-button.is-secondary[aria-disabled=true]:not(:focus), .components-button.is-secondary[aria-disabled=true]:hover:not(:focus) {
370 - box-shadow: inset 0 0 0 1px #ddd;
368 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
371 369 }
372 -.components-button.is-secondary:focus:not(:active) {
373 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
374 -}
375 370 .components-button {
376 371 /**
377 372 * Tertiary buttons.
378 373 */
@@ -391,12 +386,8 @@
391 386 }
392 387 p + .components-button.is-tertiary {
393 388 margin-left: -6px;
394 389 }
395 -.components-button.is-tertiary:disabled:not(:focus), .components-button.is-tertiary[aria-disabled=true]:not(:focus), .components-button.is-tertiary[aria-disabled=true]:hover:not(:focus) {
396 - box-shadow: none;
397 - outline: none;
398 -}
399 390 .components-button {
400 391 /**
401 392 * Destructive buttons.
402 393 */
@@ -411,11 +402,8 @@
411 402 }
412 403 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):hover:not(:disabled, [aria-disabled=true]) {
413 404 color: rgb(112.7368421053, 13.2631578947, 13.2631578947);
414 405 }
415 -.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):focus:not(:active) {
416 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #cc1818;
417 -}
418 406 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):active:not(:disabled, [aria-disabled=true]) {
419 407 background: #ccc;
420 408 }
421 409 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):disabled, .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link)[aria-disabled=true] {
@@ -434,17 +422,18 @@
434 422 }
435 423 .components-button.is-link {
436 424 margin: 0;
437 425 padding: 0;
438 - box-shadow: none;
439 426 border: 0;
440 427 border-radius: 0;
441 428 background: none;
442 429 outline: none;
443 430 text-align: left;
444 - font-weight: 400;
431 + font-weight: var(--wpds-typography-font-weight-default, 400);
445 432 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
446 433 text-decoration: underline;
434 + text-underline-offset: 0.2em;
435 + text-decoration-thickness: from-font;
447 436 }
448 437 @media not (prefers-reduced-motion) {
449 438 .components-button.is-link {
450 439 transition-property: border, background, color;
@@ -454,19 +443,17 @@
454 443 }
455 444 .components-button.is-link {
456 445 height: auto;
457 446 }
458 -.components-button.is-link:focus {
447 +.components-button.is-link:focus:not(:active) {
459 448 border-radius: 2px;
449 + text-decoration: none;
460 450 }
461 451 .components-button.is-link:disabled, .components-button.is-link[aria-disabled=true] {
462 452 color: #949494;
463 453 }
464 -.components-button:focus {
465 - outline: 3px solid transparent;
466 -}
467 454 .components-button:not(:disabled, [aria-disabled=true]):active {
468 - color: var(--wp-components-color-foreground, #1e1e1e);
455 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
469 456 }
470 457 .components-button:disabled, .components-button[aria-disabled=true] {
471 458 cursor: default;
472 459 color: #949494;
@@ -489,9 +476,9 @@
489 476 padding: 0;
490 477 min-width: 32px;
491 478 }
492 479 .components-button.is-small {
493 - height: 24px;
480 + height: var(--wpds-dimension-size-sm, 24px);
494 481 line-height: 22px;
495 482 padding: 0 8px;
496 483 font-size: 11px;
497 484 }
@@ -496,9 +483,9 @@
496 483 font-size: 11px;
497 484 }
498 485 .components-button.is-small.has-icon:not(.has-text) {
499 486 padding: 0;
500 - min-width: 24px;
487 + min-width: var(--wpds-dimension-size-sm, 24px);
501 488 }
502 489 .components-button.has-icon {
503 490 padding: 6px;
504 491 min-width: 36px;
@@ -523,40 +510,30 @@
523 510 .components-button.has-icon.has-text.has-icon-right {
524 511 padding-right: 8px;
525 512 padding-left: 12px;
526 513 }
514 +.components-button.has-icon:not(.has-text) svg,
515 +.components-button.has-icon:not(.has-text) .dashicon {
516 + margin-inline: -1px;
517 +}
527 518 .components-button.is-pressed, .components-button.is-pressed:hover {
528 - color: var(--wp-components-color-foreground-inverted, #fff);
519 + color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
529 520 }
530 521 .components-button.is-pressed:not(:disabled, [aria-disabled=true]), .components-button.is-pressed:hover:not(:disabled, [aria-disabled=true]) {
531 - background: var(--wp-components-color-foreground, #1e1e1e);
522 + background: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
532 523 }
533 524 .components-button.is-pressed:disabled, .components-button.is-pressed[aria-disabled=true] {
534 525 color: #949494;
535 526 }
536 527 .components-button.is-pressed:disabled:not(.is-primary):not(.is-secondary):not(.is-tertiary), .components-button.is-pressed[aria-disabled=true]:not(.is-primary):not(.is-secondary):not(.is-tertiary) {
537 - color: var(--wp-components-color-foreground-inverted, #fff);
528 + color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
538 529 background: #949494;
539 530 }
540 -.components-button.is-pressed:focus:not(:active) {
541 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
542 -}
543 -.components-button.is-pressed:focus {
544 - outline: 2px solid transparent;
545 -}
546 -.components-button:focus:active {
547 - outline: none;
548 -}
549 531 .components-button svg {
550 532 fill: currentColor;
551 533 outline: none;
552 534 flex-shrink: 0;
553 535 }
554 -@media (forced-colors: active) {
555 - .components-button svg {
556 - fill: CanvasText;
557 - }
558 -}
559 536
560 537 @keyframes components-button__busy-animation {
561 538 0% {
562 539 background-position: 200px 0;
@@ -561,368 +538,8 @@
561 538 0% {
562 539 background-position: 200px 0;
563 540 }
564 541 }
565 -/* Root of the component. */
566 -.components-calendar {
567 - position: relative; /* Required to position the navigation toolbar. */
568 - box-sizing: border-box;
569 - display: inline flow-root;
570 - color: var(--wp-components-color-foreground, #1e1e1e);
571 - background-color: var(--wp-components-color-background, #fff);
572 - font-size: 13px;
573 - font-weight: 400;
574 - z-index: 0;
575 -}
576 -.components-calendar *,
577 -.components-calendar *::before,
578 -.components-calendar *::after {
579 - box-sizing: border-box;
580 -}
581 -
582 -.components-calendar__day {
583 - padding: 0;
584 - position: relative;
585 -}
586 -.components-calendar__day:has(.components-calendar__day-button:disabled) {
587 - color: var(--wp-components-color-gray-400, #ccc);
588 -}
589 -.components-calendar__day:has(.components-calendar__day-button:hover:not(:disabled)), .components-calendar__day:has(.components-calendar__day-button:focus-visible) {
590 - color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
591 -}
592 -
593 -.components-calendar__day-button {
594 - background: none;
595 - padding: 0;
596 - margin: 0;
597 - cursor: var(--wpds-cursor-control, pointer);
598 - justify-content: center;
599 - align-items: center;
600 - display: flex;
601 - position: relative;
602 - width: 32px;
603 - height: 32px;
604 - border: none;
605 - border-radius: 2px;
606 - font: inherit;
607 - font-variant-numeric: tabular-nums;
608 - color: inherit;
609 -}
610 -.components-calendar__day-button::before {
611 - content: "";
612 - position: absolute;
613 - z-index: -1;
614 - inset: 0;
615 - border: none;
616 - border-radius: 2px;
617 -}
618 -.components-calendar__day-button::after {
619 - content: "";
620 - position: absolute;
621 - z-index: 1;
622 - inset: 0;
623 - pointer-events: none;
624 -}
625 -.components-calendar__day-button:disabled {
626 - cursor: revert;
627 -}
628 -@media (forced-colors: active) {
629 - .components-calendar__day-button:disabled {
630 - text-decoration: line-through;
631 - }
632 -}
633 -.components-calendar__day-button:focus-visible {
634 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
635 - outline-offset: 1px;
636 -}
637 -
638 -.components-calendar__caption-label {
639 - z-index: 1;
640 - position: relative;
641 - display: inline-flex;
642 - align-items: center;
643 - white-space: nowrap;
644 - border: 0;
645 - text-transform: capitalize;
646 -}
647 -
648 -.components-calendar__button-next,
649 -.components-calendar__button-previous {
650 - border: none;
651 - border-radius: 2px;
652 - background: none;
653 - padding: 0;
654 - margin: 0;
655 - cursor: var(--wpds-cursor-control, pointer);
656 - appearance: none;
657 - display: inline-flex;
658 - align-items: center;
659 - justify-content: center;
660 - position: relative;
661 - width: 32px;
662 - height: 32px;
663 - color: inherit;
664 -}
665 -.components-calendar__button-next:disabled, .components-calendar__button-next[aria-disabled=true],
666 -.components-calendar__button-previous:disabled,
667 -.components-calendar__button-previous[aria-disabled=true] {
668 - cursor: revert;
669 - color: var(--wp-components-color-gray-600, #949494);
670 -}
671 -.components-calendar__button-next:focus-visible,
672 -.components-calendar__button-previous:focus-visible {
673 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
674 -}
675 -
676 -.components-calendar__chevron {
677 - display: inline-block;
678 - fill: currentColor;
679 - width: 16px;
680 - height: 16px;
681 -}
682 -
683 -.components-calendar[dir=rtl] .components-calendar__nav .components-calendar__chevron {
684 - transform: rotate(180deg);
685 - transform-origin: 50%;
686 -}
687 -
688 -.components-calendar__month-caption {
689 - display: flex;
690 - justify-content: center;
691 - align-content: center;
692 - height: 32px;
693 - margin-bottom: 12px;
694 -}
695 -
696 -.components-calendar__months {
697 - position: relative;
698 - display: flex;
699 - justify-content: center;
700 - flex-wrap: wrap;
701 - gap: 16px;
702 - max-width: fit-content;
703 -}
704 -
705 -.components-calendar__month-grid {
706 - border-collapse: separate;
707 - border-spacing: 0 4px;
708 -}
709 -
710 -.components-calendar__nav {
711 - position: absolute;
712 - inset-block-start: 0;
713 - inset-inline-start: 0;
714 - inset-inline-end: 0;
715 - display: flex;
716 - align-items: center;
717 - justify-content: space-between;
718 - height: 32px;
719 -}
720 -
721 -.components-calendar__weekday {
722 - width: 32px;
723 - height: 32px;
724 - padding: 0;
725 - color: var(--wp-components-color-gray-700, #757575);
726 - text-align: center;
727 - text-transform: uppercase;
728 -}
729 -
730 -/* DAY MODIFIERS */
731 -.components-calendar__day--today::after {
732 - content: "";
733 - position: absolute;
734 - z-index: 1;
735 - inset-block-start: 2px;
736 - inset-inline-end: 2px;
737 - width: 0;
738 - height: 0;
739 - border-radius: 50%;
740 - border: 2px solid currentColor;
741 -}
742 -
743 -.components-calendar__day--selected:not(.components-calendar__range-middle):has(.components-calendar__day-button,
744 -.components-calendar__day-button:hover:not(:disabled)) {
745 - color: var(--wp-components-color-foreground-inverted, #fff);
746 -}
747 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button::before {
748 - background-color: var(--wp-components-color-foreground, #1e1e1e);
749 - border: 1px solid transparent;
750 -}
751 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:disabled::before {
752 - background-color: var(--wp-components-color-gray-400, #ccc);
753 -}
754 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:hover:not(:disabled)::before {
755 - background-color: var(--wp-components-color-gray-800, #2f2f2f);
756 -}
757 -
758 -.components-calendar__day--outside {
759 - color: var(--wp-components-color-gray-600, #949494);
760 -}
761 -
762 -.components-calendar__day--hidden {
763 - visibility: hidden;
764 -}
765 -
766 -.components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button, .components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button::before {
767 - border-start-end-radius: 0;
768 - border-end-end-radius: 0;
769 -}
770 -
771 -.components-calendar__range-middle .components-calendar__day-button::before {
772 - background-color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent);
773 - border-radius: 0;
774 - border-width: 1px 0;
775 - border-color: transparent;
776 - border-style: solid;
777 -}
778 -
779 -.components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button, .components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button::before {
780 - border-start-start-radius: 0;
781 - border-end-start-radius: 0;
782 -}
783 -
784 -/*
785 - * RANGE PREVIEW (range calendar only)
786 - *
787 - * The preview is rendered in the button's ::after pseudo-element, so that it
788 - * can be rendered over the button's contents.
789 - * The selection preview is shown with a dashed border. In order to have
790 - * control over the dash pattern (especially the seams between days), the
791 - * dashed borders are rendered as SVGs via the url() CSS function.
792 - * Since SVGs rendered in the url() function don't seem to be able to access
793 - * CSS variables, we're using the SVGs as masks, and using `background-color`
794 - * to consume the accent color variable.
795 - */
796 -.components-calendar__day--preview svg {
797 - position: absolute;
798 - inset: 0;
799 - pointer-events: none;
800 - color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 16%, transparent);
801 -}
802 -@media (forced-colors: active) {
803 - .components-calendar__day--preview svg {
804 - color: inherit;
805 - }
806 -}
807 -.components-calendar[dir=rtl] .components-calendar__day--preview svg {
808 - transform: scaleX(-1);
809 -}
810 -
811 -.components-calendar__day--preview.components-calendar__range-middle .components-calendar__day-button::before {
812 - border: none;
813 -}
814 -
815 -/* ANIMATIONS */
816 -@keyframes slide-in-left {
817 - 0% {
818 - transform: translateX(-100%);
819 - }
820 - 100% {
821 - transform: translateX(0);
822 - }
823 -}
824 -@keyframes slide-in-right {
825 - 0% {
826 - transform: translateX(100%);
827 - }
828 - 100% {
829 - transform: translateX(0);
830 - }
831 -}
832 -@keyframes slide-out-left {
833 - 0% {
834 - transform: translateX(0);
835 - }
836 - 100% {
837 - transform: translateX(-100%);
838 - }
839 -}
840 -@keyframes slide-out-right {
841 - 0% {
842 - transform: translateX(0);
843 - }
844 - 100% {
845 - transform: translateX(100%);
846 - }
847 -}
848 -@keyframes fade-in {
849 - from {
850 - opacity: 0;
851 - }
852 - to {
853 - opacity: 1;
854 - }
855 -}
856 -@keyframes fade-out {
857 - from {
858 - opacity: 1;
859 - }
860 - to {
861 - opacity: 0;
862 - }
863 -}
864 -.components-calendar__weeks-before-enter,
865 -.components-calendar__weeks-before-exit,
866 -.components-calendar__weeks-after-enter,
867 -.components-calendar__weeks-after-exit,
868 -.components-calendar__caption-after-enter,
869 -.components-calendar__caption-after-exit,
870 -.components-calendar__caption-before-enter,
871 -.components-calendar__caption-before-exit {
872 - animation-duration: 0s;
873 - animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
874 - animation-fill-mode: forwards;
875 -}
876 -@media not (prefers-reduced-motion) {
877 - .components-calendar__weeks-before-enter,
878 - .components-calendar__weeks-before-exit,
879 - .components-calendar__weeks-after-enter,
880 - .components-calendar__weeks-after-exit,
881 - .components-calendar__caption-after-enter,
882 - .components-calendar__caption-after-exit,
883 - .components-calendar__caption-before-enter,
884 - .components-calendar__caption-before-exit {
885 - animation-duration: 0.3s;
886 - }
887 -}
888 -
889 -.components-calendar__weeks-before-enter,
890 -.components-calendar[dir=rtl] .components-calendar__weeks-after-enter {
891 - animation-name: slide-in-left;
892 -}
893 -
894 -.components-calendar__weeks-before-exit,
895 -.components-calendar[dir=rtl] .components-calendar__weeks-after-exit {
896 - animation-name: slide-out-left;
897 -}
898 -
899 -.components-calendar__weeks-after-enter,
900 -.components-calendar[dir=rtl] .components-calendar__weeks-before-enter {
901 - animation-name: slide-in-right;
902 -}
903 -
904 -.components-calendar__weeks-after-exit,
905 -.components-calendar[dir=rtl] .components-calendar__weeks-before-exit {
906 - animation-name: slide-out-right;
907 -}
908 -
909 -.components-calendar__caption-after-enter {
910 - animation-name: fade-in;
911 -}
912 -
913 -.components-calendar__caption-after-exit {
914 - animation-name: fade-out;
915 -}
916 -
917 -.components-calendar__caption-before-enter {
918 - animation-name: fade-in;
919 -}
920 -
921 -.components-calendar__caption-before-exit {
922 - animation-name: fade-out;
923 -}
924 -
925 542 .components-checkbox-control {
926 543 --checkbox-input-size: 24px;
927 544 }
928 545 @media (min-width: 600px) {
@@ -935,8 +552,9 @@
935 552 }
936 553
937 554 .components-checkbox-control__label {
938 555 line-height: var(--checkbox-input-size);
556 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
939 557 }
940 558 .components-checkbox-control:not(:has(:disabled)) .components-checkbox-control__label {
941 559 cursor: var(--wpds-cursor-control, pointer);
942 560 }
@@ -941,27 +559,21 @@
941 559 cursor: var(--wpds-cursor-control, pointer);
942 560 }
943 561
944 562 .components-checkbox-control__input[type=checkbox] {
945 - border: 1px solid #1e1e1e;
563 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
946 564 margin-right: 12px;
947 565 transition: none;
948 566 border-radius: 2px;
949 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
567 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
950 568 padding: 6px 8px;
951 569 /* Fonts smaller than 16px causes mobile safari to zoom. */
952 570 font-size: 16px;
953 571 /* Override core line-height. To be reviewed. */
954 572 line-height: normal;
955 - box-shadow: 0 0 0 transparent;
956 - border-radius: 2px;
957 - border: 1px solid #949494;
573 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
574 + border-radius: var(--wpds-border-radius-sm, 2px);
958 575 }
959 -@media not (prefers-reduced-motion) {
960 - .components-checkbox-control__input[type=checkbox] {
961 - transition: box-shadow 0.1s linear;
962 - }
963 -}
964 576 @media (min-width: 600px) {
965 577 .components-checkbox-control__input[type=checkbox] {
966 578 font-size: 13px;
967 579 /* Override core line-height. To be reviewed. */
@@ -967,16 +579,23 @@
967 579 /* Override core line-height. To be reviewed. */
968 580 line-height: normal;
969 581 }
970 582 }
583 +.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true]) {
584 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
585 +}
971 586 .components-checkbox-control__input[type=checkbox]:focus {
972 - border-color: var(--wp-admin-theme-color);
973 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
974 - outline: 2px solid transparent;
587 + 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)));
588 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
589 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
590 + box-shadow: none;
975 591 }
976 592 .components-checkbox-control__input[type=checkbox]::placeholder {
977 593 color: rgba(30, 30, 30, 0.62);
978 594 }
595 +.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true]) {
596 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
597 +}
979 598 .components-checkbox-control__input[type=checkbox]:focus {
980 599 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
981 600 outline: 2px solid transparent;
982 601 }
@@ -1003,9 +622,9 @@
1003 622 display: inline-block;
1004 623 vertical-align: middle;
1005 624 width: 16px;
1006 625 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1007 - font: normal 30px/1 dashicons;
626 + font: 400 30px/1 dashicons;
1008 627 speak: none;
1009 628 -webkit-font-smoothing: antialiased;
1010 629 -moz-osx-font-smoothing: grayscale;
1011 630 }
@@ -1015,13 +634,17 @@
1015 634 font-size: 21px;
1016 635 }
1017 636 }
1018 637 .components-checkbox-control__input[type=checkbox][aria-disabled=true], .components-checkbox-control__input[type=checkbox]:disabled {
1019 - background: #f0f0f0;
1020 - border-color: #ddd;
638 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
639 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
640 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1021 641 cursor: default;
1022 642 opacity: 1;
1023 643 }
644 +.components-checkbox-control__input[type=checkbox][aria-disabled=true]:checked::before, .components-checkbox-control__input[type=checkbox][aria-disabled=true][aria-checked=mixed]::before, .components-checkbox-control__input[type=checkbox]:disabled:checked::before, .components-checkbox-control__input[type=checkbox]:disabled[aria-checked=mixed]::before {
645 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
646 +}
1024 647 .components-checkbox-control__input[type=checkbox] {
1025 648 background: #fff;
1026 649 color: #1e1e1e;
1027 650 clear: none;
@@ -1069,31 +692,24 @@
1069 692 }
1070 693
1071 694 svg.components-checkbox-control__checked,
1072 695 svg.components-checkbox-control__indeterminate {
1073 - --checkmark-size: var(--checkbox-input-size);
1074 - fill: #fff;
696 + color: #fff;
1075 697 cursor: var(--wpds-cursor-control, pointer);
1076 698 position: absolute;
1077 699 left: 50%;
1078 700 top: 50%;
1079 701 transform: translate(-50%, -50%);
1080 - width: var(--checkmark-size);
1081 - height: var(--checkmark-size);
702 + width: var(--checkbox-input-size);
703 + height: var(--checkbox-input-size);
1082 704 -webkit-user-select: none;
1083 705 user-select: none;
1084 706 pointer-events: none;
1085 707 }
1086 -@media (min-width: 600px) {
1087 - svg.components-checkbox-control__checked,
1088 - svg.components-checkbox-control__indeterminate {
1089 - --checkmark-size: calc(var(--checkbox-input-size) + 4px);
1090 - }
1091 -}
1092 708
1093 709 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__checked,
1094 710 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__indeterminate {
1095 - fill: var(--wp-components-color-gray-400, #ccc);
711 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1096 712 }
1097 713
1098 714 .components-checkbox-control__help {
1099 715 display: inline-block;
@@ -1131,14 +747,14 @@
1131 747 transform: scale(1);
1132 748 }
1133 749 @media not (prefers-reduced-motion) {
1134 750 .components-circular-option-picker__option-wrapper {
1135 - transition: 100ms transform ease;
751 + transition: 100ms transform ease-out;
1136 752 will-change: transform;
1137 753 }
1138 754 }
1139 755 .components-circular-option-picker__option-wrapper:hover {
1140 - transform: scale(1.2);
756 + transform: scale(1.1);
1141 757 }
1142 758 .components-circular-option-picker__option-wrapper > div {
1143 759 height: 100%;
1144 760 width: 100%;
@@ -1146,15 +762,11 @@
1146 762
1147 763 .components-circular-option-picker__option-wrapper::before {
1148 764 content: "";
1149 765 position: absolute;
1150 - top: 1px;
1151 - left: 1px;
1152 - bottom: 1px;
1153 - right: 1px;
766 + inset: 1px;
1154 767 border-radius: 50%;
1155 768 z-index: -1;
1156 - /* stylelint-disable-next-line function-url-quotes -- We need quotes for the data URL to use the SVG inline. */
1157 769 background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E');
1158 770 }
1159 771
1160 772 .components-circular-option-picker__option {
@@ -1174,13 +786,9 @@
1174 786 }
1175 787 .components-circular-option-picker__option {
1176 788 cursor: var(--wpds-cursor-control, pointer);
1177 789 }
1178 -.components-circular-option-picker__option:hover {
1179 - box-shadow: inset 0 0 0 14px !important;
1180 -}
1181 790 .components-circular-option-picker__option[aria-pressed=true], .components-circular-option-picker__option[aria-selected=true] {
1182 - box-shadow: inset 0 0 0 4px;
1183 791 position: relative;
1184 792 z-index: 1;
1185 793 overflow: visible;
1186 794 }
@@ -1194,34 +802,13 @@
1194 802 }
1195 803 .components-circular-option-picker__option::after {
1196 804 content: "";
1197 805 position: absolute;
1198 - top: -1px;
1199 - left: -1px;
1200 - bottom: -1px;
1201 - right: -1px;
806 + inset: -1px;
807 + border: 1px solid transparent;
1202 808 border-radius: 50%;
1203 809 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1204 - border: 1px solid transparent;
1205 - box-sizing: inherit;
1206 810 }
1207 -.components-circular-option-picker__option:focus::after {
1208 - content: "";
1209 - border-radius: 50%;
1210 - box-shadow: inset 0 0 0 2px #fff;
1211 - position: absolute;
1212 - top: 50%;
1213 - left: 50%;
1214 - transform: translate(-50%, -50%);
1215 - border: 2px solid #757575;
1216 - width: calc(100% + 4px);
1217 - height: calc(100% + 4px);
1218 -}
1219 -.components-circular-option-picker__option.components-button:focus {
1220 - background-color: transparent;
1221 - box-shadow: inset 0 0 0 14px;
1222 - outline: none;
1223 -}
1224 811
1225 812 .components-circular-option-picker__button-action .components-circular-option-picker__option {
1226 813 color: #fff;
1227 814 background: #fff;
@@ -1233,17 +820,14 @@
1233 820 .components-circular-option-picker__dropdown-link-action .components-button {
1234 821 line-height: 22px;
1235 822 }
1236 823
1237 -.components-palette-edit__popover-gradient-picker {
824 +.components-palette-edit__popover-gradient-picker,
825 +.components-palette-edit__popover-duotone-picker {
1238 826 width: 260px;
1239 827 padding: 8px;
1240 828 }
1241 829
1242 -.components-dropdown-menu__menu .components-palette-edit__menu-button {
1243 - width: 100%;
1244 -}
1245 -
1246 830 .component-color-indicator {
1247 831 width: 20px;
1248 832 height: 20px;
1249 833 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
@@ -1266,10 +850,10 @@
1266 850 padding: 2px;
1267 851 margin: 0;
1268 852 line-height: inherit;
1269 853 min-height: auto;
1270 - background: var(--wp-components-color-background, #fff);
1271 - color: var(--wp-components-color-foreground, #1e1e1e);
854 + background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
855 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1272 856 }
1273 857 @media (min-width: 600px) {
1274 858 input.components-combobox-control__input[type=text] {
1275 859 font-size: 13px;
@@ -1280,23 +864,17 @@
1280 864 box-shadow: none;
1281 865 }
1282 866
1283 867 .components-combobox-control__suggestions-container {
1284 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
868 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1285 869 padding: 6px 8px;
1286 870 /* Fonts smaller than 16px causes mobile safari to zoom. */
1287 871 font-size: 16px;
1288 872 /* Override core line-height. To be reviewed. */
1289 873 line-height: normal;
1290 - box-shadow: 0 0 0 transparent;
1291 - border-radius: 2px;
1292 - border: 1px solid #949494;
874 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
875 + border-radius: var(--wpds-border-radius-sm, 2px);
1293 876 }
1294 -@media not (prefers-reduced-motion) {
1295 - .components-combobox-control__suggestions-container {
1296 - transition: box-shadow 0.1s linear;
1297 - }
1298 -}
1299 877 @media (min-width: 600px) {
1300 878 .components-combobox-control__suggestions-container {
1301 879 font-size: 13px;
1302 880 /* Override core line-height. To be reviewed. */
@@ -1302,12 +880,16 @@
1302 880 /* Override core line-height. To be reviewed. */
1303 881 line-height: normal;
1304 882 }
1305 883 }
884 +.components-combobox-control__suggestions-container:hover:not(:disabled, [aria-disabled=true]) {
885 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
886 +}
1306 887 .components-combobox-control__suggestions-container:focus {
1307 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1308 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1309 - outline: 2px solid transparent;
888 + 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)));
889 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
890 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
891 + box-shadow: none;
1310 892 }
1311 893 .components-combobox-control__suggestions-container::placeholder {
1312 894 color: rgba(30, 30, 30, 0.62);
1313 895 }
@@ -1318,11 +900,10 @@
1318 900 width: 100%;
1319 901 padding: 0;
1320 902 }
1321 903 .components-combobox-control__suggestions-container:focus-within {
1322 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1323 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1324 - outline: 2px solid transparent;
904 + 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)));
905 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1325 906 }
1326 907 .components-combobox-control__suggestions-container .components-spinner {
1327 908 margin: 0;
1328 909 }
@@ -1369,9 +950,9 @@
1369 950 box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.2), inset 1px 0 0 0 rgba(0, 0, 0, 0.2), inset -1px 0 0 0 rgba(0, 0, 0, 0.2);
1370 951 }
1371 952
1372 953 .components-color-palette__custom-color-name {
1373 - color: var(--wp-components-color-foreground, #1e1e1e);
954 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1374 955 margin: 0 1px;
1375 956 }
1376 957
1377 958 .components-color-palette__custom-color-value {
@@ -1435,14 +1016,19 @@
1435 1016 width: inherit;
1436 1017 border-radius: 50%;
1437 1018 padding: 0;
1438 1019 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1439 - outline: 2px solid transparent;
1440 1020 }
1441 -.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1021 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1442 1022 box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1443 - outline: 1.5px solid transparent;
1444 1023 }
1024 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active) {
1025 + outline-offset: 1px;
1026 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
1027 +}
1028 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active).is-active {
1029 + box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
1030 +}
1445 1031
1446 1032 .components-custom-gradient-picker__remove-control-point-wrapper {
1447 1033 padding-bottom: 8px;
1448 1034 }
@@ -1463,28 +1049,8 @@
1463 1049 position: relative;
1464 1050 z-index: 0;
1465 1051 }
1466 1052
1467 -body.is-dragging-components-draggable {
1468 - cursor: move; /* Fallback for IE/Edge < 14 */
1469 - cursor: grabbing !important;
1470 -}
1471 -
1472 -.components-draggable__invisible-drag-image {
1473 - position: fixed;
1474 - left: -1000px;
1475 - height: 50px;
1476 - width: 50px;
1477 -}
1478 -
1479 -.components-draggable__clone {
1480 - position: fixed;
1481 - padding: 0;
1482 - background: transparent;
1483 - pointer-events: none;
1484 - z-index: 1000000000;
1485 -}
1486 -
1487 1053 .components-drop-zone {
1488 1054 position: absolute;
1489 1055 top: 0;
1490 1056 right: 0;
@@ -1551,9 +1117,9 @@
1551 1117 pointer-events: none;
1552 1118 }
1553 1119
1554 1120 .components-drop-zone__content-text {
1555 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1121 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1556 1122 font-size: 13px;
1557 1123 }
1558 1124
1559 1125 .components-dropdown {
@@ -1590,9 +1156,9 @@
1590 1156 }
1591 1157
1592 1158 .components-dropdown-menu__menu {
1593 1159 width: 100%;
1594 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1160 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1595 1161 font-size: 13px;
1596 1162 line-height: 1.4;
1597 1163 }
1598 1164 .components-dropdown-menu__menu .components-dropdown-menu__menu-item,
@@ -1601,9 +1167,9 @@
1601 1167 padding: 6px;
1602 1168 outline: none;
1603 1169 cursor: var(--wpds-cursor-control, pointer);
1604 1170 white-space: nowrap;
1605 - font-weight: 400;
1171 + font-weight: var(--wpds-typography-font-weight-default, 400);
1606 1172 }
1607 1173 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
1608 1174 .components-dropdown-menu__menu .components-menu-item.has-separator {
1609 1175 margin-top: 6px;
@@ -1614,9 +1180,9 @@
1614 1180 .components-dropdown-menu__menu .components-menu-item.has-separator::before {
1615 1181 display: block;
1616 1182 content: "";
1617 1183 box-sizing: content-box;
1618 - background-color: #ddd;
1184 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1619 1185 position: absolute;
1620 1186 top: -3px;
1621 1187 left: 0;
1622 1188 right: 0;
@@ -1676,29 +1242,25 @@
1676 1242 margin: 2px;
1677 1243 }
1678 1244
1679 1245 .components-external-link {
1680 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1246 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1681 1247 text-decoration: none;
1682 1248 }
1683 -@media not (prefers-reduced-motion) {
1684 - .components-external-link {
1685 - transition: outline 0.1s ease-out;
1686 - }
1687 -}
1688 -.components-external-link {
1689 - outline: 0 solid transparent;
1690 - outline-offset: 1px;
1691 -}
1692 1249 .components-external-link:visited {
1693 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1250 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1694 1251 }
1695 1252 .components-external-link:hover, .components-external-link:active {
1696 - color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9));
1253 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1697 1254 }
1698 1255 .components-external-link:focus {
1699 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
1256 + box-shadow: none;
1257 + border-radius: 0;
1700 1258 }
1259 +.components-external-link:focus:not(:active) {
1260 + 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)));
1261 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1262 +}
1701 1263
1702 1264 .components-external-link__contents {
1703 1265 text-decoration: underline;
1704 1266 text-underline-offset: 0.2em;
@@ -1705,11 +1267,12 @@
1705 1267 text-decoration-thickness: from-font;
1706 1268 }
1707 1269
1708 1270 .components-external-link__icon {
1271 + line-height: 1;
1709 1272 display: inline-block;
1710 1273 margin-inline-start: var(--wpds-dimension-padding-xs, 4px);
1711 - font-weight: var(--wpds-typography-font-weight-regular, 400);
1274 + font-weight: var(--wpds-typography-font-weight-default, 400);
1712 1275 }
1713 1276
1714 1277 .components-form-toggle {
1715 1278 position: relative;
@@ -1788,39 +1351,39 @@
1788 1351 background-color: #fff;
1789 1352 border-width: 0;
1790 1353 transform: translateX(16px);
1791 1354 }
1792 -.components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1793 - background-color: var(--wp-components-color-gray-100, #f0f0f0);
1794 - border-color: var(--wp-components-color-gray-300, #ddd);
1355 +.components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1356 + background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1357 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1795 1358 }
1796 1359 @media (forced-colors: active) {
1797 - .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1360 + .components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1798 1361 border-color: GrayText;
1799 1362 }
1800 1363 }
1801 -.components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1802 - background-color: var(--wp-components-color-gray-400, #ccc);
1364 +.components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1365 + background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1803 1366 box-shadow: none;
1804 1367 }
1805 1368 @media (forced-colors: active) {
1806 - .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1369 + .components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1807 1370 border-color: GrayText;
1808 1371 }
1809 1372 }
1810 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1811 - background-color: var(--wp-components-color-gray-400, #ccc);
1812 - border-color: var(--wp-components-color-gray-400, #ccc);
1373 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1374 + background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1375 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1813 1376 }
1814 1377 @media (forced-colors: active) {
1815 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1378 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1816 1379 border-color: GrayText;
1817 1380 }
1818 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after {
1381 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, [inert] .components-form-toggle.is-checked .components-form-toggle__track::after {
1819 1382 border-top-color: GrayText;
1820 1383 }
1821 1384 }
1822 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb {
1385 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, [inert] .components-form-toggle.is-checked .components-form-toggle__thumb {
1823 1386 background-color: #fff;
1824 1387 }
1825 1388
1826 1389 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1845,23 +1408,17 @@
1845 1408 cursor: var(--wpds-cursor-control, pointer);
1846 1409 }
1847 1410
1848 1411 .components-form-token-field__input-container {
1849 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1412 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1850 1413 padding: 6px 8px;
1851 1414 /* Fonts smaller than 16px causes mobile safari to zoom. */
1852 1415 font-size: 16px;
1853 1416 /* Override core line-height. To be reviewed. */
1854 1417 line-height: normal;
1855 - box-shadow: 0 0 0 transparent;
1856 - border-radius: 2px;
1857 - border: 1px solid #949494;
1418 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1419 + border-radius: var(--wpds-border-radius-sm, 2px);
1858 1420 }
1859 -@media not (prefers-reduced-motion) {
1860 - .components-form-token-field__input-container {
1861 - transition: box-shadow 0.1s linear;
1862 - }
1863 -}
1864 1421 @media (min-width: 600px) {
1865 1422 .components-form-token-field__input-container {
1866 1423 font-size: 13px;
1867 1424 /* Override core line-height. To be reviewed. */
@@ -1867,12 +1424,16 @@
1867 1424 /* Override core line-height. To be reviewed. */
1868 1425 line-height: normal;
1869 1426 }
1870 1427 }
1428 +.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true]) {
1429 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1430 +}
1871 1431 .components-form-token-field__input-container:focus {
1872 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1873 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1874 - outline: 2px solid transparent;
1432 + 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)));
1433 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1434 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1435 + box-shadow: none;
1875 1436 }
1876 1437 .components-form-token-field__input-container::placeholder {
1877 1438 color: rgba(30, 30, 30, 0.62);
1878 1439 }
@@ -1881,16 +1442,18 @@
1881 1442 padding: 0;
1882 1443 cursor: text;
1883 1444 }
1884 1445 .components-form-token-field__input-container.is-disabled {
1885 - background: var(--wp-components-color-gray-100, #f0f0f0);
1886 - border-color: var(--wp-components-color-gray-400, #ccc);
1446 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1447 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1887 1448 cursor: default;
1888 1449 }
1450 +.components-form-token-field__input-container.is-disabled:hover {
1451 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1452 +}
1889 1453 .components-form-token-field__input-container.is-active {
1890 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1891 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1892 - outline: 2px solid transparent;
1454 + 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)));
1455 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1893 1456 }
1894 1457 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1895 1458 display: inline-block;
1896 1459 flex: 1;
@@ -1904,9 +1467,9 @@
1904 1467 min-height: 24px;
1905 1468 min-width: 50px;
1906 1469 background: inherit;
1907 1470 border: 0;
1908 - color: var(--wp-components-color-foreground, #1e1e1e);
1471 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1909 1472 box-shadow: none;
1910 1473 }
1911 1474 @media (min-width: 600px) {
1912 1475 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
@@ -1940,10 +1503,10 @@
1940 1503 color: #757575;
1941 1504 }
1942 1505 .components-form-token-field__token.is-disabled .components-form-token-field__token-text,
1943 1506 .components-form-token-field__token.is-disabled .components-form-token-field__remove-token.components-button {
1944 - background: var(--wp-components-color-gray-100, #f0f0f0);
1945 - color: var(--wp-components-color-gray-600, #949494);
1507 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1508 + color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1946 1509 }
1947 1510 .components-form-token-field__token.is-borderless {
1948 1511 position: relative;
1949 1512 padding: 0 24px 0 0;
@@ -2023,9 +1586,9 @@
2023 1586 padding: 0;
2024 1587 }
2025 1588
2026 1589 .components-form-token-field__suggestion {
2027 - color: var(--wp-components-color-foreground, #1e1e1e);
1590 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
2028 1591 display: block;
2029 1592 font-size: 13px;
2030 1593 padding: 8px 12px;
2031 1594 min-height: 32px;
@@ -2033,9 +1596,9 @@
2033 1596 box-sizing: border-box;
2034 1597 }
2035 1598 .components-form-token-field__suggestion.is-selected {
2036 1599 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2037 - color: var(--wp-components-color-foreground-inverted, #fff);
1600 + color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
2038 1601 }
2039 1602 .components-form-token-field__suggestion[aria-disabled=true] {
2040 1603 pointer-events: none;
2041 1604 color: #949494;
@@ -2181,8 +1744,13 @@
2181 1744 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2182 1745 box-shadow: inset 0 0 0 calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7);
2183 1746 }
2184 1747
1748 +.components-input-control__container:focus-within:not(:has(:is(.components-input-control__prefix, .components-input-control__suffix):focus-within)) .components-input-control__backdrop {
1749 + 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)));
1750 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1751 +}
1752 +
2185 1753 .components-menu-group + .components-menu-group {
2186 1754 padding-top: 8px;
2187 1755 border-top: 1px solid #1e1e1e;
2188 1756 }
@@ -2202,9 +1770,9 @@
2202 1770 margin-bottom: 12px;
2203 1771 color: #757575;
2204 1772 text-transform: uppercase;
2205 1773 font-size: 11px;
2206 - font-weight: 499;
1774 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2207 1775 white-space: nowrap;
2208 1776 }
2209 1777
2210 1778 .components-menu-item__button,
@@ -2209,9 +1777,9 @@
2209 1777
2210 1778 .components-menu-item__button,
2211 1779 .components-menu-item__button.components-button {
2212 1780 width: 100%;
2213 - font-weight: 400;
1781 + font-weight: var(--wpds-typography-font-weight-default, 400);
2214 1782 }
2215 1783 .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,
2216 1784 .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,
2217 1785 .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {
@@ -2301,8 +1869,12 @@
2301 1869 .components-menu-items-choice.components-button.has-icon {
2302 1870 padding-left: 12px;
2303 1871 }
2304 1872
1873 +body.modal-open {
1874 + overflow: hidden;
1875 +}
1876 +
2305 1877 .components-modal__screen-overlay {
2306 1878 position: fixed;
2307 1879 top: 0;
2308 1880 right: 0;
@@ -2321,9 +1893,9 @@
2321 1893 }
2322 1894 }
2323 1895 @media not (prefers-reduced-motion) {
2324 1896 .components-modal__screen-overlay {
2325 - animation: __wp-base-styles-fade-in 0.08s linear 0s;
1897 + animation: __wp-base-styles-fade-in var(--wpds-motion-duration-sm, 100ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)) 0s;
2326 1898 animation-fill-mode: forwards;
2327 1899 }
2328 1900 }
2329 1901 @keyframes __wp-base-styles-fade-out {
@@ -2335,9 +1907,9 @@
2335 1907 }
2336 1908 }
2337 1909 @media not (prefers-reduced-motion) {
2338 1910 .components-modal__screen-overlay.is-animating-out {
2339 - animation: __wp-base-styles-fade-out 0.08s linear 80ms;
1911 + animation: __wp-base-styles-fade-out var(--wpds-motion-duration-sm, 100ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)) var(--wpds-motion-duration-xs, 50ms);
2340 1912 animation-fill-mode: forwards;
2341 1913 }
2342 1914 }
2343 1915
@@ -2349,10 +1921,12 @@
2349 1921 .components-modal__frame *::after {
2350 1922 box-sizing: inherit;
2351 1923 }
2352 1924 .components-modal__frame {
2353 - margin: 40px 0 0 0;
1925 + align-self: flex-end;
1926 + margin: 0;
2354 1927 width: 100%;
1928 + max-height: calc(100% - 40px);
2355 1929 background: #fff;
2356 1930 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);
2357 1931 border-radius: 8px 8px 0 0;
2358 1932 overflow: hidden;
@@ -2359,9 +1933,9 @@
2359 1933 display: flex;
2360 1934 color: #1e1e1e;
2361 1935 animation-name: components-modal__appear-animation;
2362 1936 animation-fill-mode: forwards;
2363 - animation-timing-function: cubic-bezier(0.29, 0, 0, 1);
1937 + animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1));
2364 1938 }
2365 1939 .components-modal__frame h1,
2366 1940 .components-modal__frame h2,
2367 1941 .components-modal__frame h3 {
@@ -2368,17 +1942,18 @@
2368 1942 color: #1e1e1e;
2369 1943 }
2370 1944 @media not (prefers-reduced-motion) {
2371 1945 .components-modal__frame {
2372 - animation-duration: var(--modal-frame-animation-duration);
1946 + animation-duration: var(--wpds-motion-duration-md, 200ms);
2373 1947 }
2374 1948 }
2375 1949 .components-modal__screen-overlay.is-animating-out .components-modal__frame {
2376 1950 animation-name: components-modal__disappear-animation;
2377 - animation-timing-function: cubic-bezier(1, 0, 0.2, 1);
1951 + animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1));
2378 1952 }
2379 1953 @media (min-width: 600px) {
2380 1954 .components-modal__frame {
1955 + align-self: auto;
2381 1956 border-radius: 8px;
2382 1957 margin: auto;
2383 1958 width: auto;
2384 1959 min-width: var(--wpds-dimension-surface-width-sm, 320px);
@@ -2384,24 +1959,8 @@
2384 1959 min-width: var(--wpds-dimension-surface-width-sm, 320px);
2385 1960 max-width: calc(100% - 32px);
2386 1961 max-height: calc(100% - 128px);
2387 1962 }
2388 -}
2389 -@media (min-width: 600px) and (min-width: 600px) {
2390 - .components-modal__frame.is-full-screen {
2391 - width: calc(100% - 32px);
2392 - height: calc(100% - 32px);
2393 - max-height: none;
2394 - }
2395 -}
2396 -@media (min-width: 600px) and (min-width: 782px) {
2397 - .components-modal__frame.is-full-screen {
2398 - width: calc(100% - 80px);
2399 - height: calc(100% - 80px);
2400 - max-width: none;
2401 - }
2402 -}
2403 -@media (min-width: 600px) {
2404 1963 .components-modal__frame.has-size-small, .components-modal__frame.has-size-medium, .components-modal__frame.has-size-large {
2405 1964 width: 100%;
2406 1965 }
2407 1966 .components-modal__frame.has-size-small {
@@ -2418,8 +1977,15 @@
2418 1977 .components-modal__frame {
2419 1978 max-height: 70%;
2420 1979 }
2421 1980 }
1981 +.components-modal__frame.is-full-screen {
1982 + margin: 0;
1983 + width: 100%;
1984 + height: 100%;
1985 + max-height: none;
1986 + border-radius: 0;
1987 +}
2422 1988 .components-modal__frame.is-full-screen :where(.components-modal__content) {
2423 1989 display: flex;
2424 1990 margin-bottom: 24px;
2425 1991 padding-bottom: 0;
@@ -2426,29 +1992,66 @@
2426 1992 }
2427 1993 .components-modal__frame.is-full-screen :where(.components-modal__content) > :last-child {
2428 1994 flex: 1;
2429 1995 }
1996 +@media (min-width: 600px) {
1997 + .components-modal__frame.is-full-screen {
1998 + margin: auto;
1999 + border-radius: 8px;
2000 + width: calc(100% - 32px);
2001 + height: calc(100% - 32px);
2002 + }
2003 +}
2004 +@media (min-width: 782px) {
2005 + .components-modal__frame.is-full-screen {
2006 + width: calc(100% - 80px);
2007 + height: calc(100% - 80px);
2008 + max-width: none;
2009 + }
2010 +}
2430 2011
2431 2012 @keyframes components-modal__appear-animation {
2432 2013 from {
2433 2014 opacity: 0;
2434 - transform: scale(0.9);
2015 + transform: translateY(100%);
2435 2016 }
2436 2017 to {
2437 2018 opacity: 1;
2438 - transform: scale(1);
2019 + transform: translateY(0);
2439 2020 }
2440 2021 }
2441 2022 @keyframes components-modal__disappear-animation {
2442 2023 from {
2443 2024 opacity: 1;
2444 - transform: scale(1);
2025 + transform: translateY(0);
2445 2026 }
2446 2027 to {
2447 2028 opacity: 0;
2448 - transform: scale(0.9);
2029 + transform: translateY(100%);
2449 2030 }
2450 2031 }
2032 +@media (min-width: 600px) {
2033 + @keyframes components-modal__appear-animation {
2034 + from {
2035 + opacity: 0;
2036 + transform: scale(0.9);
2037 + }
2038 + to {
2039 + opacity: 1;
2040 + transform: scale(1);
2041 + }
2042 + }
2043 + @keyframes components-modal__disappear-animation {
2044 + from {
2045 + opacity: 1;
2046 + transform: scale(1);
2047 + }
2048 + to {
2049 + opacity: 0;
2050 + transform: scale(0.9);
2051 + }
2052 + }
2053 +}
2451 2054 .components-modal__header {
2452 2055 box-sizing: border-box;
2453 2056 border-bottom: 1px solid transparent;
2454 2057 padding: 24px;
@@ -2464,9 +2067,9 @@
2464 2067 left: 0;
2465 2068 }
2466 2069 .components-modal__header .components-modal__header-heading {
2467 2070 font-size: 20px;
2468 - font-weight: 600;
2071 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2469 2072 }
2470 2073 .components-modal__header h1 {
2471 2074 line-height: 1;
2472 2075 margin: 0;
@@ -2471,9 +2074,9 @@
2471 2074 line-height: 1;
2472 2075 margin: 0;
2473 2076 }
2474 2077 .components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header {
2475 - border-bottom-color: #ddd;
2078 + border-bottom-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2476 2079 }
2477 2080 .components-modal__header + p {
2478 2081 margin-top: 0;
2479 2082 }
@@ -2511,72 +2114,73 @@
2511 2114 outline-offset: -2px;
2512 2115 }
2513 2116
2514 2117 .components-notice {
2515 - display: flex;
2516 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2517 - font-size: 13px;
2518 - background-color: #fff;
2519 - border-left: 4px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2520 - padding: 8px 12px;
2521 - align-items: center;
2522 - color: #1e1e1e;
2118 + --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2119 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #adc6e2);
2120 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2121 + box-sizing: border-box;
2122 + display: grid;
2123 + grid-template-columns: 1fr auto;
2124 + align-items: start;
2125 + padding: var(--wpds-dimension-padding-md, 12px);
2126 + border: var(--wpds-border-width-xs, 1px) solid var(--wp-components-notice-border-color);
2127 + border-radius: var(--wpds-border-radius-lg, 8px);
2128 + background-color: var(--wp-components-notice-background-color);
2129 + color: var(--wp-components-notice-text-color);
2130 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
2131 + font-size: var(--wpds-typography-font-size-md, 13px);
2132 + line-height: var(--wpds-typography-line-height-sm, 20px);
2523 2133 }
2524 -.components-notice.is-dismissible {
2525 - position: relative;
2526 -}
2527 -.components-notice.is-dismissible .components-notice__content {
2528 - margin-right: 25px;
2529 -}
2530 2134 .components-notice.is-success {
2531 - border-left-color: #4ab866;
2532 - background-color: rgb(238.8392857143, 248.6607142857, 241.3392857143);
2135 + --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2136 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #92d39d);
2137 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2533 2138 }
2534 2139 .components-notice.is-warning {
2535 - border-left-color: #f0b849;
2536 - background-color: rgb(253.5913705584, 248.3324873096, 237.9086294416);
2140 + --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2141 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bd7c);
2142 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2537 2143 }
2538 2144 .components-notice.is-error {
2539 - border-left-color: #cc1818;
2540 - background-color: rgb(244.1052631579, 162.3947368421, 162.3947368421);
2145 + --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2146 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #e0afa7);
2147 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2541 2148 }
2542 2149
2543 2150 .components-notice__content {
2544 - flex-grow: 1;
2545 - margin-top: 4px;
2546 - margin-bottom: 4px;
2151 + grid-column: 1;
2152 + grid-row: 1;
2153 + padding-block: calc((var(--wpds-dimension-size-sm, 24px) - 1lh) / 2);
2547 2154 }
2548 2155
2549 2156 .components-notice__actions {
2157 + grid-column: 1;
2158 + grid-row: 2;
2550 2159 display: flex;
2551 2160 flex-wrap: wrap;
2552 2161 align-items: center;
2553 - gap: 12px;
2554 - margin-top: 12px;
2162 + gap: var(--wpds-dimension-gap-md, 12px);
2163 + margin-top: var(--wpds-dimension-gap-sm, 8px);
2555 2164 }
2556 2165
2557 2166 .components-notice__dismiss {
2558 - color: #757575;
2559 - align-self: flex-start;
2560 - flex-shrink: 0;
2167 + grid-column: 2;
2168 + grid-row: 1;
2169 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2170 + margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2561 2171 }
2562 2172 .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus {
2563 - color: #1e1e1e;
2564 - background-color: transparent;
2173 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2565 2174 }
2566 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2567 - box-shadow: none;
2568 -}
2569 2175
2570 2176 .components-notice-list {
2177 + display: flex;
2178 + flex-direction: column;
2179 + gap: var(--wpds-dimension-gap-md, 12px);
2571 2180 max-width: 100vw;
2572 2181 box-sizing: border-box;
2573 2182 }
2574 -.components-notice-list .components-notice__content {
2575 - margin-top: 12px;
2576 - margin-bottom: 12px;
2577 - line-height: 2;
2578 -}
2579 2183
2580 2184 .components-panel {
2581 2185 background: #fff;
2582 2186 border: 1px solid #e0e0e0;
@@ -2610,9 +2214,9 @@
2610 2214 flex-shrink: 0;
2611 2215 justify-content: space-between;
2612 2216 align-items: center;
2613 2217 padding: 0 16px;
2614 - border-bottom: 1px solid #ddd;
2218 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2615 2219 box-sizing: content-box;
2616 2220 height: 47px;
2617 2221 }
2618 2222 .components-panel__header h2 {
@@ -2653,15 +2257,12 @@
2653 2257
2654 2258 .components-panel__body-toggle.components-button {
2655 2259 position: relative;
2656 2260 padding: 16px 48px 16px 16px;
2657 - outline: none;
2658 2261 width: 100%;
2659 - font-weight: 499;
2262 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2660 2263 text-align: left;
2661 2264 color: #1e1e1e;
2662 - border: none;
2663 - box-shadow: none;
2664 2265 }
2665 2266 @media not (prefers-reduced-motion) {
2666 2267 .components-panel__body-toggle.components-button {
2667 2268 transition: 0.1s background ease-in-out;
@@ -2670,9 +2271,9 @@
2670 2271 .components-panel__body-toggle.components-button {
2671 2272 height: auto;
2672 2273 }
2673 2274 .components-panel__body-toggle.components-button:focus {
2674 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2275 + outline-offset: calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) * -1);
2675 2276 border-radius: 0;
2676 2277 }
2677 2278 .components-panel__body-toggle.components-button .components-panel__arrow {
2678 2279 position: absolute;
@@ -2758,18 +2359,18 @@
2758 2359 .components-placeholder__error,
2759 2360 .components-placeholder__instructions,
2760 2361 .components-placeholder__label,
2761 2362 .components-placeholder__fieldset {
2762 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2363 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2763 2364 font-size: 13px;
2764 2365 letter-spacing: initial;
2765 2366 line-height: initial;
2766 2367 text-transform: none;
2767 - font-weight: normal;
2368 + font-weight: 400;
2768 2369 }
2769 2370
2770 2371 .components-placeholder__label {
2771 - font-weight: 600;
2372 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2772 2373 align-items: center;
2773 2374 display: flex;
2774 2375 }
2775 2376 .components-placeholder__label > svg,
@@ -2777,15 +2378,8 @@
2777 2378 .components-placeholder__label .block-editor-block-icon {
2778 2379 margin-right: 4px;
2779 2380 fill: currentColor;
2780 2381 }
2781 -@media (forced-colors: active) {
2782 - .components-placeholder__label > svg,
2783 - .components-placeholder__label .dashicon,
2784 - .components-placeholder__label .block-editor-block-icon {
2785 - fill: CanvasText;
2786 - }
2787 -}
2788 2382 .components-placeholder__label:empty {
2789 2383 display: none;
2790 2384 }
2791 2385
@@ -2799,9 +2393,9 @@
2799 2393 justify-content: flex-start;
2800 2394 }
2801 2395 .components-placeholder__fieldset p,
2802 2396 .components-placeholder__fieldset form p {
2803 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2397 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2804 2398 font-size: 13px;
2805 2399 }
2806 2400
2807 2401 .components-placeholder__fieldset.is-column-layout,
@@ -2809,23 +2403,17 @@
2809 2403 flex-direction: column;
2810 2404 }
2811 2405
2812 2406 .components-placeholder__input[type=url] {
2813 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2407 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2814 2408 padding: 6px 8px;
2815 2409 /* Fonts smaller than 16px causes mobile safari to zoom. */
2816 2410 font-size: 16px;
2817 2411 /* Override core line-height. To be reviewed. */
2818 2412 line-height: normal;
2819 - box-shadow: 0 0 0 transparent;
2820 - border-radius: 2px;
2821 - border: 1px solid #949494;
2413 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2414 + border-radius: var(--wpds-border-radius-sm, 2px);
2822 2415 }
2823 -@media not (prefers-reduced-motion) {
2824 - .components-placeholder__input[type=url] {
2825 - transition: box-shadow 0.1s linear;
2826 - }
2827 -}
2828 2416 @media (min-width: 600px) {
2829 2417 .components-placeholder__input[type=url] {
2830 2418 font-size: 13px;
2831 2419 /* Override core line-height. To be reviewed. */
@@ -2831,12 +2419,16 @@
2831 2419 /* Override core line-height. To be reviewed. */
2832 2420 line-height: normal;
2833 2421 }
2834 2422 }
2423 +.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true]) {
2424 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2425 +}
2835 2426 .components-placeholder__input[type=url]:focus {
2836 - border-color: var(--wp-admin-theme-color);
2837 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2838 - outline: 2px solid transparent;
2427 + 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)));
2428 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2429 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2430 + box-shadow: none;
2839 2431 }
2840 2432 .components-placeholder__input[type=url]::placeholder {
2841 2433 color: rgba(30, 30, 30, 0.62);
2842 2434 }
@@ -3011,12 +2603,8 @@
3011 2603 white-space: nowrap;
3012 2604 width: 100%;
3013 2605 }
3014 2606
3015 -.components-popover__close.components-button {
3016 - z-index: 5;
3017 -}
3018 -
3019 2607 .components-popover__arrow {
3020 2608 position: absolute;
3021 2609 width: 14px;
3022 2610 height: 14px;
@@ -3073,9 +2661,9 @@
3073 2661 .components-radio-control {
3074 2662 border: 0;
3075 2663 margin: 0;
3076 2664 padding: 0;
3077 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2665 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3078 2666 font-size: 13px;
3079 2667 }
3080 2668
3081 2669 .components-radio-control__group-wrapper.has-help {
@@ -3164,14 +2752,14 @@
3164 2752 content: "";
3165 2753 border-radius: 50%;
3166 2754 }
3167 2755 .components-radio-control__input[type=radio]:disabled {
3168 - background: var(--wp-components-color-gray-100, #f0f0f0);
3169 - border: 1px solid var(--wp-components-color-gray-300, #ddd);
2756 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
2757 + border: 1px solid var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
3170 2758 opacity: 1;
3171 2759 }
3172 2760 .components-radio-control__input[type=radio]:disabled:checked::before {
3173 - border-color: var(--wp-components-color-gray-400, #ccc);
2761 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3174 2762 opacity: 1;
3175 2763 }
3176 2764
3177 2765 .components-radio-control__label {
@@ -3176,10 +2764,11 @@
3176 2764
3177 2765 .components-radio-control__label {
3178 2766 grid-column: 2;
3179 2767 grid-row: 1;
2768 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3180 2769 }
3181 -.components-radio-control:not(:disabled) .components-radio-control__label {
2770 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3182 2771 cursor: var(--wpds-cursor-control, pointer);
3183 2772 }
3184 2773 .components-radio-control__label {
3185 2774 line-height: 24px;
@@ -3393,9 +2982,9 @@
3393 2982 -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
3394 2983 }
3395 2984
3396 2985 .components-snackbar {
3397 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2986 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3398 2987 font-size: 13px;
3399 2988 background: rgba(0, 0, 0, 0.85);
3400 2989 backdrop-filter: blur(16px) saturate(180%);
3401 2990 border-radius: 4px;
@@ -3437,14 +3026,10 @@
3437 3026 .components-snackbar__action.components-external-link {
3438 3027 margin-left: 32px;
3439 3028 color: #fff;
3440 3029 flex-shrink: 0;
3030 + --focus-color: #fff;
3441 3031 }
3442 -.components-snackbar__action.components-button:focus,
3443 -.components-snackbar__action.components-external-link:focus {
3444 - box-shadow: none;
3445 - outline: 1px dotted #fff;
3446 -}
3447 3032 .components-snackbar__action.components-button:hover,
3448 3033 .components-snackbar__action.components-external-link:hover {
3449 3034 text-decoration: none;
3450 3035 color: currentColor;
@@ -3484,17 +3069,22 @@
3484 3069 border-radius: 0;
3485 3070 height: 48px !important;
3486 3071 background: transparent;
3487 3072 border: none;
3488 - box-shadow: none;
3489 3073 cursor: var(--wpds-cursor-control, pointer);
3490 - padding: 3px 16px;
3074 + padding: 3px var(--wpds-dimension-padding-lg, 16px);
3491 3075 margin-left: 0;
3492 - font-weight: 400;
3076 + font-weight: var(--wpds-typography-font-weight-default, 400);
3077 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3493 3078 }
3079 +.components-tab-panel__tabs-item:disabled, .components-tab-panel__tabs-item[aria-disabled=true] {
3080 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
3081 +}
3082 +.components-tab-panel__tabs-item:not(:disabled, [aria-disabled=true]):is(:hover, :focus-visible) {
3083 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3084 +}
3494 3085 .components-tab-panel__tabs-item:focus:not(:disabled) {
3495 3086 position: relative;
3496 - box-shadow: none;
3497 3087 outline: none;
3498 3088 }
3499 3089 .components-tab-panel__tabs-item::after {
3500 3090 content: "";
@@ -3502,19 +3092,19 @@
3502 3092 right: 0;
3503 3093 bottom: 0;
3504 3094 left: 0;
3505 3095 pointer-events: none;
3506 - background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3507 - height: calc(0 * var(--wp-admin-border-width-focus));
3096 + background: var(--wpds-color-stroke-interactive-neutral-strong, #6e6e6e);
3097 + height: calc(0 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
3508 3098 border-radius: 0;
3509 3099 }
3510 3100 @media not (prefers-reduced-motion) {
3511 3101 .components-tab-panel__tabs-item::after {
3512 - transition: all 0.1s linear;
3102 + transition: height 0.1s linear;
3513 3103 }
3514 3104 }
3515 3105 .components-tab-panel__tabs-item.is-active::after {
3516 - height: calc(1 * var(--wp-admin-border-width-focus));
3106 + height: calc(1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
3517 3107 outline: 2px solid transparent;
3518 3108 outline-offset: -1px;
3519 3109 }
3520 3110 .components-tab-panel__tabs-item::before {
@@ -3519,33 +3109,33 @@
3519 3109 }
3520 3110 .components-tab-panel__tabs-item::before {
3521 3111 content: "";
3522 3112 position: absolute;
3523 - top: 12px;
3524 - right: 12px;
3525 - bottom: 12px;
3526 - left: 12px;
3113 + inset: var(--wpds-dimension-padding-md, 12px);
3527 3114 pointer-events: none;
3528 - box-shadow: 0 0 0 0 transparent;
3529 - border-radius: 2px;
3115 + border-radius: var(--wpds-border-radius-sm, 2px);
3530 3116 }
3531 -@media not (prefers-reduced-motion) {
3532 - .components-tab-panel__tabs-item::before {
3533 - transition: all 0.1s linear;
3534 - }
3117 +.components-tab-panel__tabs-item:focus-visible::before {
3118 + 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)));
3119 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3120 + outline-offset: 0;
3535 3121 }
3536 -.components-tab-panel__tabs-item:focus-visible::before {
3537 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3538 - outline: 2px solid transparent;
3122 +.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3123 + border-radius: var(--wpds-border-radius-sm, 2px);
3539 3124 }
3125 +.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item::after {
3126 + display: none;
3127 +}
3128 +.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item.is-active {
3129 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3130 +}
3540 3131
3541 3132 .components-tab-panel__tab-content:focus {
3542 - box-shadow: none;
3543 3133 outline: none;
3544 3134 }
3545 3135 .components-tab-panel__tab-content:focus-visible {
3546 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3547 - outline: 2px solid transparent;
3136 + 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)));
3137 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3548 3138 outline-offset: 0;
3549 3139 }
3550 3140
3551 3141 .components-text-control__input,
@@ -3562,40 +3152,21 @@
3562 3152 .components-text-control__input[type=email],
3563 3153 .components-text-control__input[type=month],
3564 3154 .components-text-control__input[type=number] {
3565 3155 width: 100%;
3566 - height: 32px;
3156 + height: 40px;
3567 3157 margin: 0;
3568 - background: var(--wp-components-color-background, #fff);
3569 - color: var(--wp-components-color-foreground, #1e1e1e);
3570 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3158 + background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3159 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3160 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3571 3161 padding: 6px 8px;
3572 3162 /* Fonts smaller than 16px causes mobile safari to zoom. */
3573 3163 font-size: 16px;
3574 3164 /* Override core line-height. To be reviewed. */
3575 3165 line-height: normal;
3576 - box-shadow: 0 0 0 transparent;
3577 - border-radius: 2px;
3578 - border: 1px solid #949494;
3166 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3167 + border-radius: var(--wpds-border-radius-sm, 2px);
3579 3168 }
3580 -@media not (prefers-reduced-motion) {
3581 - .components-text-control__input,
3582 - .components-text-control__input[type=text],
3583 - .components-text-control__input[type=tel],
3584 - .components-text-control__input[type=time],
3585 - .components-text-control__input[type=url],
3586 - .components-text-control__input[type=week],
3587 - .components-text-control__input[type=password],
3588 - .components-text-control__input[type=color],
3589 - .components-text-control__input[type=date],
3590 - .components-text-control__input[type=datetime],
3591 - .components-text-control__input[type=datetime-local],
3592 - .components-text-control__input[type=email],
3593 - .components-text-control__input[type=month],
3594 - .components-text-control__input[type=number] {
3595 - transition: box-shadow 0.1s linear;
3596 - }
3597 -}
3598 3169 @media (min-width: 600px) {
3599 3170 .components-text-control__input,
3600 3171 .components-text-control__input[type=text],
3601 3172 .components-text-control__input[type=tel],
@@ -3614,8 +3185,24 @@
3614 3185 /* Override core line-height. To be reviewed. */
3615 3186 line-height: normal;
3616 3187 }
3617 3188 }
3189 +.components-text-control__input:hover:not(:disabled, [aria-disabled=true]),
3190 +.components-text-control__input[type=text]:hover:not(:disabled, [aria-disabled=true]),
3191 +.components-text-control__input[type=tel]:hover:not(:disabled, [aria-disabled=true]),
3192 +.components-text-control__input[type=time]:hover:not(:disabled, [aria-disabled=true]),
3193 +.components-text-control__input[type=url]:hover:not(:disabled, [aria-disabled=true]),
3194 +.components-text-control__input[type=week]:hover:not(:disabled, [aria-disabled=true]),
3195 +.components-text-control__input[type=password]:hover:not(:disabled, [aria-disabled=true]),
3196 +.components-text-control__input[type=color]:hover:not(:disabled, [aria-disabled=true]),
3197 +.components-text-control__input[type=date]:hover:not(:disabled, [aria-disabled=true]),
3198 +.components-text-control__input[type=datetime]:hover:not(:disabled, [aria-disabled=true]),
3199 +.components-text-control__input[type=datetime-local]:hover:not(:disabled, [aria-disabled=true]),
3200 +.components-text-control__input[type=email]:hover:not(:disabled, [aria-disabled=true]),
3201 +.components-text-control__input[type=month]:hover:not(:disabled, [aria-disabled=true]),
3202 +.components-text-control__input[type=number]:hover:not(:disabled, [aria-disabled=true]) {
3203 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
3204 +}
3618 3205 .components-text-control__input:focus,
3619 3206 .components-text-control__input[type=text]:focus,
3620 3207 .components-text-control__input[type=tel]:focus,
3621 3208 .components-text-control__input[type=time]:focus,
@@ -3628,11 +3215,12 @@
3628 3215 .components-text-control__input[type=datetime-local]:focus,
3629 3216 .components-text-control__input[type=email]:focus,
3630 3217 .components-text-control__input[type=month]:focus,
3631 3218 .components-text-control__input[type=number]:focus {
3632 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3633 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3634 - outline: 2px solid transparent;
3219 + 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)));
3220 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3221 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3222 + box-shadow: none;
3635 3223 }
3636 3224 .components-text-control__input::placeholder,
3637 3225 .components-text-control__input[type=text]::placeholder,
3638 3226 .components-text-control__input[type=tel]::placeholder,
@@ -3662,9 +3250,10 @@
3662 3250 .components-text-control__input[type=datetime-local],
3663 3251 .components-text-control__input[type=email],
3664 3252 .components-text-control__input[type=month],
3665 3253 .components-text-control__input[type=number] {
3666 - border-color: var(--wp-components-color-gray-600, #949494);
3254 + padding-left: 12px;
3255 + padding-right: 12px;
3667 3256 }
3668 3257 .components-text-control__input::placeholder,
3669 3258 .components-text-control__input[type=text]::placeholder,
3670 3259 .components-text-control__input[type=tel]::placeholder,
@@ -3678,28 +3267,10 @@
3678 3267 .components-text-control__input[type=datetime-local]::placeholder,
3679 3268 .components-text-control__input[type=email]::placeholder,
3680 3269 .components-text-control__input[type=month]::placeholder,
3681 3270 .components-text-control__input[type=number]::placeholder {
3682 - color: color-mix(in srgb, var(--wp-components-color-foreground, #1e1e1e), transparent 38%);
3271 + color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3683 3272 }
3684 -.components-text-control__input.is-next-40px-default-size,
3685 -.components-text-control__input[type=text].is-next-40px-default-size,
3686 -.components-text-control__input[type=tel].is-next-40px-default-size,
3687 -.components-text-control__input[type=time].is-next-40px-default-size,
3688 -.components-text-control__input[type=url].is-next-40px-default-size,
3689 -.components-text-control__input[type=week].is-next-40px-default-size,
3690 -.components-text-control__input[type=password].is-next-40px-default-size,
3691 -.components-text-control__input[type=color].is-next-40px-default-size,
3692 -.components-text-control__input[type=date].is-next-40px-default-size,
3693 -.components-text-control__input[type=datetime].is-next-40px-default-size,
3694 -.components-text-control__input[type=datetime-local].is-next-40px-default-size,
3695 -.components-text-control__input[type=email].is-next-40px-default-size,
3696 -.components-text-control__input[type=month].is-next-40px-default-size,
3697 -.components-text-control__input[type=number].is-next-40px-default-size {
3698 - height: 40px;
3699 - padding-left: 12px;
3700 - padding-right: 12px;
3701 -}
3702 3273
3703 3274 .components-text-control__input[type=email],
3704 3275 .components-text-control__input[type=url] {
3705 3276 /* rtl:ignore */
@@ -3711,9 +3282,9 @@
3711 3282 color: #757575;
3712 3283 }
3713 3284 .components-tip svg {
3714 3285 align-self: center;
3715 - fill: #f0b849;
3286 + color: #f0b849;
3716 3287 flex-shrink: 0;
3717 3288 margin-right: 16px;
3718 3289 }
3719 3290 .components-tip p {
@@ -3721,8 +3292,9 @@
3721 3292 }
3722 3293
3723 3294 .components-toggle-control__label {
3724 3295 line-height: 16px;
3296 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3725 3297 }
3726 3298 .components-toggle-control__label:not(.is-disabled) {
3727 3299 cursor: var(--wpds-cursor-control, pointer);
3728 3300 }
@@ -3733,9 +3305,9 @@
3733 3305 }
3734 3306
3735 3307 .components-accessible-toolbar {
3736 3308 display: inline-flex;
3737 - border: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3309 + border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3738 3310 border-radius: 2px;
3739 3311 flex-shrink: 0;
3740 3312 }
3741 3313 .components-accessible-toolbar > .components-toolbar-group:last-child {
@@ -3800,9 +3372,9 @@
3800 3372 background: transparent;
3801 3373 }
3802 3374 .components-accessible-toolbar .components-button.is-pressed::before,
3803 3375 .components-toolbar .components-button.is-pressed::before {
3804 - background: var(--wp-components-color-foreground, #1e1e1e);
3376 + background: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3805 3377 }
3806 3378 .components-accessible-toolbar .components-button:focus::before,
3807 3379 .components-toolbar .components-button:focus::before {
3808 3380 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
@@ -3830,11 +3402,11 @@
3830 3402 padding: 5px 10px 5px 0;
3831 3403 }
3832 3404 .components-toolbar__control.components-button[data-subscript]::after {
3833 3405 content: attr(data-subscript);
3834 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3406 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3835 3407 font-size: 13px;
3836 - font-weight: 600;
3408 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3837 3409 line-height: 12px;
3838 3410 position: absolute;
3839 3411 right: 8px;
3840 3412 bottom: 10px;
@@ -3844,10 +3416,10 @@
3844 3416 }
3845 3417
3846 3418 .components-toolbar-group {
3847 3419 min-height: 48px;
3848 - border-right: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3849 - background-color: var(--wp-components-color-background, #fff);
3420 + border-right: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3421 + background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3850 3422 display: inline-flex;
3851 3423 flex-shrink: 0;
3852 3424 flex-wrap: wrap;
3853 3425 padding-left: 6px;
@@ -3868,9 +3440,9 @@
3868 3440 padding-right: 6px;
3869 3441 }
3870 3442 .components-toolbar-group .components-button.components-button svg,
3871 3443 .components-toolbar-group .components-button.has-icon.has-icon svg {
3872 - min-width: 24px;
3444 + min-width: var(--wpds-dimension-size-sm, 24px);
3873 3445 }
3874 3446 .components-toolbar-group .components-button.components-button::before,
3875 3447 .components-toolbar-group .components-button.has-icon.has-icon::before {
3876 3448 left: 2px;
@@ -3879,10 +3451,10 @@
3879 3451
3880 3452 .components-toolbar {
3881 3453 min-height: 48px;
3882 3454 margin: 0;
3883 - border: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3884 - background-color: var(--wp-components-color-background, #fff);
3455 + border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3456 + background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3885 3457 display: inline-flex;
3886 3458 flex-shrink: 0;
3887 3459 flex-wrap: wrap;
3888 3460 }
@@ -3903,9 +3475,9 @@
3903 3475 div.components-toolbar > div + div.has-left-divider::before {
3904 3476 display: inline-block;
3905 3477 content: "";
3906 3478 box-sizing: content-box;
3907 - background-color: #ddd;
3479 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3908 3480 position: absolute;
3909 3481 top: 8px;
3910 3482 left: -3px;
3911 3483 width: 1px;
@@ -3913,10 +3485,10 @@
3913 3485 }
3914 3486
3915 3487 .components-tooltip {
3916 3488 background: #000;
3917 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3918 - border-radius: 2px;
3489 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3490 + border-radius: var(--wpds-border-radius-md, 4px);
3919 3491 color: #f0f0f0;
3920 3492 text-align: center;
3921 3493 line-height: 1.4;
3922 3494 font-size: 12px;
@@ -3928,36 +3500,19 @@
3928 3500 .components-tooltip__shortcut {
3929 3501 margin-left: 8px;
3930 3502 }
3931 3503
3932 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3933 - --wp-components-color-accent: #cc1818;
3934 - border-color: #cc1818;
3504 +.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3505 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3935 3506 }
3936 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3937 - --wp-admin-theme-color: #cc1818;
3938 - --wp-components-color-accent: #cc1818;
3939 - border-color: #cc1818;
3507 +
3508 +.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3509 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3940 3510 }
3941 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3942 - --wp-components-color-accent: #cc1818;
3943 -}
3944 3511
3945 3512 .components-validated-control__wrapper-with-error-delegate {
3946 3513 position: relative;
3947 3514 }
3948 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3949 - --wp-components-color-accent: #cc1818;
3950 - border-color: #cc1818;
3951 -}
3952 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3953 - --wp-components-color-accent: #cc1818;
3954 -}
3955 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
3956 - --wp-components-color-accent: #cc1818;
3957 - border-color: #cc1818;
3958 -}
3959 -
3960 3515 .components-validated-control__error-delegate {
3961 3516 position: absolute;
3962 3517 top: 0;
3963 3518 height: 100%;
@@ -3965,46 +3520,8 @@
3965 3520 opacity: 0;
3966 3521 pointer-events: none;
3967 3522 }
3968 3523
3969 -.components-validated-control__indicator {
3970 - display: flex;
3971 - align-items: flex-start;
3972 - gap: 4px;
3973 - margin: 8px 0 0;
3974 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3975 - font-size: 12px;
3976 - line-height: 16px;
3977 - color: var(--wp-components-color-gray-700, #757575);
3978 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
3979 -}
3980 -.components-validated-control__indicator.is-invalid {
3981 - color: #cc1818;
3982 -}
3983 -.components-validated-control__indicator.is-valid {
3984 - color: color-mix(in srgb, #000 30%, #4ab866);
3985 -}
3986 -
3987 -.components-validated-control__indicator-icon {
3988 - flex-shrink: 0;
3989 -}
3990 -
3991 -.components-validated-control__indicator-spinner {
3992 - margin: 2px;
3993 - width: 12px;
3994 - height: 12px;
3995 -}
3996 -
3997 -@keyframes components-validated-control__indicator-jump {
3998 - 0% {
3999 - transform: translateY(-4px);
4000 - opacity: 0;
4001 - }
4002 - 100% {
4003 - transform: translateY(0);
4004 - opacity: 1;
4005 - }
4006 -}
4007 3524 :root {
4008 3525 --wp-admin-theme-color: #3858e9;
4009 3526 --wp-admin-theme-color--rgb: 56, 88, 233;
4010 3527 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);