Skip to content

Commit

Permalink
Merge pull request #743 from tomusborne/release/1.7.0
Browse files Browse the repository at this point in the history
Release: 1.7.0
  • Loading branch information
tomusborne authored Feb 21, 2023
2 parents 6cb047d + 9d3fc86 commit 88590c3
Show file tree
Hide file tree
Showing 224 changed files with 14,233 additions and 10,904 deletions.
4 changes: 4 additions & 0 deletions assets/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
fill: #006eb7;
}

.gblocks-block svg path:first-child {
fill: none;
}

.gblocks-block > *:last-child {
margin-bottom: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/blocks.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => '2621a2be94ece6e8e748da3efcd2ac0d');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => '3f9fed44ddc284b43582');
28 changes: 16 additions & 12 deletions dist/blocks.css

Large diffs are not rendered by default.

35 changes: 18 additions & 17 deletions dist/blocks.js

Large diffs are not rendered by default.

247 changes: 125 additions & 122 deletions dist/blocks/image/block.json
Original file line number Diff line number Diff line change
@@ -1,123 +1,126 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "generateblocks/image",
"title": "Image",
"category": "generateblocks",
"description": "Add images to your content to make a visual statement.",
"textdomain": "generateblocks",
"attributes": {
"uniqueId": {
"type": "string"
},
"mediaId": {
"type": "number"
},
"mediaUrl": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "src"
},
"alt": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "alt"
},
"title": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "title"
},
"href": {
"type": "string",
"source": "attribute",
"selector": "figure > a",
"attribute": "href"
},
"openInNewWindow": {
"type": "boolean",
"default": false
},
"relNoFollow": {
"type": "boolean",
"default": false
},
"relSponsored": {
"type": "boolean",
"default": false
},
"sizeSlug": {
"type": "string",
"default": ""
},
"width": {
"type": "string",
"default": ""
},
"widthTablet": {
"type": "string",
"default": ""
},
"widthMobile": {
"type": "string",
"default": ""
},
"height": {
"type": "string",
"default": ""
},
"heightTablet": {
"type": "string",
"default": ""
},
"heightMobile": {
"type": "string",
"default": ""
},
"objectFit": {
"type": "string",
"default": ""
},
"objectFitTablet": {
"type": "string",
"default": ""
},
"objectFitMobile": {
"type": "string",
"default": ""
},
"borderColor": {
"type": "string",
"default": ""
},
"anchor": {
"type": "string",
"default": ""
},
"align": {
"type": "string",
"default": ""
},
"alignment": {
"type": "string",
"default": ""
},
"alignmentTablet": {
"type": "string",
"default": ""
},
"alignmentMobile": {
"type": "string",
"default": ""
}
},
"usesContext": [ "postId", "postType" ],
"supports": {
"className": false,
"customClassName": true,
"html": false
}
}
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "generateblocks/image",
"title": "Image",
"category": "generateblocks",
"description": "Add images to your content to make a visual statement.",
"textdomain": "generateblocks",
"attributes": {
"uniqueId": {
"type": "string"
},
"mediaId": {
"type": "number"
},
"mediaUrl": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "src"
},
"alt": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "alt"
},
"title": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "title"
},
"href": {
"type": "string",
"source": "attribute",
"selector": "figure > a",
"attribute": "href"
},
"openInNewWindow": {
"type": "boolean",
"default": false
},
"relNoFollow": {
"type": "boolean",
"default": false
},
"relSponsored": {
"type": "boolean",
"default": false
},
"sizeSlug": {
"type": "string",
"default": ""
},
"width": {
"type": "string",
"default": ""
},
"widthTablet": {
"type": "string",
"default": ""
},
"widthMobile": {
"type": "string",
"default": ""
},
"height": {
"type": "string",
"default": ""
},
"heightTablet": {
"type": "string",
"default": ""
},
"heightMobile": {
"type": "string",
"default": ""
},
"objectFit": {
"type": "string",
"default": ""
},
"objectFitTablet": {
"type": "string",
"default": ""
},
"objectFitMobile": {
"type": "string",
"default": ""
},
"borderColor": {
"type": "string",
"default": ""
},
"anchor": {
"type": "string",
"default": ""
},
"align": {
"type": "string",
"default": ""
},
"alignment": {
"type": "string",
"default": ""
},
"alignmentTablet": {
"type": "string",
"default": ""
},
"alignmentMobile": {
"type": "string",
"default": ""
}
},
"usesContext": [
"postId",
"postType"
],
"supports": {
"className": false,
"customClassName": true,
"html": false
}
}
2 changes: 1 addition & 1 deletion dist/dashboard.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '551e3d143f029d8e2c7f46ff8da2d7de');
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '4ecdd0b2694dfaa4f297');
2 changes: 1 addition & 1 deletion dist/dashboard.js

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

7 changes: 7 additions & 0 deletions includes/blocks/class-button-container.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ public static function get_css_data( $attributes ) {
$css->add_property( 'justify-content', 'flex-start' );
$css->add_property( 'clear', 'both' );

do_action(
'generateblocks_block_one_time_css_data',
'button-container',
$settings,
$css
);

self::$singular_css_added = true;
}

Expand Down
Loading

0 comments on commit 88590c3

Please sign in to comment.