Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global styles: block background UI controls #60100

Merged
merged 11 commits into from
Jul 5, 2024

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    3a99461 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72ffc2f View commit details
    Browse the repository at this point in the history
  3. Updating tests after rebase

    Removed unrequired change function
    ramonjd committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    a686680 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7988ba5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f000836 View commit details
    Browse the repository at this point in the history
  6. LINTO

    ramonjd committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    541ff26 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a804a8c View commit details
    Browse the repository at this point in the history
  8. This commit checks for theme block styles in the block supports hook …

    …so a background block control can determine whether it has an inherited value. If there is an inherited value, the block control will provide an option to "remove" the theme style.
    
    This commit also sends resolved theme asset URI via the _links property so that these images can be used in block control previews.
    
    Added resolver tests for blocks
    
    Use `get_styles_for_block` in unit tests when testing block nodes
    
    Use `get_styles_for_block` in unit tests when testing block nodes
    
    Add since annotation
    
    backport changelog
    ramonjd committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    ef149cc View commit details
    Browse the repository at this point in the history
  9. update assertion comments

    ramonjd committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    5aba906 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    47a389a View commit details
    Browse the repository at this point in the history
  11. Pass resolved URIs to display inherited background image styles with …

    …relative paths
    
    Also, output any background styles, even if there's no background image
    ramonjd committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    d040811 View commit details
    Browse the repository at this point in the history