Make WordPress Core


Ignore:
Timestamp:
09/26/2023 02:20:18 PM (21 months ago)
Author:
karmatosed
Message:

Update editor related npm packages

The npm packages needed updating for 6.4 to the latest.

Props mikachan, mukesdpanchal27, luisherranz, youknowriad, tellthemachines, gziolo, ockham, michalczaplinski

Fixes #59411

File:
1 edited

Legend:

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

    r56520 r56710  
    173173      )
    174174    ),
     175    'selectors' => array(
     176      'border' => '.wp-block-avatar img'
     177    ),
    175178    'editorStyle' => 'wp-block-avatar-editor',
    176179    'style' => 'wp-block-avatar'
     
    213216    'textdomain' => 'default',
    214217    'attributes' => array(
     218      'tagName' => array(
     219        'type' => 'string',
     220        'enum' => array(
     221          'a',
     222          'button'
     223        ),
     224        'default' => 'a'
     225      ),
     226      'type' => array(
     227        'type' => 'string',
     228        'default' => 'button'
     229      ),
    215230      'textAlign' => array(
    216231        'type' => 'string'
     
    226241        'type' => 'string',
    227242        'source' => 'attribute',
    228         'selector' => 'a',
     243        'selector' => 'a,button',
    229244        'attribute' => 'title',
    230245        '__experimentalRole' => 'content'
     
    233248        'type' => 'string',
    234249        'source' => 'html',
    235         'selector' => 'a',
     250        'selector' => 'a,button',
    236251        '__experimentalRole' => 'content'
    237252      ),
     
    504519        'type' => 'string',
    505520        'source' => 'html',
    506         'selector' => 'code'
     521        'selector' => 'code',
     522        '__unstablePreserveWhiteSpace' => true
    507523      )
    508524    ),
     
    593609    ),
    594610    'supports' => array(
     611      '__experimentalOnEnter' => true,
    595612      'anchor' => true,
    596613      'reusable' => false,
     
    598615      'color' => array(
    599616        'gradients' => true,
     617        'heading' => true,
     618        'button' => true,
    600619        'link' => true,
    601620        '__experimentalDefaultControls' => array(
     
    677696        'gradients' => true,
    678697        'link' => true,
     698        'heading' => true,
     699        'button' => true,
    679700        '__experimentalDefaultControls' => array(
    680701          'background' => true,
     
    10671088      'color' => array(
    10681089        'gradients' => true,
     1090        'heading' => true,
    10691091        'link' => true,
    10701092        '__experimentalDefaultControls' => array(
     
    14791501      'color' => array(
    14801502        '__experimentalDuotone' => '> .wp-block-cover__image-background, > .wp-block-cover__video-background',
     1503        'heading' => true,
    14811504        'text' => true,
    14821505        'background' => false,
    14831506        '__experimentalSkipSerialization' => array(
    14841507          'gradients'
    1485         )
     1508        ),
     1509        'enableContrastChecker' => false
    14861510      ),
    14871511      'typography' => array(
     
    15131537    'description' => 'Hide and show additional content.',
    15141538    'keywords' => array(
    1515       'disclosure',
     1539      'accordion',
    15161540      'summary',
    1517       'hide'
     1541      'toggle',
     1542      'disclosure'
    15181543    ),
    15191544    'textdomain' => 'default',
     
    15241549      ),
    15251550      'summary' => array(
    1526         'type' => 'string'
     1551        'type' => 'string',
     1552        'source' => 'html',
     1553        'selector' => 'summary'
    15271554      )
    15281555    ),
     
    15491576        'margin' => true,
    15501577        'padding' => true,
     1578        'blockGap' => true,
    15511579        '__experimentalDefaultControls' => array(
    15521580          'margin' => false,
     
    15661594          'fontSize' => true
    15671595        )
     1596      ),
     1597      'layout' => array(
     1598        'allowEditing' => false
    15681599      )
    15691600    ),
     
    16851716      'anchor' => true,
    16861717      'align' => true,
     1718      'spacing' => array(
     1719        'margin' => true,
     1720        'padding' => true
     1721      ),
    16871722      'color' => array(
    16881723        'gradients' => true,
     
    16931728          'link' => true
    16941729        )
    1695       )
     1730      ),
     1731      'interactivity' => true
    16961732    ),
    16971733    'viewScript' => 'file:./view.min.js',
     
    17151751    ),
    17161752    'supports' => array(
     1753      '__experimentalBorder' => array(
     1754        'radius' => true,
     1755        'color' => true,
     1756        'width' => true,
     1757        'style' => true,
     1758        '__experimentalDefaultControls' => array(
     1759          'radius' => false,
     1760          'color' => false,
     1761          'width' => false,
     1762          'style' => false
     1763        )
     1764      ),
     1765      'color' => array(
     1766        'background' => true,
     1767        'link' => true,
     1768        'text' => true,
     1769        '__experimentalDefaultControls' => array(
     1770          'link' => true,
     1771          'text' => true
     1772        )
     1773      ),
    17171774      'html' => false,
    17181775      'multiple' => false,
    1719       'reusable' => false
     1776      'reusable' => false,
     1777      'spacing' => array(
     1778        'margin' => true,
     1779        'padding' => true,
     1780        '__experimentalDefaultControls' => array(
     1781          'margin' => false,
     1782          'padding' => false
     1783        )
     1784      ),
     1785      'typography' => array(
     1786        'fontSize' => true,
     1787        'lineHeight' => true,
     1788        '__experimentalFontFamily' => true,
     1789        '__experimentalTextDecoration' => true,
     1790        '__experimentalFontStyle' => true,
     1791        '__experimentalFontWeight' => true,
     1792        '__experimentalLetterSpacing' => true,
     1793        '__experimentalTextTransform' => true,
     1794        '__experimentalWritingMode' => true,
     1795        '__experimentalDefaultControls' => array(
     1796          'fontSize' => true
     1797        )
     1798      )
    17201799    ),
    17211800    'style' => 'wp-block-footnotes'
     
    18121891      'shortCodeTransforms' => array(
    18131892        'type' => 'array',
     1893        'items' => array(
     1894          'type' => 'object'
     1895        ),
    18141896        'default' => array(
    18151897         
    1816         ),
    1817         'items' => array(
    1818           'type' => 'object'
    18191898        )
    18201899      ),
     
    19382017    'supports' => array(
    19392018      '__experimentalOnEnter' => true,
     2019      '__experimentalOnMerge' => true,
    19402020      '__experimentalSettings' => true,
     2021      '__experimentalMetadata' => true,
    19412022      'align' => array(
    19422023        'wide',
     
    19462027      'ariaLabel' => true,
    19472028      'html' => false,
     2029      'background' => array(
     2030        'backgroundImage' => true
     2031      ),
    19482032      'color' => array(
    19492033        'gradients' => true,
     2034        'heading' => true,
     2035        'button' => true,
    19502036        'link' => true,
    19512037        '__experimentalDefaultControls' => array(
     
    20672153        '__experimentalTextTransform' => true,
    20682154        '__experimentalTextDecoration' => true,
     2155        '__experimentalWritingMode' => true,
    20692156        '__experimentalDefaultControls' => array(
    20702157          'fontSize' => true,
     
    21912278        '__experimentalRole' => 'content'
    21922279      ),
     2280      'lightbox' => array(
     2281        'type' => 'object',
     2282        'enabled' => array(
     2283          'type' => 'boolean'
     2284        )
     2285      ),
    21932286      'title' => array(
    21942287        'type' => 'string',
     
    22482341    'supports' => array(
    22492342      'anchor' => true,
    2250       'behaviors' => array(
    2251         'lightbox' => true
    2252       ),
    22532343      'color' => array(
    22542344        'text' => false,
     
    22882378    ),
    22892379    'editorStyle' => 'wp-block-image-editor',
    2290     'style' => 'wp-block-image'
     2380    'style' => 'wp-block-image',
     2381    'viewScript' => 'file:./view.min.js'
    22912382  ),
    22922383  'latest-comments' => array(
     
    25742665      '__unstablePasteTextInline' => true,
    25752666      '__experimentalSelector' => 'ol,ul',
     2667      '__experimentalOnMerge' => true,
    25762668      '__experimentalSlashInserter' => true
    25772669    ),
     
    27682860      'color' => array(
    27692861        'gradients' => true,
     2862        'heading' => true,
    27702863        'link' => true,
    27712864        '__experimentalDefaultControls' => array(
     
    29593052        'full'
    29603053      ),
     3054      'ariaLabel' => true,
    29613055      'html' => false,
    29623056      'inserter' => true,
     
    30073101          )
    30083102        )
    3009       )
    3010     ),
    3011     'viewScript' => array(
    3012       'file:./view.min.js',
    3013       'file:./view-modal.min.js'
    3014     ),
     3103      ),
     3104      'interactivity' => true
     3105    ),
     3106    'viewScript' => 'file:./view.min.js',
    30153107    'editorStyle' => 'wp-block-navigation-editor',
    30163108    'style' => 'wp-block-navigation'
     
    33113403    ),
    33123404    'textdomain' => 'default',
     3405    'usesContext' => array(
     3406      'postId'
     3407    ),
    33133408    'attributes' => array(
    33143409      'align' => array(
     
    33483443        )
    33493444      ),
     3445      '__experimentalConnections' => true,
    33503446      'spacing' => array(
    33513447        'margin' => true,
     
    33653461        '__experimentalLetterSpacing' => true,
    33663462        '__experimentalTextTransform' => true,
     3463        '__experimentalWritingMode' => true,
    33673464        '__experimentalDefaultControls' => array(
    33683465          'fontSize' => true
     
    33973494    'apiVersion' => 3,
    33983495    'name' => 'core/post-author',
    3399     'title' => 'Post Author',
     3496    'title' => 'Author',
    34003497    'category' => 'theme',
    34013498    'description' => 'Display post author details such as name, avatar, and bio.',
     
    34683565    'apiVersion' => 3,
    34693566    'name' => 'core/post-author-biography',
    3470     'title' => 'Post Author Biography',
     3567    'title' => 'Author Biography',
    34713568    'category' => 'theme',
    34723569    'description' => 'The author biography.',
     
    35133610    'apiVersion' => 3,
    35143611    'name' => 'core/post-author-name',
    3515     'title' => 'Post Author Name',
     3612    'title' => 'Author Name',
    35163613    'category' => 'theme',
    35173614    'description' => 'The author name.',
     
    35683665    'apiVersion' => 3,
    35693666    'name' => 'core/post-comments-form',
    3570     'title' => 'Post Comments Form',
     3667    'title' => 'Comments Form',
    35713668    'category' => 'theme',
    35723669    'description' => 'Display a post\'s comments form.',
     
    35853682      'color' => array(
    35863683        'gradients' => true,
     3684        'heading' => true,
    35873685        'link' => true,
    35883686        '__experimentalDefaultControls' => array(
     
    36183716    'apiVersion' => 3,
    36193717    'name' => 'core/post-content',
    3620     'title' => 'Post Content',
     3718    'title' => 'Content',
    36213719    'category' => 'theme',
    36223720    'description' => 'Displays the contents of a post or page.',
     
    36373735        'minHeight' => true
    36383736      ),
     3737      'spacing' => array(
     3738        'blockGap' => true
     3739      ),
     3740      'color' => array(
     3741        'gradients' => true,
     3742        'link' => true,
     3743        '__experimentalDefaultControls' => array(
     3744          'background' => false,
     3745          'text' => false
     3746        )
     3747      ),
    36393748      'typography' => array(
    36403749        'fontSize' => true,
     
    36573766    'apiVersion' => 3,
    36583767    'name' => 'core/post-date',
    3659     'title' => 'Post Date',
     3768    'title' => 'Date',
    36603769    'category' => 'theme',
    3661     'description' => 'Add the date of this post.',
     3770    'description' => 'Display the publish date for an entry such as a post or page.',
    36623771    'textdomain' => 'default',
    36633772    'attributes' => array(
     
    37773886    'apiVersion' => 3,
    37783887    'name' => 'core/post-featured-image',
    3779     'title' => 'Post Featured Image',
     3888    'title' => 'Featured Image',
    37803889    'category' => 'theme',
    37813890    'description' => 'Display a post\'s featured image.',
     
    39144023        '__experimentalTextDecoration' => true,
    39154024        '__experimentalLetterSpacing' => true,
     4025        '__experimentalWritingMode' => true,
    39164026        '__experimentalDefaultControls' => array(
    39174027          'fontSize' => true
     
    39384048      'displayLayout',
    39394049      'templateSlug',
    3940       'previewPostType'
     4050      'previewPostType',
     4051      'enhancedPagination'
    39414052    ),
    39424053    'supports' => array(
     
    41424253          'text' => true
    41434254        )
     4255      ),
     4256      'spacing' => array(
     4257        'padding' => true,
     4258        'margin' => true
    41444259      ),
    41454260      'typography' => array(
     
    42784393      'namespace' => array(
    42794394        'type' => 'string'
     4395      ),
     4396      'enhancedPagination' => array(
     4397        'type' => 'boolean',
     4398        'default' => false
    42804399      )
    42814400    ),
     
    42834402      'queryId' => 'queryId',
    42844403      'query' => 'query',
    4285       'displayLayout' => 'displayLayout'
     4404      'displayLayout' => 'displayLayout',
     4405      'enhancedPagination' => 'enhancedPagination'
    42864406    ),
    42874407    'supports' => array(
     
    42934413      'layout' => true
    42944414    ),
    4295     'editorStyle' => 'wp-block-query-editor'
     4415    'editorStyle' => 'wp-block-query-editor',
     4416    'style' => 'wp-block-query',
     4417    'viewScript' => 'file:./view.min.js'
    42964418  ),
    42974419  'query-no-results' => array(
     
    44194541      'query',
    44204542      'paginationArrow',
    4421       'showLabel'
     4543      'showLabel',
     4544      'enhancedPagination'
    44224545    ),
    44234546    'supports' => array(
     
    44574580    'description' => 'Displays a list of page numbers for pagination',
    44584581    'textdomain' => 'default',
     4582    'attributes' => array(
     4583      'midSize' => array(
     4584        'type' => 'number',
     4585        'default' => 2
     4586      )
     4587    ),
    44594588    'usesContext' => array(
    44604589      'queryId',
    4461       'query'
     4590      'query',
     4591      'enhancedPagination'
    44624592    ),
    44634593    'supports' => array(
     
    45074637      'query',
    45084638      'paginationArrow',
    4509       'showLabel'
     4639      'showLabel',
     4640      'enhancedPagination'
    45104641    ),
    45114642    'supports' => array(
     
    46334764      'html' => false,
    46344765      '__experimentalOnEnter' => true,
     4766      '__experimentalOnMerge' => true,
    46354767      'typography' => array(
    46364768        'fontSize' => true,
     
    46494781      'color' => array(
    46504782        'gradients' => true,
     4783        'heading' => true,
    46514784        'link' => true,
    46524785        '__experimentalDefaultControls' => array(
     
    48564989        )
    48574990      ),
     4991      'interactivity' => true,
    48584992      'typography' => array(
    48594993        '__experimentalSkipSerialization' => true,
Note: See TracChangeset for help on using the changeset viewer.