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

Cherry-pick PRs for the WordPress 6.1 Beta 3 Release #44656

Merged
merged 23 commits into from
Oct 4, 2022
Merged

Commits on Oct 3, 2022

  1. Configuration menu
    Copy the full SHA
    eb2ded5 View commit details
    Browse the repository at this point in the history
  2. Query Loop: Fix condition for displaying 'parents' control (#44630)

    The logical NOT here is a typo. The Query Loop block should display the filter for hierarchical post types; unless the `allowedControls` list omits the control filter.
    Mamaduka authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    9d1fe96 View commit details
    Browse the repository at this point in the history
  3. Hide the Classic block in the Site Editor (#44554)

    * Hide the classic block using a filter
    
    * Update the comment wording
    michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    7e9fd39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1bbc3ab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50bb90d View commit details
    Browse the repository at this point in the history
  6. Add box-sizing. (#44580)

    ndiego authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    2159bbb View commit details
    Browse the repository at this point in the history
  7. Remove border from Global Styles previews (#44556)

    * Remove border from global styles preview.
    
    * Fix spacing.
    
    * Add missing semicolon
    
    Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
    
    Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
    2 people authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    14d6500 View commit details
    Browse the repository at this point in the history
  8. Spacing presets: Modify the styling of the input controls when in unl…

    …inked mode in order to better differentiate sides (#44141)
    glendaviesnz authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    ad37bdd View commit details
    Browse the repository at this point in the history
  9. [TypeScript] Preserve the generic signature of getEntityRecord and ge…

    …tEntityRecords through currying (#44453)
    
    Declare GetEntityRecord as a *callable interface* that is callable
    as usually, but also ships another signature without the state argument.
    This works around a TypeScript limitation that doesn't allow
    currying generic functions:
    
    ```ts
    type CurriedState = F extends ( state: any, ...args: infer P ) => infer R
        ? ( ...args: P ) => R
        : F;
    
    type Selector = <K extends string | number>(
        state: any,
        kind: K,
        key: K extends string ? 'string value' : false
    ) => K;
    
    type BadlyInferredSignature = CurriedState< Selector >
    // BadlyInferredSignature evaluates to:
    // (kind: string number, key: false | "string value") => string number
    ```
    
    The signature without the state parameter shipped as CurriedSignature
    is used in the return value of `select( coreStore )`.
    
    See #41578 for more details.
    
    This commit includes a docgen update to add support for typecasting
    selectors
    adamziel authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    4a0fbe0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4b92996 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    af3f84e View commit details
    Browse the repository at this point in the history
  12. [Block Library - Query Loop]: Rename Query Loop variations `allowCont…

    …rols` to `allowedControls` (#44523)
    ntsekouras authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    9aaf066 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    32de2fb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    61a1bc2 View commit details
    Browse the repository at this point in the history
  15. Template part: prevent adding block in post editor or inside post tem…

    …plate or content blocks (#44480)
    
    * Reordering the filter so that any filters added int the block library get applied first, and become overridden by post editor initialization.
    Renaming `can` to `canInsert` for clarity
    
    * Updated comment
    
    * Formatting inline JS comment betterer :P
    ramonjd authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    add234f View commit details
    Browse the repository at this point in the history
  16. Fix rotated image crop area aspect ratio (#44425)

    Alex Lende authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    33f9e9f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1876d24 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a3e9d0a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c5b3727 View commit details
    Browse the repository at this point in the history
  20. ToggleGroupControl: fix unselected icon color (#44575)

    * ToggleGroupControl: fix unselected icon
    color
    
    * CHANGELOG
    
    * Snapshots
    ciampo authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    d4cb2cc View commit details
    Browse the repository at this point in the history
  21. TokenInput field: try alternative approach to fix screen reader focus…

    … issue (#44526)
    
    * Test commit, revert later.
    
    * Remove the aria-label from the ComboboxControl and let value take over.
    
    * Try suggested changes to TokenInput
    
    * CHANGELOG
    
    * Improve unit tests
    
    * Restore min users for combobox in post author field
    
    Co-authored-by: Alex Stine <alex.stine@yourtechadvisors.com>
    2 people authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    b3343b9 View commit details
    Browse the repository at this point in the history
  22. Add layout styles from Post Content block to post editor (#44258)

    * Add layout styles from Post Content block to post editor
    
    * Fix post content finding logic.
    
    * Remove extra styles when Post Content block exists.
    
    * templateContent should always be a string
    
    * Memoise post content block.
    
    * Change function signature and mark experimental
    
    * _Really_ make sure templateContent is a string
    
    * Update layout type for legacy layouts.
    
    * Fix selector specificity and legacy layout logic.
    
    * Fix 404s on fetch and only parse content if needed
    
    * Fix acces to layout when no Post Content block
    
    * Add doc comment to findPostContent
    
    * Increase specificity
    
    * Remove unneeded LayoutStyle
    tellthemachines authored and michalczaplinski committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    d8fcfec View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    baa41ca View commit details
    Browse the repository at this point in the history