Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugin stackable-ultimate-gutenberg-blocks from 2.13.2 to 2.14.0 #33

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ registerBlockType( 'ugb/accordion', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,

deprecated,
edit,
Expand Down Expand Up @@ -61,6 +62,7 @@ registerBlockType( 'ugb/blockquote', {
anchor: true,
},
attributes: schema,
example,

deprecated,
edit,
Expand Down Expand Up @@ -100,6 +102,7 @@ registerBlockType( 'ugb/blog-posts', {
anchor: true,
},
attributes: schema,
example,

save,
edit,
Expand Down Expand Up @@ -135,6 +138,7 @@ registerBlockType( 'ugb/button', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
anchor: true,
Expand Down Expand Up @@ -201,6 +205,7 @@ registerBlockType( 'ugb/cta', {
__( 'CTA', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'wide', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -240,6 +245,7 @@ registerBlockType( 'ugb/card', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
anchor: true,
Expand Down Expand Up @@ -282,6 +288,7 @@ registerBlockType( 'ugb/columns', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,

supports: {
html: false,
Expand Down Expand Up @@ -358,6 +365,7 @@ registerBlockType( 'ugb/container', {
edit,
save,
attributes: schema,
example,

// Stackable modules.
modules: {
Expand Down Expand Up @@ -391,6 +399,7 @@ registerBlockType( 'ugb/count-up', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,

supports: {
align: [ 'center', 'wide', 'full' ],
Expand Down Expand Up @@ -432,6 +441,11 @@ registerBlockType( 'ugb/design-library', {
__( 'Stackable', i18n ),
],
attributes: schema,
example: {
attributes: {
previewMode: true,
},
},

supports: {
customClassName: false,
Expand Down Expand Up @@ -490,6 +504,7 @@ registerBlockType( 'ugb/divider', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'wide', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -541,6 +556,7 @@ registerBlockType( 'ugb/expand', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
anchor: true,
Expand Down Expand Up @@ -580,6 +596,7 @@ registerBlockType( 'ugb/feature-grid', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'wide' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -696,6 +713,7 @@ registerBlockType( 'ugb/feature', {
save,

attributes: schema,
example,

// Stackable modules.
modules: {
Expand Down Expand Up @@ -729,6 +747,7 @@ registerBlockType( 'ugb/header', {
anchor: true,
},
attributes: schema,
example,

deprecated,
edit,
Expand Down Expand Up @@ -764,6 +783,7 @@ registerBlockType( 'ugb/heading', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'wide', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -795,6 +815,7 @@ registerBlockType( 'ugb/icon-list', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
anchor: true,
Expand Down Expand Up @@ -846,6 +867,7 @@ registerBlockType( 'ugb/icon', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'wide', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand All @@ -866,7 +888,9 @@ registerBlockType( 'ugb/icon', {
'advanced-responsive': true,
'block-background': true,
'block-separators': true,
'block-title': true,
'block-title': {
marginBottomImportant: true,
},
'content-align': true,
'block-designs': true,
'custom-css': {
Expand All @@ -889,6 +913,7 @@ registerBlockType( 'ugb/image-box', {
anchor: true,
},
attributes: schema,
example,

deprecated,
edit,
Expand Down Expand Up @@ -938,6 +963,7 @@ registerBlockType( 'ugb/notification', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
anchor: true,
Expand Down Expand Up @@ -1023,6 +1049,7 @@ registerBlockType( 'ugb/number-box', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'wide', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -1061,6 +1088,7 @@ registerBlockType( 'ugb/pricing-box', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'wide' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -1160,6 +1188,7 @@ registerBlockType( 'ugb/separator', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand All @@ -1183,6 +1212,7 @@ registerBlockType( 'ugb/separator', {
horizontalContentAlign: false,
verticalContentAlign: false,
modifyStyles: false,
paddingUnits: [ 'px', 'em' ],
},
'custom-css': {
default: applyFilters( 'stackable.separator.custom-css.default', '' ),
Expand All @@ -1199,6 +1229,7 @@ registerBlockType( 'ugb/spacer', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -1263,6 +1294,7 @@ registerBlockType( 'ugb/team-member', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'wide' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -1360,6 +1392,7 @@ registerBlockType( 'ugb/testimonial', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'wide' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -1459,6 +1492,7 @@ registerBlockType( 'ugb/text', {
__( 'Stackable', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'wide', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down Expand Up @@ -1514,6 +1548,7 @@ registerBlockType( 'ugb/video-popup', {
__( 'YouTube Vimeo mp4', i18n ),
],
attributes: schema,
example,
supports: {
align: [ 'center', 'wide', 'full' ],
inserter: ! disabledBlocks.includes( name ), // Hide if disabled.
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

43 changes: 21 additions & 22 deletions plugins/stackable-ultimate-gutenberg-blocks/dist/editor_vendor.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions plugins/stackable-ultimate-gutenberg-blocks/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author: Gambit Technologies, Inc
* Author URI: http://gambit.ph
* Text Domain: stackable-ultimate-gutenberg-blocks
* Version: 2.13.2
* Version: 2.14.0
*
* @package Stackable
*/
Expand All @@ -23,7 +23,7 @@
}

defined( 'STACKABLE_SHOW_PRO_NOTICES' ) || define( 'STACKABLE_SHOW_PRO_NOTICES', true );
defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '2.13.2' );
defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '2.14.0' );
defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
defined( 'STACKABLE_I18N' ) || define( 'STACKABLE_I18N', 'stackable-ultimate-gutenberg-blocks' );
// Plugin slug.
Expand Down
32 changes: 30 additions & 2 deletions plugins/stackable-ultimate-gutenberg-blocks/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: bfintal, gambitph, freemius
Tags: blocks, gutenberg, gutenberg blocks, page builder, WordPress blocks
Requires at least: 5.4
Tested up to: 5.6
Tested up to: 5.6.1
Requires PHP: 5.3
Stable tag: 2.13.2
Stable tag: 2.14.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -110,6 +110,7 @@ Optimize your website’s performance, and get lightning fast page loading and m

### News Article Updates

- [v2.14 Copy and Paste Block Styles](https://wpstackable.com/blog/copy-and-paste-block-styles/?utm_source=wp-repo&utm_campaign=readme&utm_medium=link)
- [v2.13 UI Kits, Borders & Improved Performance](https://wpstackable.com/blog/ui-kits-borders/?utm_source=wp-repo&utm_campaign=readme&utm_medium=link)
- [v2.12 Better User Interface and User Experience](https://wpstackable.com/blog/better-user-interface-and-user-experience/?utm_source=wp-repo&utm_campaign=readme&utm_medium=link)
- [v2.11 Introducing Global Colors and Global Typography](https://wpstackable.com/blog/global-colors-and-global-typography/?utm_source=wp-repo&utm_campaign=readme&utm_medium=link)
Expand Down Expand Up @@ -193,6 +194,33 @@ Nope. Stackable only works with Gutenberg, the new WordPress editor.

== Changelog ==

= 2.14.0 =
[Copy and Paste Block Styles](https://wpstackable.com/blog/copy-and-paste-block-styles/?utm_source=wp-repo&utm_campaign=readme&utm_medium=link)

* New: You can now copy and paste Stackable and native block styles! (premium)
* New: Added block previews
* Fixed: Feature Grid block container image is always set to cover
* Fixed: Removed inapplicable margin/padding unit in separators
* Fixed: Accordion text content can be a bit blurry
* Fixed: Don't enqueue blank Google Fonts in Global Settings
* Fixed: Expand block text color doesn't apply in backend
* Fixed: Icon block, title alignment in tablet and mobile did not apply
* Fixed: Auto block recovery should not affect v1 blocks
* Fixed: Margins of the Icon block title won't apply

= 2.13.4 =
* Fixed: Issue with styling duplicated blocks
* Fixed: Accordion block migration error
* Fixed: Google Fonts possible enqueueing issue

= 2.13.3 =
* New: You can now select titles to use Pargraph tags instead of H1-H6
* Fixed: Can't convert reusable blocks to regular blocks
* Fixed: Some inspector style conflicts
* Fixed: Nested Accordion block arrows did not rotate when opened
* Fixed: Feature Grid image shape for the column is now working
* Fixed: Clicking on the default quote icon in the Blockquote block

= 2.13.2 =
* Fixed: Accordion SEO issue with heading levels
* Fixed: Blocks didn't re-render when some props changed
Expand Down
4 changes: 3 additions & 1 deletion plugins/stackable-ultimate-gutenberg-blocks/src/fonts.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public static function enqueue_google_fonts( $google_fonts, $handle = 'stackable
}

foreach ( $google_fonts as &$font ) {
$font = str_replace( ' ', '+', $font ) . ':100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic';
if ( ! empty( $font ) ) {
$font = str_replace( ' ', '+', $font ) . ':100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic';
}
}

$fonts_url = sprintf( 'https://fonts.googleapis.com/css?family=%s', implode( rawurlencode( '|' ), $google_fonts ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ public function typography_add_global_styles() {

// Gather the Google Fonts.
if ( array_key_exists( 'fontFamily', $styles ) ) {
if ( Stackable_Google_Fonts::is_web_font( $styles['fontFamily'] ) ) {
if ( Stackable_Google_Fonts::is_web_font( $styles['fontFamily'] ) && ! empty( $styles['fontFamily'] ) ) {
if ( ! in_array( $styles['fontFamily'], $google_fonts ) ) {
$google_fonts[] = $styles['fontFamily'];
}
Expand All @@ -462,7 +462,9 @@ public function typography_add_global_styles() {
}

// Load the Google Font.
Stackable_Google_Fonts::enqueue_google_fonts( $google_fonts, 'stackable-global-typography-google-fonts' );
if ( ! empty( $google_fonts ) ) {
Stackable_Google_Fonts::enqueue_google_fonts( $google_fonts, 'stackable-global-typography-google-fonts' );
}

if ( count( $css ) ) {
$this->generated_typography_css = true;
Expand Down