PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/components/style-rtl.css +375 -858 23.1.1 → 24.1.0 View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -160,12 +166,14 @@
160 166 height: auto;
161 167 min-height: 36px;
162 168 text-align: right;
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-right: -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-right: -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: right;
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-left: 8px;
525 512 padding-right: 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: right 200px top 0;
@@ -561,368 +538,8 @@
561 538 0% {
562 539 background-position: right 200px top 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-left: 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 right: 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 - right: 1px;
1152 - bottom: 1px;
1153 - left: 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 - right: -1px;
1200 - bottom: -1px;
1201 - left: -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 - right: 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 }
@@ -1367,9 +948,9 @@
1367 948 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);
1368 949 }
1369 950
1370 951 .components-color-palette__custom-color-name {
1371 - color: var(--wp-components-color-foreground, #1e1e1e);
952 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1372 953 margin: 0 1px;
1373 954 }
1374 955
1375 956 .components-color-palette__custom-color-value {
@@ -1431,14 +1012,19 @@
1431 1012 width: inherit;
1432 1013 border-radius: 50%;
1433 1014 padding: 0;
1434 1015 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1435 - outline: 2px solid transparent;
1436 1016 }
1437 -.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 {
1017 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1438 1018 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);
1439 - outline: 1.5px solid transparent;
1440 1019 }
1020 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active) {
1021 + outline-offset: 1px;
1022 + 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);
1023 +}
1024 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active).is-active {
1025 + 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);
1026 +}
1441 1027
1442 1028 .components-custom-gradient-picker__remove-control-point-wrapper {
1443 1029 padding-bottom: 8px;
1444 1030 }
@@ -1458,28 +1044,8 @@
1458 1044 position: relative;
1459 1045 z-index: 0;
1460 1046 }
1461 1047
1462 -body.is-dragging-components-draggable {
1463 - cursor: move; /* Fallback for IE/Edge < 14 */
1464 - cursor: grabbing !important;
1465 -}
1466 -
1467 -.components-draggable__invisible-drag-image {
1468 - position: fixed;
1469 - right: -1000px;
1470 - height: 50px;
1471 - width: 50px;
1472 -}
1473 -
1474 -.components-draggable__clone {
1475 - position: fixed;
1476 - padding: 0;
1477 - background: transparent;
1478 - pointer-events: none;
1479 - z-index: 1000000000;
1480 -}
1481 -
1482 1048 .components-drop-zone {
1483 1049 position: absolute;
1484 1050 top: 0;
1485 1051 left: 0;
@@ -1546,9 +1112,9 @@
1546 1112 pointer-events: none;
1547 1113 }
1548 1114
1549 1115 .components-drop-zone__content-text {
1550 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1116 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1551 1117 font-size: 13px;
1552 1118 }
1553 1119
1554 1120 .components-dropdown {
@@ -1585,9 +1151,9 @@
1585 1151 }
1586 1152
1587 1153 .components-dropdown-menu__menu {
1588 1154 width: 100%;
1589 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1155 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1590 1156 font-size: 13px;
1591 1157 line-height: 1.4;
1592 1158 }
1593 1159 .components-dropdown-menu__menu .components-dropdown-menu__menu-item,
@@ -1596,9 +1162,9 @@
1596 1162 padding: 6px;
1597 1163 outline: none;
1598 1164 cursor: var(--wpds-cursor-control, pointer);
1599 1165 white-space: nowrap;
1600 - font-weight: 400;
1166 + font-weight: var(--wpds-typography-font-weight-default, 400);
1601 1167 }
1602 1168 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
1603 1169 .components-dropdown-menu__menu .components-menu-item.has-separator {
1604 1170 margin-top: 6px;
@@ -1609,9 +1175,9 @@
1609 1175 .components-dropdown-menu__menu .components-menu-item.has-separator::before {
1610 1176 display: block;
1611 1177 content: "";
1612 1178 box-sizing: content-box;
1613 - background-color: #ddd;
1179 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1614 1180 position: absolute;
1615 1181 top: -3px;
1616 1182 right: 0;
1617 1183 left: 0;
@@ -1671,29 +1237,25 @@
1671 1237 margin: 2px;
1672 1238 }
1673 1239
1674 1240 .components-external-link {
1675 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1241 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1676 1242 text-decoration: none;
1677 1243 }
1678 -@media not (prefers-reduced-motion) {
1679 - .components-external-link {
1680 - transition: outline 0.1s ease-out;
1681 - }
1682 -}
1683 -.components-external-link {
1684 - outline: 0 solid transparent;
1685 - outline-offset: 1px;
1686 -}
1687 1244 .components-external-link:visited {
1688 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1245 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1689 1246 }
1690 1247 .components-external-link:hover, .components-external-link:active {
1691 - color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9));
1248 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1692 1249 }
1693 1250 .components-external-link:focus {
1694 - 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));
1251 + box-shadow: none;
1252 + border-radius: 0;
1695 1253 }
1254 +.components-external-link:focus:not(:active) {
1255 + 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)));
1256 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1257 +}
1696 1258
1697 1259 .components-external-link__contents {
1698 1260 text-decoration: underline;
1699 1261 text-underline-offset: 0.2em;
@@ -1700,11 +1262,12 @@
1700 1262 text-decoration-thickness: from-font;
1701 1263 }
1702 1264
1703 1265 .components-external-link__icon {
1266 + line-height: 1;
1704 1267 display: inline-block;
1705 1268 margin-inline-start: var(--wpds-dimension-padding-xs, 4px);
1706 - font-weight: var(--wpds-typography-font-weight-regular, 400);
1269 + font-weight: var(--wpds-typography-font-weight-default, 400);
1707 1270 }
1708 1271
1709 1272 .components-form-toggle {
1710 1273 position: relative;
@@ -1783,39 +1346,39 @@
1783 1346 background-color: #fff;
1784 1347 border-width: 0;
1785 1348 transform: translateX(-16px);
1786 1349 }
1787 -.components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1788 - background-color: var(--wp-components-color-gray-100, #f0f0f0);
1789 - border-color: var(--wp-components-color-gray-300, #ddd);
1350 +.components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1351 + background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1352 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1790 1353 }
1791 1354 @media (forced-colors: active) {
1792 - .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1355 + .components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1793 1356 border-color: GrayText;
1794 1357 }
1795 1358 }
1796 -.components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1797 - background-color: var(--wp-components-color-gray-400, #ccc);
1359 +.components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1360 + background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1798 1361 box-shadow: none;
1799 1362 }
1800 1363 @media (forced-colors: active) {
1801 - .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1364 + .components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1802 1365 border-color: GrayText;
1803 1366 }
1804 1367 }
1805 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1806 - background-color: var(--wp-components-color-gray-400, #ccc);
1807 - border-color: var(--wp-components-color-gray-400, #ccc);
1368 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1369 + background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1370 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1808 1371 }
1809 1372 @media (forced-colors: active) {
1810 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1373 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1811 1374 border-color: GrayText;
1812 1375 }
1813 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after {
1376 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, [inert] .components-form-toggle.is-checked .components-form-toggle__track::after {
1814 1377 border-top-color: GrayText;
1815 1378 }
1816 1379 }
1817 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb {
1380 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, [inert] .components-form-toggle.is-checked .components-form-toggle__thumb {
1818 1381 background-color: #fff;
1819 1382 }
1820 1383
1821 1384 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1840,23 +1403,17 @@
1840 1403 cursor: var(--wpds-cursor-control, pointer);
1841 1404 }
1842 1405
1843 1406 .components-form-token-field__input-container {
1844 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1407 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1845 1408 padding: 6px 8px;
1846 1409 /* Fonts smaller than 16px causes mobile safari to zoom. */
1847 1410 font-size: 16px;
1848 1411 /* Override core line-height. To be reviewed. */
1849 1412 line-height: normal;
1850 - box-shadow: 0 0 0 transparent;
1851 - border-radius: 2px;
1852 - border: 1px solid #949494;
1413 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1414 + border-radius: var(--wpds-border-radius-sm, 2px);
1853 1415 }
1854 -@media not (prefers-reduced-motion) {
1855 - .components-form-token-field__input-container {
1856 - transition: box-shadow 0.1s linear;
1857 - }
1858 -}
1859 1416 @media (min-width: 600px) {
1860 1417 .components-form-token-field__input-container {
1861 1418 font-size: 13px;
1862 1419 /* Override core line-height. To be reviewed. */
@@ -1862,12 +1419,16 @@
1862 1419 /* Override core line-height. To be reviewed. */
1863 1420 line-height: normal;
1864 1421 }
1865 1422 }
1423 +.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true]) {
1424 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1425 +}
1866 1426 .components-form-token-field__input-container:focus {
1867 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1868 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1869 - outline: 2px solid transparent;
1427 + 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)));
1428 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1429 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1430 + box-shadow: none;
1870 1431 }
1871 1432 .components-form-token-field__input-container::placeholder {
1872 1433 color: rgba(30, 30, 30, 0.62);
1873 1434 }
@@ -1876,16 +1437,18 @@
1876 1437 padding: 0;
1877 1438 cursor: text;
1878 1439 }
1879 1440 .components-form-token-field__input-container.is-disabled {
1880 - background: var(--wp-components-color-gray-100, #f0f0f0);
1881 - border-color: var(--wp-components-color-gray-400, #ccc);
1441 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1442 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1882 1443 cursor: default;
1883 1444 }
1445 +.components-form-token-field__input-container.is-disabled:hover {
1446 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1447 +}
1884 1448 .components-form-token-field__input-container.is-active {
1885 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1886 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1887 - outline: 2px solid transparent;
1449 + 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)));
1450 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1888 1451 }
1889 1452 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1890 1453 display: inline-block;
1891 1454 flex: 1;
@@ -1899,9 +1462,9 @@
1899 1462 min-height: 24px;
1900 1463 min-width: 50px;
1901 1464 background: inherit;
1902 1465 border: 0;
1903 - color: var(--wp-components-color-foreground, #1e1e1e);
1466 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1904 1467 box-shadow: none;
1905 1468 }
1906 1469 @media (min-width: 600px) {
1907 1470 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
@@ -1935,10 +1498,10 @@
1935 1498 color: #757575;
1936 1499 }
1937 1500 .components-form-token-field__token.is-disabled .components-form-token-field__token-text,
1938 1501 .components-form-token-field__token.is-disabled .components-form-token-field__remove-token.components-button {
1939 - background: var(--wp-components-color-gray-100, #f0f0f0);
1940 - color: var(--wp-components-color-gray-600, #949494);
1502 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1503 + color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1941 1504 }
1942 1505 .components-form-token-field__token.is-borderless {
1943 1506 position: relative;
1944 1507 padding: 0 0 0 24px;
@@ -2018,9 +1581,9 @@
2018 1581 padding: 0;
2019 1582 }
2020 1583
2021 1584 .components-form-token-field__suggestion {
2022 - color: var(--wp-components-color-foreground, #1e1e1e);
1585 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
2023 1586 display: block;
2024 1587 font-size: 13px;
2025 1588 padding: 8px 12px;
2026 1589 min-height: 32px;
@@ -2028,9 +1591,9 @@
2028 1591 box-sizing: border-box;
2029 1592 }
2030 1593 .components-form-token-field__suggestion.is-selected {
2031 1594 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2032 - color: var(--wp-components-color-foreground-inverted, #fff);
1595 + color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
2033 1596 }
2034 1597 .components-form-token-field__suggestion[aria-disabled=true] {
2035 1598 pointer-events: none;
2036 1599 color: #949494;
@@ -2176,8 +1739,13 @@
2176 1739 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2177 1740 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);
2178 1741 }
2179 1742
1743 +.components-input-control__container:focus-within:not(:has(:is(.components-input-control__prefix, .components-input-control__suffix):focus-within)) .components-input-control__backdrop {
1744 + 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)));
1745 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1746 +}
1747 +
2180 1748 .components-menu-group + .components-menu-group {
2181 1749 padding-top: 8px;
2182 1750 border-top: 1px solid #1e1e1e;
2183 1751 }
@@ -2197,9 +1765,9 @@
2197 1765 margin-bottom: 12px;
2198 1766 color: #757575;
2199 1767 text-transform: uppercase;
2200 1768 font-size: 11px;
2201 - font-weight: 499;
1769 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2202 1770 white-space: nowrap;
2203 1771 }
2204 1772
2205 1773 .components-menu-item__button,
@@ -2204,9 +1772,9 @@
2204 1772
2205 1773 .components-menu-item__button,
2206 1774 .components-menu-item__button.components-button {
2207 1775 width: 100%;
2208 - font-weight: 400;
1776 + font-weight: var(--wpds-typography-font-weight-default, 400);
2209 1777 }
2210 1778 .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,
2211 1779 .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,
2212 1780 .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {
@@ -2296,8 +1864,12 @@
2296 1864 .components-menu-items-choice.components-button.has-icon {
2297 1865 padding-right: 12px;
2298 1866 }
2299 1867
1868 +body.modal-open {
1869 + overflow: hidden;
1870 +}
1871 +
2300 1872 .components-modal__screen-overlay {
2301 1873 position: fixed;
2302 1874 top: 0;
2303 1875 left: 0;
@@ -2316,9 +1888,9 @@
2316 1888 }
2317 1889 }
2318 1890 @media not (prefers-reduced-motion) {
2319 1891 .components-modal__screen-overlay {
2320 - animation: __wp-base-styles-fade-in 0.08s linear 0s;
1892 + 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;
2321 1893 animation-fill-mode: forwards;
2322 1894 }
2323 1895 }
2324 1896 @keyframes __wp-base-styles-fade-out {
@@ -2330,9 +1902,9 @@
2330 1902 }
2331 1903 }
2332 1904 @media not (prefers-reduced-motion) {
2333 1905 .components-modal__screen-overlay.is-animating-out {
2334 - animation: __wp-base-styles-fade-out 0.08s linear 80ms;
1906 + 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);
2335 1907 animation-fill-mode: forwards;
2336 1908 }
2337 1909 }
2338 1910
@@ -2344,10 +1916,12 @@
2344 1916 .components-modal__frame *::after {
2345 1917 box-sizing: inherit;
2346 1918 }
2347 1919 .components-modal__frame {
2348 - margin: 40px 0 0 0;
1920 + align-self: flex-end;
1921 + margin: 0;
2349 1922 width: 100%;
1923 + max-height: calc(100% - 40px);
2350 1924 background: #fff;
2351 1925 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);
2352 1926 border-radius: 8px 8px 0 0;
2353 1927 overflow: hidden;
@@ -2354,9 +1928,9 @@
2354 1928 display: flex;
2355 1929 color: #1e1e1e;
2356 1930 animation-name: components-modal__appear-animation;
2357 1931 animation-fill-mode: forwards;
2358 - animation-timing-function: cubic-bezier(0.29, 0, 0, 1);
1932 + animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1));
2359 1933 }
2360 1934 .components-modal__frame h1,
2361 1935 .components-modal__frame h2,
2362 1936 .components-modal__frame h3 {
@@ -2363,17 +1937,18 @@
2363 1937 color: #1e1e1e;
2364 1938 }
2365 1939 @media not (prefers-reduced-motion) {
2366 1940 .components-modal__frame {
2367 - animation-duration: var(--modal-frame-animation-duration);
1941 + animation-duration: var(--wpds-motion-duration-md, 200ms);
2368 1942 }
2369 1943 }
2370 1944 .components-modal__screen-overlay.is-animating-out .components-modal__frame {
2371 1945 animation-name: components-modal__disappear-animation;
2372 - animation-timing-function: cubic-bezier(1, 0, 0.2, 1);
1946 + animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1));
2373 1947 }
2374 1948 @media (min-width: 600px) {
2375 1949 .components-modal__frame {
1950 + align-self: auto;
2376 1951 border-radius: 8px;
2377 1952 margin: auto;
2378 1953 width: auto;
2379 1954 min-width: var(--wpds-dimension-surface-width-sm, 320px);
@@ -2379,24 +1954,8 @@
2379 1954 min-width: var(--wpds-dimension-surface-width-sm, 320px);
2380 1955 max-width: calc(100% - 32px);
2381 1956 max-height: calc(100% - 128px);
2382 1957 }
2383 -}
2384 -@media (min-width: 600px) and (min-width: 600px) {
2385 - .components-modal__frame.is-full-screen {
2386 - width: calc(100% - 32px);
2387 - height: calc(100% - 32px);
2388 - max-height: none;
2389 - }
2390 -}
2391 -@media (min-width: 600px) and (min-width: 782px) {
2392 - .components-modal__frame.is-full-screen {
2393 - width: calc(100% - 80px);
2394 - height: calc(100% - 80px);
2395 - max-width: none;
2396 - }
2397 -}
2398 -@media (min-width: 600px) {
2399 1958 .components-modal__frame.has-size-small, .components-modal__frame.has-size-medium, .components-modal__frame.has-size-large {
2400 1959 width: 100%;
2401 1960 }
2402 1961 .components-modal__frame.has-size-small {
@@ -2413,8 +1972,15 @@
2413 1972 .components-modal__frame {
2414 1973 max-height: 70%;
2415 1974 }
2416 1975 }
1976 +.components-modal__frame.is-full-screen {
1977 + margin: 0;
1978 + width: 100%;
1979 + height: 100%;
1980 + max-height: none;
1981 + border-radius: 0;
1982 +}
2417 1983 .components-modal__frame.is-full-screen :where(.components-modal__content) {
2418 1984 display: flex;
2419 1985 margin-bottom: 24px;
2420 1986 padding-bottom: 0;
@@ -2421,29 +1987,66 @@
2421 1987 }
2422 1988 .components-modal__frame.is-full-screen :where(.components-modal__content) > :last-child {
2423 1989 flex: 1;
2424 1990 }
1991 +@media (min-width: 600px) {
1992 + .components-modal__frame.is-full-screen {
1993 + margin: auto;
1994 + border-radius: 8px;
1995 + width: calc(100% - 32px);
1996 + height: calc(100% - 32px);
1997 + }
1998 +}
1999 +@media (min-width: 782px) {
2000 + .components-modal__frame.is-full-screen {
2001 + width: calc(100% - 80px);
2002 + height: calc(100% - 80px);
2003 + max-width: none;
2004 + }
2005 +}
2425 2006
2426 2007 @keyframes components-modal__appear-animation {
2427 2008 from {
2428 2009 opacity: 0;
2429 - transform: scale(0.9);
2010 + transform: translateY(100%);
2430 2011 }
2431 2012 to {
2432 2013 opacity: 1;
2433 - transform: scale(1);
2014 + transform: translateY(0);
2434 2015 }
2435 2016 }
2436 2017 @keyframes components-modal__disappear-animation {
2437 2018 from {
2438 2019 opacity: 1;
2439 - transform: scale(1);
2020 + transform: translateY(0);
2440 2021 }
2441 2022 to {
2442 2023 opacity: 0;
2443 - transform: scale(0.9);
2024 + transform: translateY(100%);
2444 2025 }
2445 2026 }
2027 +@media (min-width: 600px) {
2028 + @keyframes components-modal__appear-animation {
2029 + from {
2030 + opacity: 0;
2031 + transform: scale(0.9);
2032 + }
2033 + to {
2034 + opacity: 1;
2035 + transform: scale(1);
2036 + }
2037 + }
2038 + @keyframes components-modal__disappear-animation {
2039 + from {
2040 + opacity: 1;
2041 + transform: scale(1);
2042 + }
2043 + to {
2044 + opacity: 0;
2045 + transform: scale(0.9);
2046 + }
2047 + }
2048 +}
2446 2049 .components-modal__header {
2447 2050 box-sizing: border-box;
2448 2051 border-bottom: 1px solid transparent;
2449 2052 padding: 24px;
@@ -2459,9 +2062,9 @@
2459 2062 right: 0;
2460 2063 }
2461 2064 .components-modal__header .components-modal__header-heading {
2462 2065 font-size: 20px;
2463 - font-weight: 600;
2066 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2464 2067 }
2465 2068 .components-modal__header h1 {
2466 2069 line-height: 1;
2467 2070 margin: 0;
@@ -2466,9 +2069,9 @@
2466 2069 line-height: 1;
2467 2070 margin: 0;
2468 2071 }
2469 2072 .components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header {
2470 - border-bottom-color: #ddd;
2073 + border-bottom-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2471 2074 }
2472 2075 .components-modal__header + p {
2473 2076 margin-top: 0;
2474 2077 }
@@ -2506,72 +2109,73 @@
2506 2109 outline-offset: -2px;
2507 2110 }
2508 2111
2509 2112 .components-notice {
2510 - display: flex;
2511 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2512 - font-size: 13px;
2513 - background-color: #fff;
2514 - border-right: 4px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2515 - padding: 8px 12px;
2516 - align-items: center;
2517 - color: #1e1e1e;
2113 + --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2114 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #adc6e2);
2115 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2116 + box-sizing: border-box;
2117 + display: grid;
2118 + grid-template-columns: 1fr auto;
2119 + align-items: start;
2120 + padding: var(--wpds-dimension-padding-md, 12px);
2121 + border: var(--wpds-border-width-xs, 1px) solid var(--wp-components-notice-border-color);
2122 + border-radius: var(--wpds-border-radius-lg, 8px);
2123 + background-color: var(--wp-components-notice-background-color);
2124 + color: var(--wp-components-notice-text-color);
2125 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
2126 + font-size: var(--wpds-typography-font-size-md, 13px);
2127 + line-height: var(--wpds-typography-line-height-sm, 20px);
2518 2128 }
2519 -.components-notice.is-dismissible {
2520 - position: relative;
2521 -}
2522 -.components-notice.is-dismissible .components-notice__content {
2523 - margin-left: 25px;
2524 -}
2525 2129 .components-notice.is-success {
2526 - border-right-color: #4ab866;
2527 - background-color: rgb(238.8392857143, 248.6607142857, 241.3392857143);
2130 + --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2131 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #92d39d);
2132 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2528 2133 }
2529 2134 .components-notice.is-warning {
2530 - border-right-color: #f0b849;
2531 - background-color: rgb(253.5913705584, 248.3324873096, 237.9086294416);
2135 + --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2136 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bd7c);
2137 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2532 2138 }
2533 2139 .components-notice.is-error {
2534 - border-right-color: #cc1818;
2535 - background-color: rgb(244.1052631579, 162.3947368421, 162.3947368421);
2140 + --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2141 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #e0afa7);
2142 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2536 2143 }
2537 2144
2538 2145 .components-notice__content {
2539 - flex-grow: 1;
2540 - margin-top: 4px;
2541 - margin-bottom: 4px;
2146 + grid-column: 1;
2147 + grid-row: 1;
2148 + padding-block: calc((var(--wpds-dimension-size-sm, 24px) - 1lh) / 2);
2542 2149 }
2543 2150
2544 2151 .components-notice__actions {
2152 + grid-column: 1;
2153 + grid-row: 2;
2545 2154 display: flex;
2546 2155 flex-wrap: wrap;
2547 2156 align-items: center;
2548 - gap: 12px;
2549 - margin-top: 12px;
2157 + gap: var(--wpds-dimension-gap-md, 12px);
2158 + margin-top: var(--wpds-dimension-gap-sm, 8px);
2550 2159 }
2551 2160
2552 2161 .components-notice__dismiss {
2553 - color: #757575;
2554 - align-self: flex-start;
2555 - flex-shrink: 0;
2162 + grid-column: 2;
2163 + grid-row: 1;
2164 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2165 + margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2556 2166 }
2557 2167 .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 {
2558 - color: #1e1e1e;
2559 - background-color: transparent;
2168 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2560 2169 }
2561 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2562 - box-shadow: none;
2563 -}
2564 2170
2565 2171 .components-notice-list {
2172 + display: flex;
2173 + flex-direction: column;
2174 + gap: var(--wpds-dimension-gap-md, 12px);
2566 2175 max-width: 100vw;
2567 2176 box-sizing: border-box;
2568 2177 }
2569 -.components-notice-list .components-notice__content {
2570 - margin-top: 12px;
2571 - margin-bottom: 12px;
2572 - line-height: 2;
2573 -}
2574 2178
2575 2179 .components-panel {
2576 2180 background: #fff;
2577 2181 border: 1px solid #e0e0e0;
@@ -2605,9 +2209,9 @@
2605 2209 flex-shrink: 0;
2606 2210 justify-content: space-between;
2607 2211 align-items: center;
2608 2212 padding: 0 16px;
2609 - border-bottom: 1px solid #ddd;
2213 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2610 2214 box-sizing: content-box;
2611 2215 height: 47px;
2612 2216 }
2613 2217 .components-panel__header h2 {
@@ -2648,15 +2252,12 @@
2648 2252
2649 2253 .components-panel__body-toggle.components-button {
2650 2254 position: relative;
2651 2255 padding: 16px 16px 16px 48px;
2652 - outline: none;
2653 2256 width: 100%;
2654 - font-weight: 499;
2257 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2655 2258 text-align: right;
2656 2259 color: #1e1e1e;
2657 - border: none;
2658 - box-shadow: none;
2659 2260 }
2660 2261 @media not (prefers-reduced-motion) {
2661 2262 .components-panel__body-toggle.components-button {
2662 2263 transition: 0.1s background ease-in-out;
@@ -2665,9 +2266,9 @@
2665 2266 .components-panel__body-toggle.components-button {
2666 2267 height: auto;
2667 2268 }
2668 2269 .components-panel__body-toggle.components-button:focus {
2669 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2270 + outline-offset: calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) * -1);
2670 2271 border-radius: 0;
2671 2272 }
2672 2273 .components-panel__body-toggle.components-button .components-panel__arrow {
2673 2274 position: absolute;
@@ -2751,18 +2352,18 @@
2751 2352 .components-placeholder__error,
2752 2353 .components-placeholder__instructions,
2753 2354 .components-placeholder__label,
2754 2355 .components-placeholder__fieldset {
2755 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2356 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2756 2357 font-size: 13px;
2757 2358 letter-spacing: initial;
2758 2359 line-height: initial;
2759 2360 text-transform: none;
2760 - font-weight: normal;
2361 + font-weight: 400;
2761 2362 }
2762 2363
2763 2364 .components-placeholder__label {
2764 - font-weight: 600;
2365 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2765 2366 align-items: center;
2766 2367 display: flex;
2767 2368 }
2768 2369 .components-placeholder__label > svg,
@@ -2770,15 +2371,8 @@
2770 2371 .components-placeholder__label .block-editor-block-icon {
2771 2372 margin-left: 4px;
2772 2373 fill: currentColor;
2773 2374 }
2774 -@media (forced-colors: active) {
2775 - .components-placeholder__label > svg,
2776 - .components-placeholder__label .dashicon,
2777 - .components-placeholder__label .block-editor-block-icon {
2778 - fill: CanvasText;
2779 - }
2780 -}
2781 2375 .components-placeholder__label:empty {
2782 2376 display: none;
2783 2377 }
2784 2378
@@ -2792,9 +2386,9 @@
2792 2386 justify-content: flex-start;
2793 2387 }
2794 2388 .components-placeholder__fieldset p,
2795 2389 .components-placeholder__fieldset form p {
2796 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2390 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2797 2391 font-size: 13px;
2798 2392 }
2799 2393
2800 2394 .components-placeholder__fieldset.is-column-layout,
@@ -2802,23 +2396,17 @@
2802 2396 flex-direction: column;
2803 2397 }
2804 2398
2805 2399 .components-placeholder__input[type=url] {
2806 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2400 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2807 2401 padding: 6px 8px;
2808 2402 /* Fonts smaller than 16px causes mobile safari to zoom. */
2809 2403 font-size: 16px;
2810 2404 /* Override core line-height. To be reviewed. */
2811 2405 line-height: normal;
2812 - box-shadow: 0 0 0 transparent;
2813 - border-radius: 2px;
2814 - border: 1px solid #949494;
2406 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2407 + border-radius: var(--wpds-border-radius-sm, 2px);
2815 2408 }
2816 -@media not (prefers-reduced-motion) {
2817 - .components-placeholder__input[type=url] {
2818 - transition: box-shadow 0.1s linear;
2819 - }
2820 -}
2821 2409 @media (min-width: 600px) {
2822 2410 .components-placeholder__input[type=url] {
2823 2411 font-size: 13px;
2824 2412 /* Override core line-height. To be reviewed. */
@@ -2824,12 +2412,16 @@
2824 2412 /* Override core line-height. To be reviewed. */
2825 2413 line-height: normal;
2826 2414 }
2827 2415 }
2416 +.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true]) {
2417 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2418 +}
2828 2419 .components-placeholder__input[type=url]:focus {
2829 - border-color: var(--wp-admin-theme-color);
2830 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2831 - outline: 2px solid transparent;
2420 + 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)));
2421 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2422 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2423 + box-shadow: none;
2832 2424 }
2833 2425 .components-placeholder__input[type=url]::placeholder {
2834 2426 color: rgba(30, 30, 30, 0.62);
2835 2427 }
@@ -3004,12 +2596,8 @@
3004 2596 white-space: nowrap;
3005 2597 width: 100%;
3006 2598 }
3007 2599
3008 -.components-popover__close.components-button {
3009 - z-index: 5;
3010 -}
3011 -
3012 2600 .components-popover__arrow {
3013 2601 position: absolute;
3014 2602 width: 14px;
3015 2603 height: 14px;
@@ -3064,9 +2652,9 @@
3064 2652 .components-radio-control {
3065 2653 border: 0;
3066 2654 margin: 0;
3067 2655 padding: 0;
3068 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2656 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3069 2657 font-size: 13px;
3070 2658 }
3071 2659
3072 2660 .components-radio-control__group-wrapper.has-help {
@@ -3155,14 +2743,14 @@
3155 2743 content: "";
3156 2744 border-radius: 50%;
3157 2745 }
3158 2746 .components-radio-control__input[type=radio]:disabled {
3159 - background: var(--wp-components-color-gray-100, #f0f0f0);
3160 - border: 1px solid var(--wp-components-color-gray-300, #ddd);
2747 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
2748 + border: 1px solid var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
3161 2749 opacity: 1;
3162 2750 }
3163 2751 .components-radio-control__input[type=radio]:disabled:checked::before {
3164 - border-color: var(--wp-components-color-gray-400, #ccc);
2752 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3165 2753 opacity: 1;
3166 2754 }
3167 2755
3168 2756 .components-radio-control__label {
@@ -3167,10 +2755,11 @@
3167 2755
3168 2756 .components-radio-control__label {
3169 2757 grid-column: 2;
3170 2758 grid-row: 1;
2759 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3171 2760 }
3172 -.components-radio-control:not(:disabled) .components-radio-control__label {
2761 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3173 2762 cursor: var(--wpds-cursor-control, pointer);
3174 2763 }
3175 2764 .components-radio-control__label {
3176 2765 line-height: 24px;
@@ -3381,9 +2970,9 @@
3381 2970 -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
3382 2971 }
3383 2972
3384 2973 .components-snackbar {
3385 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2974 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3386 2975 font-size: 13px;
3387 2976 background: rgba(0, 0, 0, 0.85);
3388 2977 backdrop-filter: blur(16px) saturate(180%);
3389 2978 border-radius: 4px;
@@ -3425,14 +3014,10 @@
3425 3014 .components-snackbar__action.components-external-link {
3426 3015 margin-right: 32px;
3427 3016 color: #fff;
3428 3017 flex-shrink: 0;
3018 + --focus-color: #fff;
3429 3019 }
3430 -.components-snackbar__action.components-button:focus,
3431 -.components-snackbar__action.components-external-link:focus {
3432 - box-shadow: none;
3433 - outline: 1px dotted #fff;
3434 -}
3435 3020 .components-snackbar__action.components-button:hover,
3436 3021 .components-snackbar__action.components-external-link:hover {
3437 3022 text-decoration: none;
3438 3023 color: currentColor;
@@ -3472,17 +3057,22 @@
3472 3057 border-radius: 0;
3473 3058 height: 48px !important;
3474 3059 background: transparent;
3475 3060 border: none;
3476 - box-shadow: none;
3477 3061 cursor: var(--wpds-cursor-control, pointer);
3478 - padding: 3px 16px;
3062 + padding: 3px var(--wpds-dimension-padding-lg, 16px);
3479 3063 margin-right: 0;
3480 - font-weight: 400;
3064 + font-weight: var(--wpds-typography-font-weight-default, 400);
3065 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3481 3066 }
3067 +.components-tab-panel__tabs-item:disabled, .components-tab-panel__tabs-item[aria-disabled=true] {
3068 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
3069 +}
3070 +.components-tab-panel__tabs-item:not(:disabled, [aria-disabled=true]):is(:hover, :focus-visible) {
3071 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3072 +}
3482 3073 .components-tab-panel__tabs-item:focus:not(:disabled) {
3483 3074 position: relative;
3484 - box-shadow: none;
3485 3075 outline: none;
3486 3076 }
3487 3077 .components-tab-panel__tabs-item::after {
3488 3078 content: "";
@@ -3490,19 +3080,19 @@
3490 3080 left: 0;
3491 3081 bottom: 0;
3492 3082 right: 0;
3493 3083 pointer-events: none;
3494 - background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3495 - height: calc(0 * var(--wp-admin-border-width-focus));
3084 + background: var(--wpds-color-stroke-interactive-neutral-strong, #6e6e6e);
3085 + height: calc(0 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
3496 3086 border-radius: 0;
3497 3087 }
3498 3088 @media not (prefers-reduced-motion) {
3499 3089 .components-tab-panel__tabs-item::after {
3500 - transition: all 0.1s linear;
3090 + transition: height 0.1s linear;
3501 3091 }
3502 3092 }
3503 3093 .components-tab-panel__tabs-item.is-active::after {
3504 - height: calc(1 * var(--wp-admin-border-width-focus));
3094 + height: calc(1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
3505 3095 outline: 2px solid transparent;
3506 3096 outline-offset: -1px;
3507 3097 }
3508 3098 .components-tab-panel__tabs-item::before {
@@ -3507,33 +3097,33 @@
3507 3097 }
3508 3098 .components-tab-panel__tabs-item::before {
3509 3099 content: "";
3510 3100 position: absolute;
3511 - top: 12px;
3512 - left: 12px;
3513 - bottom: 12px;
3514 - right: 12px;
3101 + inset: var(--wpds-dimension-padding-md, 12px);
3515 3102 pointer-events: none;
3516 - box-shadow: 0 0 0 0 transparent;
3517 - border-radius: 2px;
3103 + border-radius: var(--wpds-border-radius-sm, 2px);
3518 3104 }
3519 -@media not (prefers-reduced-motion) {
3520 - .components-tab-panel__tabs-item::before {
3521 - transition: all 0.1s linear;
3522 - }
3105 +.components-tab-panel__tabs-item:focus-visible::before {
3106 + 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)));
3107 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3108 + outline-offset: 0;
3523 3109 }
3524 -.components-tab-panel__tabs-item:focus-visible::before {
3525 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3526 - outline: 2px solid transparent;
3110 +.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3111 + border-radius: var(--wpds-border-radius-sm, 2px);
3527 3112 }
3113 +.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item::after {
3114 + display: none;
3115 +}
3116 +.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item.is-active {
3117 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3118 +}
3528 3119
3529 3120 .components-tab-panel__tab-content:focus {
3530 - box-shadow: none;
3531 3121 outline: none;
3532 3122 }
3533 3123 .components-tab-panel__tab-content:focus-visible {
3534 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3535 - outline: 2px solid transparent;
3124 + 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)));
3125 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3536 3126 outline-offset: 0;
3537 3127 }
3538 3128
3539 3129 .components-text-control__input,
@@ -3550,40 +3140,21 @@
3550 3140 .components-text-control__input[type=email],
3551 3141 .components-text-control__input[type=month],
3552 3142 .components-text-control__input[type=number] {
3553 3143 width: 100%;
3554 - height: 32px;
3144 + height: 40px;
3555 3145 margin: 0;
3556 - background: var(--wp-components-color-background, #fff);
3557 - color: var(--wp-components-color-foreground, #1e1e1e);
3558 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3146 + background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3147 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3148 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3559 3149 padding: 6px 8px;
3560 3150 /* Fonts smaller than 16px causes mobile safari to zoom. */
3561 3151 font-size: 16px;
3562 3152 /* Override core line-height. To be reviewed. */
3563 3153 line-height: normal;
3564 - box-shadow: 0 0 0 transparent;
3565 - border-radius: 2px;
3566 - border: 1px solid #949494;
3154 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3155 + border-radius: var(--wpds-border-radius-sm, 2px);
3567 3156 }
3568 -@media not (prefers-reduced-motion) {
3569 - .components-text-control__input,
3570 - .components-text-control__input[type=text],
3571 - .components-text-control__input[type=tel],
3572 - .components-text-control__input[type=time],
3573 - .components-text-control__input[type=url],
3574 - .components-text-control__input[type=week],
3575 - .components-text-control__input[type=password],
3576 - .components-text-control__input[type=color],
3577 - .components-text-control__input[type=date],
3578 - .components-text-control__input[type=datetime],
3579 - .components-text-control__input[type=datetime-local],
3580 - .components-text-control__input[type=email],
3581 - .components-text-control__input[type=month],
3582 - .components-text-control__input[type=number] {
3583 - transition: box-shadow 0.1s linear;
3584 - }
3585 -}
3586 3157 @media (min-width: 600px) {
3587 3158 .components-text-control__input,
3588 3159 .components-text-control__input[type=text],
3589 3160 .components-text-control__input[type=tel],
@@ -3602,8 +3173,24 @@
3602 3173 /* Override core line-height. To be reviewed. */
3603 3174 line-height: normal;
3604 3175 }
3605 3176 }
3177 +.components-text-control__input:hover:not(:disabled, [aria-disabled=true]),
3178 +.components-text-control__input[type=text]:hover:not(:disabled, [aria-disabled=true]),
3179 +.components-text-control__input[type=tel]:hover:not(:disabled, [aria-disabled=true]),
3180 +.components-text-control__input[type=time]:hover:not(:disabled, [aria-disabled=true]),
3181 +.components-text-control__input[type=url]:hover:not(:disabled, [aria-disabled=true]),
3182 +.components-text-control__input[type=week]:hover:not(:disabled, [aria-disabled=true]),
3183 +.components-text-control__input[type=password]:hover:not(:disabled, [aria-disabled=true]),
3184 +.components-text-control__input[type=color]:hover:not(:disabled, [aria-disabled=true]),
3185 +.components-text-control__input[type=date]:hover:not(:disabled, [aria-disabled=true]),
3186 +.components-text-control__input[type=datetime]:hover:not(:disabled, [aria-disabled=true]),
3187 +.components-text-control__input[type=datetime-local]:hover:not(:disabled, [aria-disabled=true]),
3188 +.components-text-control__input[type=email]:hover:not(:disabled, [aria-disabled=true]),
3189 +.components-text-control__input[type=month]:hover:not(:disabled, [aria-disabled=true]),
3190 +.components-text-control__input[type=number]:hover:not(:disabled, [aria-disabled=true]) {
3191 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
3192 +}
3606 3193 .components-text-control__input:focus,
3607 3194 .components-text-control__input[type=text]:focus,
3608 3195 .components-text-control__input[type=tel]:focus,
3609 3196 .components-text-control__input[type=time]:focus,
@@ -3616,11 +3203,12 @@
3616 3203 .components-text-control__input[type=datetime-local]:focus,
3617 3204 .components-text-control__input[type=email]:focus,
3618 3205 .components-text-control__input[type=month]:focus,
3619 3206 .components-text-control__input[type=number]:focus {
3620 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3621 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3622 - outline: 2px solid transparent;
3207 + 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)));
3208 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3209 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3210 + box-shadow: none;
3623 3211 }
3624 3212 .components-text-control__input::placeholder,
3625 3213 .components-text-control__input[type=text]::placeholder,
3626 3214 .components-text-control__input[type=tel]::placeholder,
@@ -3650,9 +3238,10 @@
3650 3238 .components-text-control__input[type=datetime-local],
3651 3239 .components-text-control__input[type=email],
3652 3240 .components-text-control__input[type=month],
3653 3241 .components-text-control__input[type=number] {
3654 - border-color: var(--wp-components-color-gray-600, #949494);
3242 + padding-right: 12px;
3243 + padding-left: 12px;
3655 3244 }
3656 3245 .components-text-control__input::placeholder,
3657 3246 .components-text-control__input[type=text]::placeholder,
3658 3247 .components-text-control__input[type=tel]::placeholder,
@@ -3666,28 +3255,10 @@
3666 3255 .components-text-control__input[type=datetime-local]::placeholder,
3667 3256 .components-text-control__input[type=email]::placeholder,
3668 3257 .components-text-control__input[type=month]::placeholder,
3669 3258 .components-text-control__input[type=number]::placeholder {
3670 - color: color-mix(in srgb, var(--wp-components-color-foreground, #1e1e1e), transparent 38%);
3259 + color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3671 3260 }
3672 -.components-text-control__input.is-next-40px-default-size,
3673 -.components-text-control__input[type=text].is-next-40px-default-size,
3674 -.components-text-control__input[type=tel].is-next-40px-default-size,
3675 -.components-text-control__input[type=time].is-next-40px-default-size,
3676 -.components-text-control__input[type=url].is-next-40px-default-size,
3677 -.components-text-control__input[type=week].is-next-40px-default-size,
3678 -.components-text-control__input[type=password].is-next-40px-default-size,
3679 -.components-text-control__input[type=color].is-next-40px-default-size,
3680 -.components-text-control__input[type=date].is-next-40px-default-size,
3681 -.components-text-control__input[type=datetime].is-next-40px-default-size,
3682 -.components-text-control__input[type=datetime-local].is-next-40px-default-size,
3683 -.components-text-control__input[type=email].is-next-40px-default-size,
3684 -.components-text-control__input[type=month].is-next-40px-default-size,
3685 -.components-text-control__input[type=number].is-next-40px-default-size {
3686 - height: 40px;
3687 - padding-right: 12px;
3688 - padding-left: 12px;
3689 -}
3690 3261
3691 3262 .components-text-control__input[type=email],
3692 3263 .components-text-control__input[type=url] {
3693 3264 direction: ltr;
@@ -3698,9 +3269,9 @@
3698 3269 color: #757575;
3699 3270 }
3700 3271 .components-tip svg {
3701 3272 align-self: center;
3702 - fill: #f0b849;
3273 + color: #f0b849;
3703 3274 flex-shrink: 0;
3704 3275 margin-left: 16px;
3705 3276 }
3706 3277 .components-tip p {
@@ -3708,8 +3279,9 @@
3708 3279 }
3709 3280
3710 3281 .components-toggle-control__label {
3711 3282 line-height: 16px;
3283 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3712 3284 }
3713 3285 .components-toggle-control__label:not(.is-disabled) {
3714 3286 cursor: var(--wpds-cursor-control, pointer);
3715 3287 }
@@ -3720,9 +3292,9 @@
3720 3292 }
3721 3293
3722 3294 .components-accessible-toolbar {
3723 3295 display: inline-flex;
3724 - border: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3296 + border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3725 3297 border-radius: 2px;
3726 3298 flex-shrink: 0;
3727 3299 }
3728 3300 .components-accessible-toolbar > .components-toolbar-group:last-child {
@@ -3787,9 +3359,9 @@
3787 3359 background: transparent;
3788 3360 }
3789 3361 .components-accessible-toolbar .components-button.is-pressed::before,
3790 3362 .components-toolbar .components-button.is-pressed::before {
3791 - background: var(--wp-components-color-foreground, #1e1e1e);
3363 + background: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3792 3364 }
3793 3365 .components-accessible-toolbar .components-button:focus::before,
3794 3366 .components-toolbar .components-button:focus::before {
3795 3367 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
@@ -3817,11 +3389,11 @@
3817 3389 padding: 5px 0 5px 10px;
3818 3390 }
3819 3391 .components-toolbar__control.components-button[data-subscript]::after {
3820 3392 content: attr(data-subscript);
3821 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3393 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3822 3394 font-size: 13px;
3823 - font-weight: 600;
3395 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3824 3396 line-height: 12px;
3825 3397 position: absolute;
3826 3398 left: 8px;
3827 3399 bottom: 10px;
@@ -3831,10 +3403,10 @@
3831 3403 }
3832 3404
3833 3405 .components-toolbar-group {
3834 3406 min-height: 48px;
3835 - border-left: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3836 - background-color: var(--wp-components-color-background, #fff);
3407 + border-left: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3408 + background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3837 3409 display: inline-flex;
3838 3410 flex-shrink: 0;
3839 3411 flex-wrap: wrap;
3840 3412 padding-right: 6px;
@@ -3855,9 +3427,9 @@
3855 3427 padding-left: 6px;
3856 3428 }
3857 3429 .components-toolbar-group .components-button.components-button svg,
3858 3430 .components-toolbar-group .components-button.has-icon.has-icon svg {
3859 - min-width: 24px;
3431 + min-width: var(--wpds-dimension-size-sm, 24px);
3860 3432 }
3861 3433 .components-toolbar-group .components-button.components-button::before,
3862 3434 .components-toolbar-group .components-button.has-icon.has-icon::before {
3863 3435 right: 2px;
@@ -3866,10 +3438,10 @@
3866 3438
3867 3439 .components-toolbar {
3868 3440 min-height: 48px;
3869 3441 margin: 0;
3870 - border: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3871 - background-color: var(--wp-components-color-background, #fff);
3442 + border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3443 + background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3872 3444 display: inline-flex;
3873 3445 flex-shrink: 0;
3874 3446 flex-wrap: wrap;
3875 3447 }
@@ -3890,9 +3462,9 @@
3890 3462 div.components-toolbar > div + div.has-left-divider::before {
3891 3463 display: inline-block;
3892 3464 content: "";
3893 3465 box-sizing: content-box;
3894 - background-color: #ddd;
3466 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3895 3467 position: absolute;
3896 3468 top: 8px;
3897 3469 right: -3px;
3898 3470 width: 1px;
@@ -3900,10 +3472,10 @@
3900 3472 }
3901 3473
3902 3474 .components-tooltip {
3903 3475 background: #000;
3904 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3905 - border-radius: 2px;
3476 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3477 + border-radius: var(--wpds-border-radius-md, 4px);
3906 3478 color: #f0f0f0;
3907 3479 text-align: center;
3908 3480 line-height: 1.4;
3909 3481 font-size: 12px;
@@ -3915,36 +3487,19 @@
3915 3487 .components-tooltip__shortcut {
3916 3488 margin-right: 8px;
3917 3489 }
3918 3490
3919 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3920 - --wp-components-color-accent: #cc1818;
3921 - border-color: #cc1818;
3491 +.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 {
3492 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3922 3493 }
3923 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3924 - --wp-admin-theme-color: #cc1818;
3925 - --wp-components-color-accent: #cc1818;
3926 - border-color: #cc1818;
3494 +
3495 +.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 {
3496 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3927 3497 }
3928 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3929 - --wp-components-color-accent: #cc1818;
3930 -}
3931 3498
3932 3499 .components-validated-control__wrapper-with-error-delegate {
3933 3500 position: relative;
3934 3501 }
3935 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3936 - --wp-components-color-accent: #cc1818;
3937 - border-color: #cc1818;
3938 -}
3939 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3940 - --wp-components-color-accent: #cc1818;
3941 -}
3942 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
3943 - --wp-components-color-accent: #cc1818;
3944 - border-color: #cc1818;
3945 -}
3946 -
3947 3502 .components-validated-control__error-delegate {
3948 3503 position: absolute;
3949 3504 top: 0;
3950 3505 height: 100%;
@@ -3952,46 +3507,8 @@
3952 3507 opacity: 0;
3953 3508 pointer-events: none;
3954 3509 }
3955 3510
3956 -.components-validated-control__indicator {
3957 - display: flex;
3958 - align-items: flex-start;
3959 - gap: 4px;
3960 - margin: 8px 0 0;
3961 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3962 - font-size: 12px;
3963 - line-height: 16px;
3964 - color: var(--wp-components-color-gray-700, #757575);
3965 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
3966 -}
3967 -.components-validated-control__indicator.is-invalid {
3968 - color: #cc1818;
3969 -}
3970 -.components-validated-control__indicator.is-valid {
3971 - color: color-mix(in srgb, #000 30%, #4ab866);
3972 -}
3973 -
3974 -.components-validated-control__indicator-icon {
3975 - flex-shrink: 0;
3976 -}
3977 -
3978 -.components-validated-control__indicator-spinner {
3979 - margin: 2px;
3980 - width: 12px;
3981 - height: 12px;
3982 -}
3983 -
3984 -@keyframes components-validated-control__indicator-jump {
3985 - 0% {
3986 - transform: translateY(-4px);
3987 - opacity: 0;
3988 - }
3989 - 100% {
3990 - transform: translateY(0);
3991 - opacity: 1;
3992 - }
3993 -}
3994 3511 :root {
3995 3512 --wp-admin-theme-color: #3858e9;
3996 3513 --wp-admin-theme-color--rgb: 56, 88, 233;
3997 3514 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);