Make WordPress Core


Ignore:
Timestamp:
02/07/2025 03:44:07 PM (18 months ago)
Author:
joemcgill
Message:

Editor: Update packages for 6.8 pre-Betas.

Syncs @wordpress/* packages to the 'latest' npm tag.

Props mamaduka, joemcgill, youknowriad, swissspidy, sergiomdgomes, gziolo.
See #62887.

File:
1 edited

Legend:

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

    r59119 r59775  
    2828    'supports' => array(
    2929      'align' => true,
     30      '__experimentalBorder' => array(
     31        'radius' => true,
     32        'color' => true,
     33        'width' => true,
     34        'style' => true
     35      ),
    3036      'html' => false,
    3137      'spacing' => array(
     
    325331      ),
    326332      'typography' => array(
     333        '__experimentalSkipSerialization' => array(
     334          'fontSize',
     335          'lineHeight',
     336          'fontFamily',
     337          'fontWeight',
     338          'fontStyle',
     339          'textTransform',
     340          'textDecoration',
     341          'letterSpacing'
     342        ),
    327343        'fontSize' => true,
    328344        'lineHeight' => true,
     
    365381        )
    366382      ),
    367       '__experimentalSelector' => '.wp-block-button .wp-block-button__link',
    368383      'interactivity' => array(
    369384        'clientNavigation' => true
     
    382397    ),
    383398    'editorStyle' => 'wp-block-button-editor',
    384     'style' => 'wp-block-button'
     399    'style' => 'wp-block-button',
     400    'selectors' => array(
     401      'root' => '.wp-block-button .wp-block-button__link',
     402      'typography' => array(
     403        'writingMode' => '.wp-block-button'
     404      )
     405    )
    385406  ),
    386407  'buttons' => array(
     
    13151336          'fontSize' => true
    13161337        )
     1338      ),
     1339      '__experimentalBorder' => array(
     1340        'radius' => true,
     1341        'color' => true,
     1342        'width' => true,
     1343        'style' => true,
     1344        '__experimentalDefaultControls' => array(
     1345          'radius' => true,
     1346          'color' => true,
     1347          'width' => true,
     1348          'style' => true
     1349        )
    13171350      )
    13181351    ),
     
    13431376        'type' => 'string',
    13441377        'default' => 'none'
     1378      )
     1379    ),
     1380    'example' => array(
     1381      'attributes' => array(
     1382        'paginationArrow' => 'none'
    13451383      )
    13461384    ),
     
    16911729        'type' => 'string',
    16921730        'default' => 'div'
     1731      ),
     1732      'sizeSlug' => array(
     1733        'type' => 'string'
    16931734      )
    16941735    ),
     
    17851826        'source' => 'rich-text',
    17861827        'selector' => 'summary'
     1828      ),
     1829      'name' => array(
     1830        'type' => 'string',
     1831        'source' => 'attribute',
     1832        'attribute' => 'name',
     1833        'selector' => '.wp-block-details'
     1834      ),
     1835      'allowedBlocks' => array(
     1836        'type' => 'array'
     1837      ),
     1838      'placeholder' => array(
     1839        'type' => 'string'
    17871840      )
    17881841    ),
     
    17931846        'full'
    17941847      ),
     1848      'anchor' => true,
    17951849      'color' => array(
    17961850        'gradients' => true,
     
    19151969      ),
    19161970      'href' => array(
    1917         'type' => 'string'
     1971        'type' => 'string',
     1972        'role' => 'content'
    19181973      ),
    19191974      'fileId' => array(
     
    19261981        'type' => 'rich-text',
    19271982        'source' => 'rich-text',
    1928         'selector' => 'a:not([download])'
     1983        'selector' => 'a:not([download])',
     1984        'role' => 'content'
    19291985      ),
    19301986      'textLinkHref' => array(
     
    19321988        'source' => 'attribute',
    19331989        'selector' => 'a:not([download])',
    1934         'attribute' => 'href'
     1990        'attribute' => 'href',
     1991        'role' => 'content'
    19351992      ),
    19361993      'textLinkTarget' => array(
     
    19472004        'type' => 'rich-text',
    19482005        'source' => 'rich-text',
    1949         'selector' => 'a[download]'
     2006        'selector' => 'a[download]',
     2007        'role' => 'content'
    19502008      ),
    19512009      'displayPreview' => array(
     
    24212479        'radius' => true,
    24222480        'style' => true,
    2423         'width' => true,
    2424         '__experimentalDefaultControls' => array(
    2425           'color' => true,
    2426           'radius' => true,
    2427           'style' => true,
    2428           'width' => true
    2429         )
     2481        'width' => true
    24302482      ),
    24312483      'color' => array(
     
    25522604      'allowResize',
    25532605      'imageCrop',
    2554       'fixedHeight'
     2606      'fixedHeight',
     2607      'postId',
     2608      'postType',
     2609      'queryId'
    25552610    ),
    25562611    'description' => 'Insert an image to make a visual statement.',
     
    28902945        )
    28912946      ),
     2947      '__experimentalBorder' => array(
     2948        'radius' => true,
     2949        'color' => true,
     2950        'width' => true,
     2951        'style' => true,
     2952        '__experimentalDefaultControls' => array(
     2953          'radius' => true,
     2954          'color' => true,
     2955          'width' => true,
     2956          'style' => true
     2957        )
     2958      ),
    28922959      'interactivity' => array(
    28932960        'clientNavigation' => true
     
    30283095    'apiVersion' => 3,
    30293096    'name' => 'core/list-item',
    3030     'title' => 'List item',
     3097    'title' => 'List Item',
    30313098    'category' => 'text',
    30323099    'parent' => array(
     
    38093876      'interactivity' => array(
    38103877        'clientNavigation' => true
     3878      ),
     3879      'color' => array(
     3880        'text' => true,
     3881        'background' => true,
     3882        'link' => true,
     3883        'gradients' => true,
     3884        '__experimentalDefaultControls' => array(
     3885          'background' => true,
     3886          'text' => true,
     3887          'link' => true
     3888        )
     3889      ),
     3890      '__experimentalBorder' => array(
     3891        'radius' => true,
     3892        'color' => true,
     3893        'width' => true,
     3894        'style' => true
     3895      ),
     3896      'spacing' => array(
     3897        'padding' => true,
     3898        'margin' => true,
     3899        '__experimentalDefaultControls' => array(
     3900          'padding' => false,
     3901          'margin' => false
     3902        )
    38113903      )
    38123904    ),
     
    39644056    'apiVersion' => 3,
    39654057    'name' => 'core/pattern',
    3966     'title' => 'Pattern placeholder',
     4058    'title' => 'Pattern Placeholder',
    39674059    'category' => 'theme',
    39684060    'description' => 'Show a block pattern.',
     
    40104102      'isLink' => array(
    40114103        'type' => 'boolean',
    4012         'default' => false
     4104        'default' => false,
     4105        'role' => 'content'
    40134106      ),
    40144107      'linkTarget' => array(
    40154108        'type' => 'string',
    4016         'default' => '_self'
     4109        'default' => '_self',
     4110        'role' => 'content'
    40174111      )
    40184112    ),
     
    41474241      'isLink' => array(
    41484242        'type' => 'boolean',
    4149         'default' => false
     4243        'default' => false,
     4244        'role' => 'content'
    41504245      ),
    41514246      'linkTarget' => array(
    41524247        'type' => 'string',
    4153         'default' => '_self'
     4248        'default' => '_self',
     4249        'role' => 'content'
    41544250      )
    41554251    ),
     
    42684364      'wp-block-buttons',
    42694365      'wp-block-button'
     4366    ),
     4367    'example' => array(
     4368      'attributes' => array(
     4369        'textAlign' => 'center'
     4370      )
    42704371    )
    42714372  ),
     
    43064407        'blockGap' => true,
    43074408        'padding' => true,
     4409        'margin' => true,
    43084410        '__experimentalDefaultControls' => array(
    43094411          'margin' => false,
     
    43134415      'color' => array(
    43144416        'gradients' => true,
     4417        'heading' => true,
    43154418        'link' => true,
    43164419        '__experimentalDefaultControls' => array(
     
    43314434          'fontSize' => true
    43324435        )
     4436      ),
     4437      '__experimentalBorder' => array(
     4438        'radius' => true,
     4439        'color' => true,
     4440        'width' => true,
     4441        'style' => true,
     4442        '__experimentalDefaultControls' => array(
     4443          'radius' => true,
     4444          'color' => true,
     4445          'width' => true,
     4446          'style' => true
     4447        )
    43334448      )
    43344449    ),
     
    43534468      'isLink' => array(
    43544469        'type' => 'boolean',
    4355         'default' => false
     4470        'default' => false,
     4471        'role' => 'content'
    43564472      ),
    43574473      'displayType' => array(
     
    45034619      'isLink' => array(
    45044620        'type' => 'boolean',
    4505         'default' => false
     4621        'default' => false,
     4622        'role' => 'content'
    45064623      ),
    45074624      'aspectRatio' => array(
     
    45244641        'type' => 'string',
    45254642        'attribute' => 'rel',
    4526         'default' => ''
     4643        'default' => '',
     4644        'role' => 'content'
    45274645      ),
    45284646      'linkTarget' => array(
    45294647        'type' => 'string',
    4530         'default' => '_self'
     4648        'default' => '_self',
     4649        'role' => 'content'
    45314650      ),
    45324651      'overlayColor' => array(
     
    46784797    'title' => 'Post Template',
    46794798    'category' => 'theme',
    4680     'parent' => array(
     4799    'ancestor' => array(
    46814800      'core/query'
    46824801    ),
     
    46894808      'templateSlug',
    46904809      'previewPostType',
    4691       'enhancedPagination'
     4810      'enhancedPagination',
     4811      'postType'
    46924812    ),
    46934813    'supports' => array(
     
    47214841      ),
    47224842      'spacing' => array(
     4843        'margin' => true,
     4844        'padding' => true,
    47234845        'blockGap' => array(
    47244846          '__experimentalDefault' => '1.25em'
    47254847        ),
    47264848        '__experimentalDefaultControls' => array(
    4727           'blockGap' => true
    4728         )
    4729       ),
    4730       'interactivity' => array(
    4731         'clientNavigation' => true
     4849          'blockGap' => true,
     4850          'padding' => false,
     4851          'margin' => false
     4852        )
     4853      ),
     4854      'interactivity' => array(
     4855        'clientNavigation' => true
     4856      ),
     4857      '__experimentalBorder' => array(
     4858        'radius' => true,
     4859        'color' => true,
     4860        'width' => true,
     4861        'style' => true
    47324862      )
    47334863    ),
     
    48424972      'isLink' => array(
    48434973        'type' => 'boolean',
    4844         'default' => false
     4974        'default' => false,
     4975        'role' => 'content'
    48454976      ),
    48464977      'rel' => array(
    48474978        'type' => 'string',
    48484979        'attribute' => 'rel',
    4849         'default' => ''
     4980        'default' => '',
     4981        'role' => 'content'
    48504982      ),
    48514983      'linkTarget' => array(
    48524984        'type' => 'string',
    4853         'default' => '_self'
     4985        'default' => '_self',
     4986        'role' => 'content'
    48544987      )
    48554988    ),
     
    50725205    'category' => 'theme',
    50735206    'description' => 'An advanced block that allows displaying post types based on different query parameters and visual configurations.',
     5207    'keywords' => array(
     5208      'posts',
     5209      'list',
     5210      'blog',
     5211      'blogs',
     5212      'custom post types'
     5213    ),
    50745214    'textdomain' => 'default',
    50755215    'attributes' => array(
     
    51155255    ),
    51165256    'usesContext' => array(
    5117       'postType'
     5257      'templateSlug'
    51185258    ),
    51195259    'providesContext' => array(
     
    51385278    'apiVersion' => 3,
    51395279    'name' => 'core/query-no-results',
    5140     'title' => 'No results',
     5280    'title' => 'No Results',
    51415281    'category' => 'theme',
    51425282    'description' => 'Contains the block elements used to render content when no query results are found.',
    5143     'parent' => array(
     5283    'ancestor' => array(
    51445284      'core/query'
    51455285    ),
     
    54335573      )
    54345574    ),
     5575    'example' => array(
     5576      'attributes' => array(
     5577        'type' => 'search'
     5578      )
     5579    ),
    54355580    'supports' => array(
    54365581      'align' => array(
     
    54805625    ),
    54815626    'style' => 'wp-block-query-title'
     5627  ),
     5628  'query-total' => array(
     5629    '$schema' => 'https://schemas.wp.org/trunk/block.json',
     5630    'apiVersion' => 3,
     5631    'name' => 'core/query-total',
     5632    'title' => 'Query Total',
     5633    'category' => 'theme',
     5634    'ancestor' => array(
     5635      'core/query'
     5636    ),
     5637    'description' => 'Display the total number of results in a query.',
     5638    'textdomain' => 'default',
     5639    'attributes' => array(
     5640      'displayType' => array(
     5641        'type' => 'string',
     5642        'default' => 'total-results'
     5643      )
     5644    ),
     5645    'usesContext' => array(
     5646      'queryId',
     5647      'query'
     5648    ),
     5649    'supports' => array(
     5650      'align' => array(
     5651        'wide',
     5652        'full'
     5653      ),
     5654      'html' => false,
     5655      'spacing' => array(
     5656        'margin' => true,
     5657        'padding' => true
     5658      ),
     5659      'color' => array(
     5660        'gradients' => true,
     5661        'text' => true,
     5662        '__experimentalDefaultControls' => array(
     5663          'background' => true
     5664        )
     5665      ),
     5666      'typography' => array(
     5667        'fontSize' => true,
     5668        'lineHeight' => true,
     5669        '__experimentalFontFamily' => true,
     5670        '__experimentalFontWeight' => true,
     5671        '__experimentalFontStyle' => true,
     5672        '__experimentalTextTransform' => true,
     5673        '__experimentalTextDecoration' => true,
     5674        '__experimentalLetterSpacing' => true,
     5675        '__experimentalDefaultControls' => array(
     5676          'fontSize' => true
     5677        )
     5678      ),
     5679      '__experimentalBorder' => array(
     5680        'radius' => true,
     5681        'color' => true,
     5682        'width' => true,
     5683        'style' => true,
     5684        '__experimentalDefaultControls' => array(
     5685          'radius' => true,
     5686          'color' => true,
     5687          'width' => true,
     5688          'style' => true
     5689        )
     5690      )
     5691    ),
     5692    'style' => 'wp-block-query-total'
    54825693  ),
    54835694  'quote' => array(
     
    57115922      'interactivity' => array(
    57125923        'clientNavigation' => true
     5924      ),
     5925      'color' => array(
     5926        'background' => true,
     5927        'text' => true,
     5928        'gradients' => true,
     5929        'link' => true
    57135930      )
    57145931    ),
     
    58366053        'type' => 'string',
    58376054        'default' => 'alpha-channel'
     6055      ),
     6056      'tagName' => array(
     6057        'type' => 'string',
     6058        'enum' => array(
     6059          'hr',
     6060          'div'
     6061        ),
     6062        'default' => 'hr'
    58386063      )
    58396064    ),
     
    59186143      'isLink' => array(
    59196144        'type' => 'boolean',
    5920         'default' => true
     6145        'default' => true,
     6146        'role' => 'content'
    59216147      ),
    59226148      'linkTarget' => array(
    59236149        'type' => 'string',
    5924         'default' => '_self'
     6150        'default' => '_self',
     6151        'role' => 'content'
    59256152      ),
    59266153      'shouldSyncIcon' => array(
     
    60866313      'isLink' => array(
    60876314        'type' => 'boolean',
    6088         'default' => true
     6315        'default' => true,
     6316        'role' => 'content'
    60896317      ),
    60906318      'linkTarget' => array(
    60916319        'type' => 'string',
    6092         'default' => '_self'
     6320        'default' => '_self',
     6321        'role' => 'content'
    60936322      )
    60946323    ),
     
    61596388    'attributes' => array(
    61606389      'url' => array(
    6161         'type' => 'string'
     6390        'type' => 'string',
     6391        'role' => 'content'
    61626392      ),
    61636393      'service' => array(
     
    61656395      ),
    61666396      'label' => array(
    6167         'type' => 'string'
     6397        'type' => 'string',
     6398        'role' => 'content'
    61686399      ),
    61696400      'rel' => array(
     
    65676798        )
    65686799      ),
    6569       '__experimentalSelector' => '.wp-block-table > table',
    6570       'interactivity' => array(
    6571         'clientNavigation' => true
    6572       )
     6800      'interactivity' => array(
     6801        'clientNavigation' => true
     6802      )
     6803    ),
     6804    'selectors' => array(
     6805      'root' => '.wp-block-table > table',
     6806      'spacing' => '.wp-block-table'
    65736807    ),
    65746808    'styles' => array(
Note: See TracChangeset for help on using the changeset viewer.