Skip to content

Commit

Permalink
22.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Nov 21, 2024
1 parent b78f10b commit c2091cd
Show file tree
Hide file tree
Showing 29 changed files with 93 additions and 10 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*** Changelog ***

= 22.2.4 =
* [Items:Banner] Fixed a bug that could cause the image aspect ratio setting to be reset.

= 22.2.3 =
* [Tabs] Fixed an issue where unnecessary space was sometimes created at the bottom of tab blocks depending on the content of the hidden block.

Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: inc2734, mayukojpn, livevalue, kmix39, kngsmym, kokuboyuki, richaber, witch_doktor, rocketmartue, kutsu, toru
Donate link: https://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
Tags: gutenberg, block, blocks, editor, gutenberg blocks
Stable tag: 22.2.3
Stable tag: 22.2.4
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.4
Expand Down
2 changes: 1 addition & 1 deletion snow-monkey-blocks.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin name: Snow Monkey Blocks
* Version: 22.2.3
* Version: 22.2.4
* Description: Gutenberg blocks collection made by MonkeyWrench.
* Author: inc2734
* Author URI: https://2inc.org
Expand Down
1 change: 1 addition & 0 deletions src/blocks/box/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __( 'Opacity', 'snow-monkey-blocks' ) }
value={ opacity }
onChange={ ( value ) =>
Expand Down
1 change: 1 addition & 0 deletions src/blocks/categories-list/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export default function ( { attributes, setAttributes, className } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Categories list articles',
'snow-monkey-blocks'
Expand Down
3 changes: 2 additions & 1 deletion src/blocks/child-pages/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Autoplay Speed in seconds',
'snow-monkey-blocks'
Expand Down Expand Up @@ -512,6 +513,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
className="spacing-sizes-control"
>
<RangeControl
__nextHasNoMarginBottom
className="spacing-sizes-control__range-control"
value={
gapOptions.filter(
Expand Down Expand Up @@ -541,7 +543,6 @@ export default function ( { attributes, setAttributes, clientId } ) {
?.label?.toUpperCase()
}
hideLabelFromVision
__nextHasNoMarginBottom
/>
</BaseControl>
</ToolsPanelItem>
Expand Down
1 change: 1 addition & 0 deletions src/blocks/evaluation-star/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __( 'Evaluation', 'snow-monkey-blocks' ) }
help={ __(
'Five-grade evaluation',
Expand Down
4 changes: 4 additions & 0 deletions src/blocks/grid/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
}
>
<BaseControl
__nextHasNoMarginBottom
label="grid-template-columns"
className="smb-toggle-group-control"
id="snow-monkey-blocks/grid/grid-template-columns"
Expand Down Expand Up @@ -172,6 +173,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
>
{ 'columns' === columnsOption && (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Columns count',
'snow-monkey-blocks'
Expand Down Expand Up @@ -263,6 +265,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
}
>
<BaseControl
__nextHasNoMarginBottom
label="grid-template-rows"
className="smb-toggle-group-control"
id="snow-monkey-blocks/grid/grid-template-rows"
Expand Down Expand Up @@ -304,6 +307,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
>
{ 'rows' === rowsOption && (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Rows count',
'snow-monkey-blocks'
Expand Down
11 changes: 11 additions & 0 deletions src/blocks/hero-header/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Number of columns in grid',
'snow-monkey-blocks'
Expand Down Expand Up @@ -396,6 +397,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Number of rows in grid',
'snow-monkey-blocks'
Expand Down Expand Up @@ -676,6 +678,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid column: start',
'snow-monkey-blocks'
Expand Down Expand Up @@ -716,6 +719,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid column: end',
'snow-monkey-blocks'
Expand Down Expand Up @@ -756,6 +760,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid row: start',
'snow-monkey-blocks'
Expand Down Expand Up @@ -796,6 +801,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid row: end',
'snow-monkey-blocks'
Expand Down Expand Up @@ -857,6 +863,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __( 'Opacity', 'snow-monkey-blocks' ) }
value={ Number(
( 1 - maskOpacity ).toFixed( 1 )
Expand Down Expand Up @@ -1065,6 +1072,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid column: start',
'snow-monkey-blocks'
Expand Down Expand Up @@ -1097,6 +1105,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid column: end',
'snow-monkey-blocks'
Expand Down Expand Up @@ -1129,6 +1138,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid row: start',
'snow-monkey-blocks'
Expand Down Expand Up @@ -1160,6 +1170,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Grid row: end',
'snow-monkey-blocks'
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/information/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
className="spacing-sizes-control"
>
<RangeControl
__nextHasNoMarginBottom
className="spacing-sizes-control__range-control"
value={
paddingOptions.filter(
Expand Down Expand Up @@ -420,7 +421,6 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
?.label?.toUpperCase()
}
hideLabelFromVision
__nextHasNoMarginBottom
withReset
/>
</BaseControl>
Expand Down
5 changes: 4 additions & 1 deletion src/blocks/items/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
<ResponsiveTabPanel
desktop={ () => (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Columns per row (Large window)',
'snow-monkey-blocks'
Expand All @@ -215,6 +216,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
) }
tablet={ () => (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Columns per row (Medium window)',
'snow-monkey-blocks'
Expand All @@ -231,6 +233,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
) }
mobile={ () => (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Columns per row (Small window)',
'snow-monkey-blocks'
Expand Down Expand Up @@ -272,6 +275,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
className="spacing-sizes-control"
>
<RangeControl
__nextHasNoMarginBottom
className="spacing-sizes-control__range-control"
value={
gapOptions.filter(
Expand Down Expand Up @@ -303,7 +307,6 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
?.label?.toUpperCase()
}
hideLabelFromVision
__nextHasNoMarginBottom
/>
</BaseControl>
</ToolsPanelItem>
Expand Down
1 change: 1 addition & 0 deletions src/blocks/items/item/banner/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __( 'Opacity', 'snow-monkey-blocks' ) }
value={ Number( ( 1 - maskOpacity ).toFixed( 1 ) ) }
onChange={ ( value ) =>
Expand Down
5 changes: 4 additions & 1 deletion src/blocks/panels/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
desktop={ () => {
return (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Columns per row (Large window)',
'snow-monkey-blocks'
Expand All @@ -151,6 +152,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
tablet={ () => {
return (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Columns per row (Medium window)',
'snow-monkey-blocks'
Expand All @@ -169,6 +171,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
mobile={ () => {
return (
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Columns per row (Small window)',
'snow-monkey-blocks'
Expand Down Expand Up @@ -275,6 +278,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
className="spacing-sizes-control"
>
<RangeControl
__nextHasNoMarginBottom
className="spacing-sizes-control__range-control"
value={
gapOptions.filter(
Expand Down Expand Up @@ -306,7 +310,6 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
?.label?.toUpperCase()
}
hideLabelFromVision
__nextHasNoMarginBottom
/>
</BaseControl>
</ToolsPanelItem>
Expand Down
1 change: 1 addition & 0 deletions src/blocks/pickup-slider/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export default function ( { attributes, setAttributes } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Maximum number of displays',
'snow-monkey-blocks'
Expand Down
1 change: 1 addition & 0 deletions src/blocks/rating-box/item/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __( 'Rating', 'snow-monkey-blocks' ) }
value={ rating }
onChange={ ( value ) =>
Expand Down
4 changes: 3 additions & 1 deletion src/blocks/recent-posts/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Number of posts',
'snow-monkey-blocks'
Expand Down Expand Up @@ -507,6 +508,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Autoplay Speed in seconds',
'snow-monkey-blocks'
Expand Down Expand Up @@ -1035,6 +1037,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
className="spacing-sizes-control"
>
<RangeControl
__nextHasNoMarginBottom
className="spacing-sizes-control__range-control"
value={
gapOptions.filter(
Expand Down Expand Up @@ -1064,7 +1067,6 @@ export default function ( { attributes, setAttributes, clientId } ) {
?.label?.toUpperCase()
}
hideLabelFromVision
__nextHasNoMarginBottom
/>
</BaseControl>
</ToolsPanelItem>
Expand Down
4 changes: 3 additions & 1 deletion src/blocks/rss/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Number of posts',
'snow-monkey-blocks'
Expand Down Expand Up @@ -263,6 +264,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Autoplay Speed in seconds',
'snow-monkey-blocks'
Expand Down Expand Up @@ -493,6 +495,7 @@ export default function ( { attributes, setAttributes, clientId } ) {
className="spacing-sizes-control"
>
<RangeControl
__nextHasNoMarginBottom
className="spacing-sizes-control__range-control"
value={
gapOptions.filter(
Expand Down Expand Up @@ -522,7 +525,6 @@ export default function ( { attributes, setAttributes, clientId } ) {
?.label?.toUpperCase()
}
hideLabelFromVision
__nextHasNoMarginBottom
/>
</BaseControl>
</ToolsPanelItem>
Expand Down
2 changes: 2 additions & 0 deletions src/blocks/section-break-the-grid/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __(
'Background opacity',
'snow-monkey-blocks'
Expand Down Expand Up @@ -1134,6 +1135,7 @@ export default function ( {
}
>
<RangeControl
__nextHasNoMarginBottom
label={ __( 'Opacity', 'snow-monkey-blocks' ) }
value={ Number(
( 1 - maskOpacity ).toFixed( 1 )
Expand Down
Loading

0 comments on commit c2091cd

Please sign in to comment.