Make WordPress Core


Ignore:
Timestamp:
11/30/2021 12:22:30 AM (5 years ago)
Author:
noisysocks
Message:

Update @wordpress packages

Update packages to include these bug fixes from Gutenberg:

  • Update Pattern block category and add documentation
  • Fix non existent menu handling in nav block
  • Make Reusable blocks available in the Site Editor
  • Add caching to WP_Theme_JSON_Resolver_Gutenberg::get_user_data_from_custom_post_type()
  • theme.json: add appearanceTools flag to opt-in into appearance UI controls
  • Update the block theme folders to templates and parts
  • Remove reference to gutenberg_, swap with wp_
  • Use table layout in templates list screen
  • Update featured image placeholder graphic.
  • [Inserter]: Adjust order of theme blocks and reorder inserter items
  • Implement suitable fallback for Nav block on front end of site when no menu selected
  • Toggle Group Control: add tooltip
  • Use first non-empty Nav post as primary fallback for Nav block
  • Change .nvmrc and documentation for Node.js version (LTS to 14.18.1)
  • Update: Migrate global styles user database data on the rest endpoint
  • Update global styles public API
  • Update: Rename user preset origin to custom
  • Try always generating navigation post title
  • Show all templates and template parts on the site editor list screens
  • Highlight "Site" in the navigation panel
  • Fix template part slug generation when creating through the block placeholder
  • [Block Library - Post Title]: Fix render error when setting Page to homepage
  • Add 'Clear customizations' button to template list page
  • Gallery v1: Allow clicks within replace media placeholder state
  • Site Editor: Set the <title> on the list page to be same as the CPT name
  • Gallery: Fix stuck image size options loader
  • Cover: Fix undo trap
  • Add success and error snackbars to the templates list page
  • Fix: theme colors cannot override defaults
  • Fix: Color palette is not being stored
  • Add elements support to the typography panel in global styles
  • Make links plural in global styles
  • Add: Gradient palette editor
  • Update some small style regressions in the template list
  • Add: Transparency support on global styles colors
  • Fix: apply by slug on all origins
  • Render empty Nav block if no fallback block can be utilised
  • Allow filtering of Nav block fallback
  • Fix Nav block fallback DB query to match on full block grammar start tag
  • Remove unstable max pages attribute from Nav block
  • DateTimePicker: set PM hours correctly
  • Update delete template button
  • Site Editor: Template list add rename action
  • Fix Nav block editing wrong entity on creation of new Menu
  • [REST] Restore the missing double slash in the ID received by /templates
  • Add icons to navigation sidebar items
  • Update function names for the public global styles API functions
  • Templates Controller: Add missing 'is_custom' prop
  • Rename gutenberg_ to wp_ for some functions that land in WordPress 5.9
  • [Block Library - Template Part]:Remove support for conversion to Reusable block
  • Global Styles: Call "palettes" and not "color palettes" on panel label
  • Add button text when no colors found
  • Update: Global Styes: Count all color palette origins on the palette counter
  • Rename navigationMenuId to ref
  • Offset the parent iframe when computing Popover position
  • Fix: Failing PHPUnit test
  • Show theme, plugin or author in Added By column with appropriate icon or avatar
  • Add origin and author to template rest api

See #54487.
Props talldanwp, mamaduka, oandregal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.json

    r52049 r52275  
    22        "version": 2,
    33        "settings": {
     4                "appearanceTools": false,
    45                "border": {
    56                        "color": false,
    … …  
    910                },
    1011                "color": {
     12                        "background": true,
    1113                        "custom": true,
    1214                        "customDuotone": true,
    1315                        "customGradient": true,
    14                         "link": false,
    15                         "background": true,
    16                         "text": true,
     16                        "defaultGradients": true,
     17                        "defaultPalette": true,
    1718                        "duotone": [
    1819                                {
    … …  
    119120                                }
    120121                        ],
     122                        "link": false,
    121123                        "palette": [
    122124                                {
    … …  
    180182                                        "color": "#9b51e0"
    181183                                }
    182                         ]
     184                        ],
     185                        "text": true
    183186                },
    184187                "spacing": {
    … …  
    191194                        "customFontSize": true,
    192195                        "dropCap": true,
     196                        "fontSizes": [
     197                                {
     198                                        "name": "Small",
     199                                        "slug": "small",
     200                                        "size": "13px"
     201                                },
     202                                {
     203                                        "name": "Normal",
     204                                        "slug": "normal",
     205                                        "size": "16px"
     206                                },
     207                                {
     208                                        "name": "Medium",
     209                                        "slug": "medium",
     210                                        "size": "20px"
     211                                },
     212                                {
     213                                        "name": "Large",
     214                                        "slug": "large",
     215                                        "size": "36px"
     216                                },
     217                                {
     218                                        "name": "Huge",
     219                                        "slug": "huge",
     220                                        "size": "42px"
     221                                }
     222                        ],
    193223                        "fontStyle": true,
    194224                        "fontWeight": true,
    … …  
    196226                        "lineHeight": false,
    197227                        "textDecoration": true,
    198                         "textTransform": true,
    199                         "fontSizes": [
    200                                 {
    201                                         "name": "Small",
    202                                         "slug": "small",
    203                                         "size": "13px"
    204                                 },
    205                                 {
    206                                         "name": "Normal",
    207                                         "slug": "normal",
    208                                         "size": "16px"
    209                                 },
    210                                 {
    211                                         "name": "Medium",
    212                                         "slug": "medium",
    213                                         "size": "20px"
    214                                 },
    215                                 {
    216                                         "name": "Large",
    217                                         "slug": "large",
    218                                         "size": "36px"
    219                                 },
    220                                 {
    221                                         "name": "Huge",
    222                                         "slug": "huge",
    223                                         "size": "42px"
    224                                 }
    225                         ]
     228                        "textTransform": true
    226229                },
    227230                "blocks": {
Note: See TracChangeset for help on using the changeset viewer.