Skip to content

Commit

Permalink
Add size control to sharing block (#35267)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-lysenko authored and matticbot committed Jan 29, 2024
1 parent 331d847 commit e1288a9
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This is an alpha version! The changes listed here are not final.
- Move Jetpack to the same menu position as standalone Jetpack site.
- Remove the dashboard swither for the wp-admin interface.
- Remove the dotcom warning for wp-admin in Writing and Discussion settings page
- Sharing Buttons Block: Add size controls to the block
- youtube-shortcode: Handle being given an array with a 'url' key insteadad of the URL as a string

## 13.1-a.7 - 2024-01-25
Expand Down
2 changes: 1 addition & 1 deletion _inc/blocks/editor-beta.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '4a91dc8ddecbfff08c0f');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => 'ec63998e4948ba4d20e2');
2 changes: 1 addition & 1 deletion _inc/blocks/editor-beta.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions _inc/blocks/editor-beta.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _inc/blocks/editor-beta.rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _inc/blocks/sharing-button/view.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e4a4f6cdaaaa50d11f5c');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9649e743cc514e2c74ca');
2 changes: 1 addition & 1 deletion _inc/blocks/sharing-button/view.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _inc/blocks/sharing-button/view.rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions _inc/blocks/sharing-buttons/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
"text",
"official"
]
},
"size": {
"type": "string",
"default": "has-normal-icon-size",
"validValues": [
"has-small-icon-size",
"has-normal-icon-size",
"has-large-icon-size",
"has-huge-icon-size"
]
}
},
"providesContext": {
Expand Down
2 changes: 1 addition & 1 deletion _inc/blocks/sharing-buttons/view.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'a65e7a088643b841db18');
<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'f8ba3c7177cdb3378128');
2 changes: 1 addition & 1 deletion _inc/blocks/sharing-buttons/view.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _inc/blocks/sharing-buttons/view.rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e1288a9

Please sign in to comment.