Plugin Directory

Changeset 3475751


Ignore:
Timestamp:
03/05/2026 03:06:41 PM (3 weeks ago)
Author:
valentingrenier
Message:

Version 2.0.7 - Patch release

  • Prepared plugin for 7.0 version
Location:
simple-block-animations/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • simple-block-animations/trunk/bin/deploy-to-svn.sh

    r3447700 r3475751  
    8080   
    8181    # Update Version header
    82     sed -i "s/Version:.*$/Version: $new_version/" "$file"
     82    sed -i '' "s/Version:.*$/Version: $new_version/" "$file"
    8383   
    8484    # Update version constant if it exists
    85     sed -i "s/define( 'SIMPBLAN_VERSION', '[^']*' );/define( 'SIMPBLAN_VERSION', '$new_version' );/" "$file"
     85    sed -i '' "s/define( 'SIMPBLAN_VERSION', '[^']*' );/define( 'SIMPBLAN_VERSION', '$new_version' );/" "$file"
    8686   
    8787    echo "✅ Updated version in $file"
     
    9696    # Update readme.txt stable tag if it exists
    9797    if [ -f "$PLUGIN_DIR/readme.txt" ]; then
    98         sed -i "s/^Stable tag:.*$/Stable tag: $VERSION/" "$PLUGIN_DIR/readme.txt"
     98        sed -i '' "s/^Stable tag:.*$/Stable tag: $VERSION/" "$PLUGIN_DIR/readme.txt"
    9999        echo "✅ Updated stable tag in readme.txt"
    100100    fi
  • simple-block-animations/trunk/build/editor.asset.php

    r3447724 r3475751  
    1 <?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '5a4d761c2823671b5039');
     1<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '8dfeba38ca62e5f5e746');
  • simple-block-animations/trunk/build/editor.js

    r3447724 r3475751  
    1 (()=>{"use strict";const e=window.wp.i18n,t=window.wp.hooks,n=window.wp.compose,a=window.wp.element,i=window.wp.blockEditor,o=window.wp.components;if(!window.simpleBlockAnimationsAttributesFiltersAdded){function l(e,t){const n=e.attributes&&e.attributes.isAnimated,a=e.attributes&&e.attributes.animationType,i=e.attributes&&e.attributes.animationDuration,o=e.attributes&&e.attributes.animationDelay;return{...e,attributes:{...e.attributes,...!n&&{isAnimated:{type:"boolean",default:!1}},...!a&&{animationType:{type:"string",default:"fade-in"}},...!i&&{animationDuration:{type:"number",default:.6}},...!o&&{animationDelay:{type:"number",default:0}}}}}window.simpleBlockAnimationsAttributesFiltersAdded=!0;const s=(0,n.createHigherOrderComponent)(t=>n=>{const{name:l,attributes:s,setAttributes:m}=n,{isAnimated:r,animationType:d,animationDuration:c,animationDelay:u}=s;return s&&void 0!==r?(0,a.createElement)(a.Fragment,null,(0,a.createElement)(t,n),(0,a.createElement)(i.InspectorControls,{group:"settings"},(0,a.createElement)(o.PanelBody,{title:(0,e.__)("Animations","simple_block_animations"),initialOpen:!0},(0,a.createElement)(o.ToggleControl,{label:(0,e.__)("Animer le bloc","simple_block_animations"),checked:r,onChange:e=>{m({isAnimated:e})}}),r&&(0,a.createElement)(o.SelectControl,{label:(0,e.__)("Type d'animation","simple_block_animations"),value:d,options:[{label:(0,e.__)("Fondu","simple_block_animations"),value:"fade-in"},{label:(0,e.__)("Fondu - Bas vers haut","simple_block_animations"),value:"fade-in-up"},{label:(0,e.__)("Fondu - Haut vers bas","simple_block_animations"),value:"fade-in-down"},{label:(0,e.__)("Fondu - Gauche vers droite","simple_block_animations"),value:"fade-in-left"},{label:(0,e.__)("Fondu - Droite vers gauche","simple_block_animations"),value:"fade-in-right"}],onChange:e=>{m({animationType:e})}}),r&&(0,a.createElement)(o.RangeControl,{label:(0,e.__)("Durée de l'animation","simple_block_animations"),value:c,onChange:e=>{m({animationDuration:e})},min:.2,max:2,step:.1,help:(0,e.__)("Durée en secondes","simple_block_animations")}),r&&(0,a.createElement)(o.RangeControl,{label:(0,e.__)("Délai de l'animation","simple_block_animations"),value:u,onChange:e=>{m({animationDelay:e})},min:0,max:1,step:.1,help:(0,e.__)("Durée en secondes","simple_block_animations")})))):(0,a.createElement)(t,n)},"withAnimationControls");function m(e,t,n){const{isAnimated:a,animationType:i,animationDuration:o,animationDelay:l}=n;if(a){const t=`animate-${i}`;return{...e,className:e.className?`${e.className} ${t}`:t,style:{...e.style,"--animation-duration":`${o}s`,"--animation-delay":`${l}s`}}}return e}(0,t.addFilter)("blocks.registerBlockType","simple_block_animations/animation-attributes",l),(0,t.addFilter)("editor.BlockEdit","simple_block_animations/with-animation-controls",s),(0,t.addFilter)("blocks.getSaveContent.extraProps","simple_block_animations/add-animation-classes",m)}})();
     1(()=>{"use strict";const e=window.wp.i18n,t=window.wp.hooks,n=window.wp.compose,a=window.wp.element,i=window.wp.blockEditor,o=window.wp.components;if(!window.simpleBlockAnimationsAttributesFiltersAdded){function l(e,t){const n=e.attributes&&e.attributes.isAnimated,a=e.attributes&&e.attributes.animationType,i=e.attributes&&e.attributes.animationDuration,o=e.attributes&&e.attributes.animationDelay;return{...e,attributes:{...e.attributes,...!n&&{isAnimated:{type:"boolean",default:!1}},...!a&&{animationType:{type:"string",default:"fade-in"}},...!i&&{animationDuration:{type:"number",default:.6}},...!o&&{animationDelay:{type:"number",default:0}}}}}window.simpleBlockAnimationsAttributesFiltersAdded=!0;const s=(0,n.createHigherOrderComponent)(t=>n=>{const{attributes:l,setAttributes:s}=n,{isAnimated:m=!1,animationType:r="fade-in",animationDuration:d=.6,animationDelay:u=0}=l||{};return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(t,n),(0,a.createElement)(i.InspectorControls,{group:"settings"},(0,a.createElement)(o.PanelBody,{title:(0,e.__)("Animations","simple_block_animations"),initialOpen:!0},(0,a.createElement)(o.ToggleControl,{label:(0,e.__)("Animer le bloc","simple_block_animations"),checked:m,onChange:e=>{s({isAnimated:e})}}),m&&(0,a.createElement)(o.SelectControl,{label:(0,e.__)("Type d'animation","simple_block_animations"),value:r,options:[{label:(0,e.__)("Fondu","simple_block_animations"),value:"fade-in"},{label:(0,e.__)("Fondu - Bas vers haut","simple_block_animations"),value:"fade-in-up"},{label:(0,e.__)("Fondu - Haut vers bas","simple_block_animations"),value:"fade-in-down"},{label:(0,e.__)("Fondu - Gauche vers droite","simple_block_animations"),value:"fade-in-left"},{label:(0,e.__)("Fondu - Droite vers gauche","simple_block_animations"),value:"fade-in-right"}],onChange:e=>{s({animationType:e})}}),m&&(0,a.createElement)(o.RangeControl,{label:(0,e.__)("Durée de l'animation","simple_block_animations"),value:d,onChange:e=>{s({animationDuration:e})},min:.2,max:2,step:.1,help:(0,e.__)("Durée en secondes","simple_block_animations")}),m&&(0,a.createElement)(o.RangeControl,{label:(0,e.__)("Délai de l'animation","simple_block_animations"),value:u,onChange:e=>{s({animationDelay:e})},min:0,max:1,step:.1,help:(0,e.__)("Durée en secondes","simple_block_animations")}))))},"withAnimationControls");function m(e,t,n){const{isAnimated:a,animationType:i,animationDuration:o,animationDelay:l}=n;if(a){const t=`animate-${i}`;return{...e,className:e.className?`${e.className} ${t}`:t,style:{...e.style,"--animation-duration":`${o}s`,"--animation-delay":`${l}s`}}}return e}(0,t.addFilter)("blocks.registerBlockType","simple_block_animations/animation-attributes",l),(0,t.addFilter)("editor.BlockEdit","simple_block_animations/with-animation-controls",s),(0,t.addFilter)("blocks.getSaveContent.extraProps","simple_block_animations/add-animation-classes",m)}})();
  • simple-block-animations/trunk/includes/class-enqueue.php

    r3418495 r3475751  
    3131            'simple-block-animations-editor',
    3232            SIMPBLAN_URL . 'build/editor.js',
    33             array(
    34                 'wp-blocks',
    35                 'wp-dom',
    36                 'wp-i18n'
    37             ),
     33            array( 'wp-blocks', 'wp-dom', 'wp-i18n', 'wp-hooks', 'wp-compose', 'wp-element', 'wp-block-editor', 'wp-components' ),
    3834            SIMPBLAN_VERSION,
    3935            true
  • simple-block-animations/trunk/readme.txt

    r3447742 r3475751  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 2.0.2
     7Stable tag: 2.0.7
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7575== Changelog ==
    7676
     77= 2.0.7 =
     78- Prepared plugin for 7.0 version
     79
     80
     81= 2.0.6 =
     82- Prepared plugin for 7.0 version
     83
     84
     85= 2.0.5 =
     86- Prepared plugin for 7.0 version
     87
     88
     89= 2.0.4 =
     90- Prepared plugin for 7.0 version
     91
     92
    7793= 2.0.2 =
    7894- Updated documentation with "For developers" section regarding default animation attributes for custom blocks
  • simple-block-animations/trunk/simple-block-animations.php

    r3447742 r3475751  
    55 * Plugin URI: https://github.com/valentin-grenier/simple-animations-for-gutenberg
    66 * Description: Easily add animations to your Gutenberg blocks without coding.
    7  * Version: 2.0.2
     7 * Version: 2.0.7
    88 * Requires at least:
    99 * Requires PHP:
     
    2222}
    2323
    24 define( 'SIMPBLAN_VERSION', '2.0.2' );
     24define( 'SIMPBLAN_VERSION', '2.0.7' );
    2525define( 'SIMPBLAN_PATH', plugin_dir_path( __FILE__ ) );
    2626define( 'SIMPBLAN_URL', plugin_dir_url( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.