Make WordPress Core

Changeset 50467


Ignore:
Timestamp:
03/02/2021 12:44:06 AM (4 years ago)
Author:
noisysocks
Message:

Editor: Update @wordpress npm packages

Update @wordpress npm packages to the latest published versions. This includes
block editor bug fixes for WordPress 5.7 RC 2.

Fixes #52680.

Location:
branches/5.7
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7/package-lock.json

    r50416 r50467  
    28592859        },
    28602860        "@wordpress/block-directory": {
    2861             "version": "1.18.8",
    2862             "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-1.18.8.tgz",
    2863             "integrity": "sha512-TJBO2xDONJ5v0VFhdrkPRR27zqBm0nLssgTGoslgv1oQxRyVDKsdBKIz//RITLKIfyii9dtXzc+uwFHrMeLDpQ==",
     2861            "version": "1.18.9",
     2862            "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-1.18.9.tgz",
     2863            "integrity": "sha512-ePslAZYsYc4jsZ5XF0lD0I6vyb1NV/KC6SZfdfKtfN9e2G8gl5JACgmkrNZZAbkzgzRad6TzYGyaQFqRHazZxA==",
    28642864            "requires": {
    28652865                "@babel/runtime": "^7.12.5",
    28662866                "@wordpress/a11y": "^2.14.3",
    28672867                "@wordpress/api-fetch": "^3.21.5",
    2868                 "@wordpress/block-editor": "^5.2.8",
    2869                 "@wordpress/blocks": "^7.0.4",
     2868                "@wordpress/block-editor": "^5.2.9",
     2869                "@wordpress/blocks": "^7.0.5",
    28702870                "@wordpress/components": "^12.0.7",
    28712871                "@wordpress/compose": "^3.24.4",
    28722872                "@wordpress/data": "^4.26.7",
    28732873                "@wordpress/data-controls": "^1.20.7",
    2874                 "@wordpress/edit-post": "^3.26.8",
     2874                "@wordpress/edit-post": "^3.26.9",
    28752875                "@wordpress/element": "^2.19.1",
    28762876                "@wordpress/hooks": "^2.11.1",
     
    28852885        },
    28862886        "@wordpress/block-editor": {
    2887             "version": "5.2.8",
    2888             "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-5.2.8.tgz",
    2889             "integrity": "sha512-5VB5JNd4Y2G3R476Xjvt6JpSWzY69g+wxG/Ut1MYovKqyEO4LF3uLaoOLoP7SxET1ast8yKFDmPaAQj2X11F2w==",
     2887            "version": "5.2.9",
     2888            "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-5.2.9.tgz",
     2889            "integrity": "sha512-nkJrpAGGFgxIOD2Q9J0+qsFKMkS04LFs5A0IRziqyYWW6fXqdvVC2oHfKT8c16s5yZcWXuZGasbY8md4ItbPEA==",
    28902890            "requires": {
    28912891                "@babel/runtime": "^7.12.5",
    28922892                "@wordpress/a11y": "^2.14.3",
    28932893                "@wordpress/blob": "^2.12.1",
    2894                 "@wordpress/blocks": "^7.0.4",
     2894                "@wordpress/blocks": "^7.0.5",
    28952895                "@wordpress/components": "^12.0.7",
    28962896                "@wordpress/compose": "^3.24.4",
     
    29302930        },
    29312931        "@wordpress/block-library": {
    2932             "version": "2.28.5",
    2933             "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.28.5.tgz",
    2934             "integrity": "sha512-+94cCLPXL6pBcjn/WydtybGuaxPbPKVAjt0VP5jw+Lmn2N7u4LpnyDc1VLBI1ZHuHB4dJMcjOM+pXWXIiSlm8w==",
     2932            "version": "2.28.6",
     2933            "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.28.6.tgz",
     2934            "integrity": "sha512-9Iw7S6VS5tn15g4XhDujy9Ebf5O31XQwJh/lyJAklD0Z9SMS48ADBugWmzcX6ro4gPW4XwXgO+ri76YAku6L1Q==",
    29352935            "requires": {
    29362936                "@babel/runtime": "^7.12.5",
     
    29392939                "@wordpress/autop": "^2.11.1",
    29402940                "@wordpress/blob": "^2.12.1",
    2941                 "@wordpress/block-editor": "^5.2.8",
    2942                 "@wordpress/blocks": "^7.0.4",
     2941                "@wordpress/block-editor": "^5.2.9",
     2942                "@wordpress/blocks": "^7.0.5",
    29432943                "@wordpress/components": "^12.0.7",
    29442944                "@wordpress/compose": "^3.24.4",
    2945                 "@wordpress/core-data": "^2.25.7",
     2945                "@wordpress/core-data": "^2.25.8",
    29462946                "@wordpress/data": "^4.26.7",
    29472947                "@wordpress/date": "^3.13.1",
    29482948                "@wordpress/deprecated": "^2.11.1",
    29492949                "@wordpress/dom": "^2.16.2",
    2950                 "@wordpress/editor": "^9.25.8",
     2950                "@wordpress/editor": "^9.25.9",
    29512951                "@wordpress/element": "^2.19.1",
    29522952                "@wordpress/escape-html": "^1.11.1",
     
    29582958                "@wordpress/notices": "^2.12.7",
    29592959                "@wordpress/primitives": "^1.11.1",
    2960                 "@wordpress/reusable-blocks": "^1.1.8",
     2960                "@wordpress/reusable-blocks": "^1.1.9",
    29612961                "@wordpress/rich-text": "^3.24.7",
    29622962                "@wordpress/server-side-render": "^1.20.7",
     
    29812981        },
    29822982        "@wordpress/blocks": {
    2983             "version": "7.0.4",
    2984             "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-7.0.4.tgz",
    2985             "integrity": "sha512-+ojuo+MZRjpbjNWiDtGz9uhcdKefxzcV9c+MArb3HyXUI1ch68+5Ac2SXO5yNsfZXuyfftmHMENArYSGlud86Q==",
     2983            "version": "7.0.5",
     2984            "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-7.0.5.tgz",
     2985            "integrity": "sha512-WgCltvRDosMJwFLvOCD6xuo5zV7e10nrpxeB02XINJ+4ssrxEOiCKGhxla7oU+LCzyefO6PiBnvlr+0ugU3YVw==",
    29862986            "requires": {
    29872987                "@babel/runtime": "^7.12.5",
     
    30853085        },
    30863086        "@wordpress/core-data": {
    3087             "version": "2.25.7",
    3088             "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.25.7.tgz",
    3089             "integrity": "sha512-5Jps44hE/v2oZQZbMwCu9uO5W8szi7PFiGd+N4eDlasMyVGuEE8r52ZHCWknlL7srx9vFKH++F9fsftGV2Eeqg==",
     3087            "version": "2.25.8",
     3088            "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.25.8.tgz",
     3089            "integrity": "sha512-ApoeaeW2wQMP1lVXKSnzpKna+lZyLT8iOuSJNeLGvSJnHwv5UMYJTqNHuDeouHEtdTZ/8IrNu9IcRYQrXy5LHA==",
    30903090            "requires": {
    30913091                "@babel/runtime": "^7.12.5",
    30923092                "@wordpress/api-fetch": "^3.21.5",
    3093                 "@wordpress/blocks": "^7.0.4",
     3093                "@wordpress/blocks": "^7.0.5",
    30943094                "@wordpress/data": "^4.26.7",
    30953095                "@wordpress/data-controls": "^1.20.7",
     
    32243224        },
    32253225        "@wordpress/edit-post": {
    3226             "version": "3.26.8",
    3227             "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.26.8.tgz",
    3228             "integrity": "sha512-hR1RcIm8wcYXi7blFUXDOJk5z3072cA7LZoLWrHfw9Y0+3cGv8h8uOofGsH69cckBTgk8PsA1WMLGuGwBI7zBA==",
     3226            "version": "3.26.9",
     3227            "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.26.9.tgz",
     3228            "integrity": "sha512-MFC49QmFrtGFWbiJgTwO9/k5auJjTGy3TB1S7RTGjS2KnFhw4Iv//utBDdpNrP5b8wdUy4G+ChBC9MAZg6d3GA==",
    32293229            "requires": {
    32303230                "@babel/runtime": "^7.12.5",
    32313231                "@wordpress/a11y": "^2.14.3",
    32323232                "@wordpress/api-fetch": "^3.21.5",
    3233                 "@wordpress/block-editor": "^5.2.8",
    3234                 "@wordpress/block-library": "^2.28.5",
    3235                 "@wordpress/blocks": "^7.0.4",
     3233                "@wordpress/block-editor": "^5.2.9",
     3234                "@wordpress/block-library": "^2.28.6",
     3235                "@wordpress/blocks": "^7.0.5",
    32363236                "@wordpress/components": "^12.0.7",
    32373237                "@wordpress/compose": "^3.24.4",
    3238                 "@wordpress/core-data": "^2.25.7",
     3238                "@wordpress/core-data": "^2.25.8",
    32393239                "@wordpress/data": "^4.26.7",
    32403240                "@wordpress/data-controls": "^1.20.7",
    3241                 "@wordpress/editor": "^9.25.8",
     3241                "@wordpress/editor": "^9.25.9",
    32423242                "@wordpress/element": "^2.19.1",
    32433243                "@wordpress/hooks": "^2.11.1",
     
    32623262        },
    32633263        "@wordpress/editor": {
    3264             "version": "9.25.8",
    3265             "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.25.8.tgz",
    3266             "integrity": "sha512-3jSt0jej8VDA+jJO5u4olVnUMU6lo49Y+T3P2Zv7gsOCHITUrexV7jCd+dn/LT1vpujrIXkZSnlvrUvaSEZY2A==",
     3264            "version": "9.25.9",
     3265            "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.25.9.tgz",
     3266            "integrity": "sha512-50iAdA0sdDm/EUxvGfIj1DkXWnaFgxO69Qtyj3y7mzv/WWgxDl1IZREs1PFCIUTt43p1c0J6Uh7/+qkgB6oxaQ==",
    32673267            "requires": {
    32683268                "@babel/runtime": "^7.12.5",
     
    32703270                "@wordpress/autop": "^2.11.1",
    32713271                "@wordpress/blob": "^2.12.1",
    3272                 "@wordpress/block-editor": "^5.2.8",
    3273                 "@wordpress/blocks": "^7.0.4",
     3272                "@wordpress/block-editor": "^5.2.9",
     3273                "@wordpress/blocks": "^7.0.5",
    32743274                "@wordpress/components": "^12.0.7",
    32753275                "@wordpress/compose": "^3.24.4",
    3276                 "@wordpress/core-data": "^2.25.7",
     3276                "@wordpress/core-data": "^2.25.8",
    32773277                "@wordpress/data": "^4.26.7",
    32783278                "@wordpress/data-controls": "^1.20.7",
     
    32893289                "@wordpress/media-utils": "^1.19.5",
    32903290                "@wordpress/notices": "^2.12.7",
    3291                 "@wordpress/reusable-blocks": "^1.1.8",
     3291                "@wordpress/reusable-blocks": "^1.1.9",
    32923292                "@wordpress/rich-text": "^3.24.7",
    32933293                "@wordpress/server-side-render": "^1.20.7",
     
    33763376        },
    33773377        "@wordpress/format-library": {
    3378             "version": "1.26.8",
    3379             "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.26.8.tgz",
    3380             "integrity": "sha512-40zZPaLua5VhHU+Oq2HpXnWScE0ftyyjB1HGVKXsIXRhisJg6GgzaZopF+JDVtvDwVdLC5uLlr4Hc9Fnt4NsUQ==",
     3378            "version": "1.26.9",
     3379            "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.26.9.tgz",
     3380            "integrity": "sha512-PSQ/Ar5MSdcH73NaIJlp92ovyBexjnmFCS9jxIvi26JJOInOkmRZcpdHJ/Z6AoZwPykB+JjmJuEU+xNeikVukQ==",
    33813381            "requires": {
    33823382                "@babel/runtime": "^7.12.5",
    33833383                "@wordpress/a11y": "^2.14.3",
    3384                 "@wordpress/block-editor": "^5.2.8",
     3384                "@wordpress/block-editor": "^5.2.9",
    33853385                "@wordpress/components": "^12.0.7",
    33863386                "@wordpress/compose": "^3.24.4",
     
    36713671        },
    36723672        "@wordpress/reusable-blocks": {
    3673             "version": "1.1.8",
    3674             "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-1.1.8.tgz",
    3675             "integrity": "sha512-8XoGXz0TOs+wfgl+tNOns/uaJJ+vzxJvchRuQU1UItkNi+WcGPDd6xf5cHQzGWzY5XeRFYaYrokTZQH/ss8p6g==",
    3676             "requires": {
    3677                 "@wordpress/block-editor": "^5.2.8",
    3678                 "@wordpress/blocks": "^7.0.4",
     3673            "version": "1.1.9",
     3674            "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-1.1.9.tgz",
     3675            "integrity": "sha512-/yH+PdzmhcroVd8IFTjwSma2w3cbAE8/fQm5uVKr22taT9ii7qhfl8iJfXf+m+L3FMSE7MD/pKJZ3fNG7Rw7vA==",
     3676            "requires": {
     3677                "@wordpress/block-editor": "^5.2.9",
     3678                "@wordpress/blocks": "^7.0.5",
    36793679                "@wordpress/components": "^12.0.7",
    36803680                "@wordpress/compose": "^3.24.4",
    3681                 "@wordpress/core-data": "^2.25.7",
     3681                "@wordpress/core-data": "^2.25.8",
    36823682                "@wordpress/data": "^4.26.7",
    36833683                "@wordpress/element": "^2.19.1",
  • branches/5.7/package.json

    r50457 r50467  
    8585        "@wordpress/autop": "2.11.1",
    8686        "@wordpress/blob": "2.12.1",
    87         "@wordpress/block-directory": "1.18.8",
    88         "@wordpress/block-editor": "5.2.8",
    89         "@wordpress/block-library": "2.28.5",
     87        "@wordpress/block-directory": "1.18.9",
     88        "@wordpress/block-editor": "5.2.9",
     89        "@wordpress/block-library": "2.28.6",
    9090        "@wordpress/block-serialization-default-parser": "3.9.1",
    91         "@wordpress/blocks": "7.0.4",
     91        "@wordpress/blocks": "7.0.5",
    9292        "@wordpress/components": "12.0.7",
    9393        "@wordpress/compose": "3.24.4",
    94         "@wordpress/core-data": "2.25.7",
     94        "@wordpress/core-data": "2.25.8",
    9595        "@wordpress/data": "4.26.7",
    9696        "@wordpress/data-controls": "1.20.7",
     
    9999        "@wordpress/dom": "2.16.2",
    100100        "@wordpress/dom-ready": "2.12.1",
    101         "@wordpress/edit-post": "3.26.8",
    102         "@wordpress/editor": "9.25.8",
     101        "@wordpress/edit-post": "3.26.9",
     102        "@wordpress/editor": "9.25.9",
    103103        "@wordpress/element": "2.19.1",
    104104        "@wordpress/escape-html": "1.11.1",
    105         "@wordpress/format-library": "1.26.8",
     105        "@wordpress/format-library": "1.26.9",
    106106        "@wordpress/hooks": "2.11.1",
    107107        "@wordpress/html-entities": "2.10.1",
     
    119119        "@wordpress/priority-queue": "1.10.1",
    120120        "@wordpress/redux-routine": "3.13.1",
    121         "@wordpress/reusable-blocks": "1.1.8",
     121        "@wordpress/reusable-blocks": "1.1.9",
    122122        "@wordpress/rich-text": "3.24.7",
    123123        "@wordpress/server-side-render": "1.20.7",
  • branches/5.7/src/wp-includes/assets/script-loader-packages.php

    r50400 r50467  
    1 <?php return array('a11y.js' => array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '3d65a2b0e4dd8e5d0910ccf21d7a4560'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '79f738bcbbed3bb14952928eaa00dfe5'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'd2b6a025819ad8208c1b274a36609d3b'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '46344923664714dbd8b729a8e45156f8'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '72222aa8da2b1686a4f3ff592e15ff3b'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '7c632bb9e8f42020a8f6faf1bbe78189'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-wordcount'), 'version' => 'c9804a10bb2166604d42cbb86750d50b'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '7b985c2d1f0db11e3f603ecdbf9e50cc'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'd7f227adbbfd6d572c13e978b02a0c1b'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => 'cf9a5b4c4b1cbf1426466db104c4ba15'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '118f030689ee9c13f99971bf11a98e84'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => 'af797491871db1304f90350d099a91c2'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'aede82e836ad96c5da78b33726ba0200'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'bb6156027227357c5144f2ce79e44898'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '66cae8f9d16ae3d95f20e0293c854e07'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '09c6df655145d6afaf482b0189346178'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'a357bf9043352328db51898ba95ba577'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '532b537bde7ef88298ca471ebdb0dab7'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a6586b64552c9c6924b8093e9ef4f74e'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '12faa2fac0693518c5014477c85602a9'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '16283649339803230b71f4a09e6375a2'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'e303eef732dc2e9cd184f99edbdf0718'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '11a9ed20aa0e5b49a24e416455d2311e'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '9659c1250fe57267a58f515cd6be4d2c'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a87162d1d1d85315469fd50cf6cdf719'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5f0f2fc8f6cde41ab343549aa0b50183'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'c7d029d5a62250e1766ab5b0ed1d85f5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fe40c677e873194b3edb895c13f6f925'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'dc3c07735b6f3714460244bbb75dbbb3'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'd0d1ad750ba4fba87563fd335b18503f'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e5e916e1168f00c6dd3a7a86fd4a8f03'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '02ad50a61fac438c77e3cbfff0c59f11'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'cecb3afc20c05900c1d7d3138f8dd402'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'a179978e1113c736bc5f9ed0880125dc'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '33a2837df2c275e8e733af1ed03a22e7'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'bb66102b2a31b6dc6e8290d236ecad64'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '61fc9b8c45afe763799612e733d04e5d'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '33a44623489eaa8d30939e9819134a90'), 'reusable-blocks.js' => array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'd8439e9f0d9a264cb4387ef8c7518739'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => '76bd61e80e968fb2ab1ef4062f63dc44'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '5d2c2ba50c9fa1f13a4c80bc64bac7f9'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '52c3ddfa4f24d3398dbdbd7a3961a44f'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '689e952535e84d8c2aaacf18c3558dd7'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '52e8fcfbf62fea3cb7bce8453d6a41a8'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'da553959200b02499cb31e9fab28985f'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '202ac16e99afe7c33c257b248625a947'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e28e72fe639512e55d7cbca06d6470a7'));
     1<?php return array('a11y.js' => array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '3d65a2b0e4dd8e5d0910ccf21d7a4560'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '79f738bcbbed3bb14952928eaa00dfe5'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'd2b6a025819ad8208c1b274a36609d3b'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '46344923664714dbd8b729a8e45156f8'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '72222aa8da2b1686a4f3ff592e15ff3b'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '7c632bb9e8f42020a8f6faf1bbe78189'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-wordcount'), 'version' => 'c9804a10bb2166604d42cbb86750d50b'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'fc3c0b2100ee40ac7e38a10cc4a42969'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'd7f227adbbfd6d572c13e978b02a0c1b'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => 'db55cd049feee0c51bd447624923c8b3'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '118f030689ee9c13f99971bf11a98e84'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => 'af797491871db1304f90350d099a91c2'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'aede82e836ad96c5da78b33726ba0200'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'bb6156027227357c5144f2ce79e44898'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '66cae8f9d16ae3d95f20e0293c854e07'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '09c6df655145d6afaf482b0189346178'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'a357bf9043352328db51898ba95ba577'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '532b537bde7ef88298ca471ebdb0dab7'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a6586b64552c9c6924b8093e9ef4f74e'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '12faa2fac0693518c5014477c85602a9'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => 'e871dd5ade5c91df63ecd8779729d0ff'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'e303eef732dc2e9cd184f99edbdf0718'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '11a9ed20aa0e5b49a24e416455d2311e'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '9659c1250fe57267a58f515cd6be4d2c'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a87162d1d1d85315469fd50cf6cdf719'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5f0f2fc8f6cde41ab343549aa0b50183'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'c7d029d5a62250e1766ab5b0ed1d85f5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fe40c677e873194b3edb895c13f6f925'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'dc3c07735b6f3714460244bbb75dbbb3'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'd0d1ad750ba4fba87563fd335b18503f'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e5e916e1168f00c6dd3a7a86fd4a8f03'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '02ad50a61fac438c77e3cbfff0c59f11'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'cecb3afc20c05900c1d7d3138f8dd402'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'a179978e1113c736bc5f9ed0880125dc'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '33a2837df2c275e8e733af1ed03a22e7'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'bb66102b2a31b6dc6e8290d236ecad64'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '61fc9b8c45afe763799612e733d04e5d'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '33a44623489eaa8d30939e9819134a90'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '99a5fb1b4f996bfdbe634ec7738cdb4e'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => '76bd61e80e968fb2ab1ef4062f63dc44'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '5d2c2ba50c9fa1f13a4c80bc64bac7f9'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '52c3ddfa4f24d3398dbdbd7a3961a44f'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '689e952535e84d8c2aaacf18c3558dd7'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '52e8fcfbf62fea3cb7bce8453d6a41a8'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'da553959200b02499cb31e9fab28985f'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '202ac16e99afe7c33c257b248625a947'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e28e72fe639512e55d7cbca06d6470a7'));
  • branches/5.7/src/wp-includes/blocks/social-link.php

    r50137 r50467  
    3434
    3535    $icon               = block_core_social_link_get_icon( $service );
    36     $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'wp-social-link wp-social-link-' . $service . $class_name ) );
     36    $wrapper_attributes = get_block_wrapper_attributes(
     37        array(
     38            'class' => 'wp-social-link wp-social-link-' . $service . $class_name,
     39            'style' => block_core_social_link_get_color_styles( $block->context ),
     40        )
     41    );
    3742
    3843    return '<li ' . $wrapper_attributes . '><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '" ' . $attribute . ' class="wp-block-social-link-anchor"> ' . $icon . '</a></li>';
     
    281286    return $services_data;
    282287}
     288
     289/**
     290 * Returns CSS styles for icon and icon background colors.
     291 *
     292 * @param array $context Block context passed to Social Link.
     293 *
     294 * @return string Inline CSS styles for link's icon and background colors.
     295 */
     296function block_core_social_link_get_color_styles( $context ) {
     297    $styles = array();
     298
     299    if ( array_key_exists( 'iconColorValue', $context ) ) {
     300        $styles[] = 'color: ' . $context['iconColorValue'] . '; ';
     301    }
     302
     303    if ( array_key_exists( 'iconBackgroundColorValue', $context ) ) {
     304        $styles[] = 'background-color: ' . $context['iconBackgroundColorValue'] . '; ';
     305    }
     306
     307    return implode( '', $styles );
     308}
  • branches/5.7/src/wp-includes/blocks/social-link/block.json

    r50048 r50467  
    1818    },
    1919    "usesContext": [
    20         "openInNewTab"
     20        "openInNewTab",
     21        "iconColorValue",
     22        "iconBackgroundColorValue"
    2123    ],
    2224    "supports": {
  • branches/5.7/src/wp-includes/blocks/social-links/block.json

    r50137 r50467  
    3131    },
    3232    "providesContext": {
    33         "openInNewTab": "openInNewTab"
     33        "openInNewTab": "openInNewTab",
     34        "iconColorValue": "iconColorValue",
     35        "iconBackgroundColorValue": "iconBackgroundColorValue"
    3436    },
    3537    "supports": {
Note: See TracChangeset for help on using the changeset viewer.