PowerPack Addons for Elementor (Instagram Feed, Pricing Table, Forms Stylers, Display Conditions, Free Elementor Widgets and Elementor Templates) - Version 2.6.13

Version Description

  • April 15, 2022 =
  • Fixed: Image Comparison - JS error preventing the widget from working
Download this release

Release Info

Developer ideaboxcreations
Plugin Icon 128x128 PowerPack Addons for Elementor (Instagram Feed, Pricing Table, Forms Stylers, Display Conditions, Free Elementor Widgets and Elementor Templates)
Version 2.6.13
Comparing to
See all releases

Code changes from version 2.6.12 to 2.6.13

assets/lib/twentytwenty/jquery.twentytwenty.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(g){g.fn.twentytwenty=function(m){m=g.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},m);return this.each(function(){var e=m.default_offset_pct,n=g(this),i=m.orientation,t="vertical"===i?"down":"left",a="vertical"===i?"up":"right",o=(n.wrap("<div class='twentytwenty-wrapper twentytwenty-"+i+"'></div>"),m.no_overlay||n.append("<div class='twentytwenty-overlay'></div>"),n.find("img:first")),s=n.find("img:last"),c=(n.append("<div class='twentytwenty-handle'></div>"),n.find(".twentytwenty-handle")),t=(c.append("<span class='twentytwenty-"+t+"-arrow'></span>"),c.append("<span class='twentytwenty-"+a+"-arrow'></span>"),n.addClass("twentytwenty-container"),o.addClass("twentytwenty-before"),s.addClass("twentytwenty-after"),n.find(".twentytwenty-overlay")),d=(t.append("<div class='twentytwenty-before-label' data-content='"+m.before_label+"'></div>"),t.append("<div class='twentytwenty-after-label' data-content='"+m.after_label+"'></div>"),function(t){var e=o.width(),n=o.height();return{w:e+"px",h:n+"px",cw:t*e+"px",ch:t*n+"px"}}),l=function(t){"vertical"===i?(o.css("clip","rect(0,"+t.w+","+t.ch+",0)"),s.css("clip","rect("+t.ch+","+t.w+","+t.h+",0)")):(o.css("clip","rect(0,"+t.cw+","+t.h+",0)"),s.css("clip","rect(0,"+t.w+","+t.h+","+t.cw+")")),n.css("height",t.h)},r=function(t){t=d(t);c.css("vertical"===i?"top":"left","vertical"===i?t.ch:t.cw),l(t)},w=function(t,e,n){return Math.max(e,Math.min(n,t))},f=function(t,e){return w("vertical"===i?(e-p)/h:(t-v)/y,0,1)},v=(g(window).on("resize.twentytwenty",function(t){r(e)}),0),p=0,y=0,h=0,a=function(t){((t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY)&&"vertical"!==i||(t.distX<t.distY&&t.distX<-t.distY||t.distX>t.distY&&t.distX>-t.distY)&&"vertical"===i)&&t.preventDefault(),n.addClass("active"),v=n.offset().left,p=n.offset().top,y=o.width(),h=o.height()},t=function(t){n.hasClass("active")&&(e=f(t.pageX,t.pageY),r(e))},u=function(){n.removeClass("active")},_=m.move_with_handle_only?c:n;_.on("movestart",a),_.on("move",t),_.on("moveend",u),m.move_slider_on_hover&&(n.on("mouseenter",a),n.on("mousemove",t),n.on("mouseleave",u)),c.on("touchmove",function(t){t.preventDefault()}),n.find("img").on("mousedown",function(t){t.preventDefault()}),m.click_to_move&&n.on("click",function(t){v=n.offset().left,p=n.offset().top,y=o.width(),h=o.height(),e=f(t.pageX,t.pageY),r(e)}),g(window).trigger("resize.twentytwenty")})}}(jQuery);
assets/lib/twentytwenty/twentytwenty.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .twentytwenty-horizontal .twentytwenty-handle:after,.twentytwenty-horizontal .twentytwenty-handle:before,.twentytwenty-vertical .twentytwenty-handle:after,.twentytwenty-vertical .twentytwenty-handle:before{content:" ";display:block;background:#fff;position:absolute;z-index:30;box-shadow:0 0 12px rgba(51,51,51,.5)}.twentytwenty-horizontal .twentytwenty-handle:after,.twentytwenty-horizontal .twentytwenty-handle:before{width:3px;height:9999px;left:50%;margin-left:-1.5px}.twentytwenty-vertical .twentytwenty-handle:after,.twentytwenty-vertical .twentytwenty-handle:before{width:9999px;height:3px;top:50%;margin-top:-1.5px}.twentytwenty-after-label,.twentytwenty-before-label,.twentytwenty-overlay{position:absolute;top:0;width:100%;height:100%}.twentytwenty-after-label,.twentytwenty-before-label,.twentytwenty-overlay{transition-duration:.5s}.twentytwenty-after-label,.twentytwenty-before-label{transition-property:opacity}.twentytwenty-after-label:before,.twentytwenty-before-label:before{color:#fff;font-size:13px;letter-spacing:.1em}.twentytwenty-after-label:before,.twentytwenty-before-label:before{position:absolute;background:rgba(255,255,255,.2);line-height:38px;padding:0 20px;border-radius:2px}.twentytwenty-horizontal .twentytwenty-after-label:before,.twentytwenty-horizontal .twentytwenty-before-label:before{top:50%;transform:translateY(-50%)}.pp-ic-label-horizontal-top .twentytwenty-horizontal .twentytwenty-after-label:before,.pp-ic-label-horizontal-top .twentytwenty-horizontal .twentytwenty-before-label:before{transform:translateY(0);top:10px}.pp-ic-label-horizontal-bottom .twentytwenty-horizontal .twentytwenty-after-label:before,.pp-ic-label-horizontal-bottom .twentytwenty-horizontal .twentytwenty-before-label:before{bottom:10px;transform:translateY(0);top:auto}.twentytwenty-vertical .twentytwenty-after-label:before,.twentytwenty-vertical .twentytwenty-before-label:before{left:50%;transform:translateX(-50%);text-align:center}.pp-ic-label-vertical-left .twentytwenty-vertical .twentytwenty-after-label:before,.pp-ic-label-vertical-left .twentytwenty-vertical .twentytwenty-before-label:before{left:10px;transform:translateX(0)}.pp-ic-label-vertical-right .twentytwenty-vertical .twentytwenty-after-label:before,.pp-ic-label-vertical-right .twentytwenty-vertical .twentytwenty-before-label:before{left:auto;right:10px;transform:translateX(0)}.twentytwenty-down-arrow,.twentytwenty-left-arrow,.twentytwenty-right-arrow,.twentytwenty-up-arrow{width:0;height:0;border:6px inset transparent;position:absolute}.twentytwenty-left-arrow,.twentytwenty-right-arrow{top:50%;margin-top:-6px}.twentytwenty-down-arrow,.twentytwenty-up-arrow{left:50%;margin-left:-6px}.twentytwenty-container{box-sizing:content-box;z-index:0;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none}.twentytwenty-container img{max-width:100%;position:absolute;top:0;display:block;width:100%}.twentytwenty-container.active .twentytwenty-overlay,.twentytwenty-container.active :hover.twentytwenty-overlay{background:0 0}.twentytwenty-container *{box-sizing:content-box}.twentytwenty-before-label:before{content:attr(data-content)}.twentytwenty-after-label:before{content:attr(data-content)}.twentytwenty-horizontal .twentytwenty-before-label:before{left:10px}.twentytwenty-horizontal .twentytwenty-after-label:before{right:10px}.twentytwenty-vertical .twentytwenty-before-label:before{top:10px}.twentytwenty-vertical .twentytwenty-after-label:before{bottom:10px}.twentytwenty-overlay{transition-property:background;background:0 0;z-index:25}.twentytwenty-overlay:hover{background:rgba(0,0,0,.5)}.twentytwenty-overlay:hover .twentytwenty-after-label{opacity:1}.twentytwenty-overlay:hover .twentytwenty-before-label{opacity:1}.twentytwenty-before{z-index:20}.twentytwenty-after{z-index:10}.twentytwenty-handle{height:38px;width:38px;position:absolute;left:50%;top:50%;margin-left:-22px;margin-top:-22px;border:3px solid #fff;border-radius:1000px;box-shadow:0 0 12px rgba(51,51,51,.5);z-index:40;cursor:pointer}.twentytwenty-horizontal .twentytwenty-handle:before{bottom:50%;margin-bottom:19px}.twentytwenty-horizontal .twentytwenty-handle:after{top:50%;margin-top:19px}.twentytwenty-vertical .twentytwenty-handle:before{left:50%;margin-left:19px}.twentytwenty-vertical .twentytwenty-handle:after{right:50%;margin-right:19px}.twentytwenty-left-arrow{border-right:6px solid #fff;left:50%;margin-left:-17px}.twentytwenty-right-arrow{border-left:6px solid #fff;right:50%;margin-right:-17px}.twentytwenty-up-arrow{border-bottom:6px solid #fff;top:50%;margin-top:-17px}.twentytwenty-down-arrow{border-top:6px solid #fff;bottom:50%;margin-bottom:-17px}
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  == 2.6.12 ==
2
  Release date: April 13, 2022
3
  * Enhancement: Team Member - Added: Margin option for image
1
+ == 2.6.13 ==
2
+ Release date: April 15, 2022
3
+ * Fixed: Image Comparison - JS error preventing the widget from working
4
+
5
  == 2.6.12 ==
6
  Release date: April 13, 2022
7
  * Enhancement: Team Member - Added: Margin option for image
package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "powerpack-lite-for-elementor",
3
- "version": "2.6.12",
4
  "description": "Extend Elementor Page Builder with 50+ Creative Widgets.",
5
  "keywords": [],
6
  "author": "IdeaBox Creations",
1
  {
2
  "name": "powerpack-lite-for-elementor",
3
+ "version": "2.6.13",
4
  "description": "Extend Elementor Page Builder with 50+ Creative Widgets.",
5
  "keywords": [],
6
  "author": "IdeaBox Creations",
plugin.php CHANGED
@@ -149,7 +149,7 @@ class PowerpackLitePlugin {
149
 
150
  wp_register_style(
151
  'pp-twentytwenty',
152
- POWERPACK_ELEMENTS_LITE_URL . 'assets/lib/twentytwenty/twentytwenty.css',
153
  [],
154
  POWERPACK_ELEMENTS_LITE_VER
155
  );
@@ -199,8 +199,8 @@ class PowerpackLitePlugin {
199
  );
200
 
201
  wp_register_script(
202
- 'pp-twentytwenty',
203
- POWERPACK_ELEMENTS_LITE_URL . 'assets/lib/twentytwenty/jquery.twentytwenty.js',
204
  [
205
  'jquery',
206
  ],
149
 
150
  wp_register_style(
151
  'pp-twentytwenty',
152
+ POWERPACK_ELEMENTS_LITE_URL . 'assets/lib/twentytwenty/twentytwenty' . $suffix . '.css',
153
  [],
154
  POWERPACK_ELEMENTS_LITE_VER
155
  );
199
  );
200
 
201
  wp_register_script(
202
+ 'twentytwenty',
203
+ POWERPACK_ELEMENTS_LITE_URL . 'assets/lib/twentytwenty/jquery.twentytwenty' . $suffix . '.js',
204
  [
205
  'jquery',
206
  ],
powerpack-lite-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: PowerPack Lite for Elementor
4
  * Plugin URI: https://powerpackelements.com
5
  * Description: Extend Elementor Page Builder with 40+ Creative Widgets and exciting extensions.
6
- * Version: 2.6.12
7
  * Author: IdeaBox Creations
8
  * Author URI: http://ideabox.io/
9
  * License: GNU General Public License v2.0
@@ -20,7 +20,7 @@ if ( defined( 'POWERPACK_ELEMENTS_VER' ) ) {
20
  return;
21
  }
22
 
23
- define( 'POWERPACK_ELEMENTS_LITE_VER', '2.6.12' );
24
  define( 'POWERPACK_ELEMENTS_LITE_PATH', plugin_dir_path( __FILE__ ) );
25
  define( 'POWERPACK_ELEMENTS_LITE_BASE', plugin_basename( __FILE__ ) );
26
  define( 'POWERPACK_ELEMENTS_LITE_URL', plugins_url( '/', __FILE__ ) );
3
  * Plugin Name: PowerPack Lite for Elementor
4
  * Plugin URI: https://powerpackelements.com
5
  * Description: Extend Elementor Page Builder with 40+ Creative Widgets and exciting extensions.
6
+ * Version: 2.6.13
7
  * Author: IdeaBox Creations
8
  * Author URI: http://ideabox.io/
9
  * License: GNU General Public License v2.0
20
  return;
21
  }
22
 
23
+ define( 'POWERPACK_ELEMENTS_LITE_VER', '2.6.13' );
24
  define( 'POWERPACK_ELEMENTS_LITE_PATH', plugin_dir_path( __FILE__ ) );
25
  define( 'POWERPACK_ELEMENTS_LITE_BASE', plugin_basename( __FILE__ ) );
26
  define( 'POWERPACK_ELEMENTS_LITE_URL', plugins_url( '/', __FILE__ ) );
readme.txt CHANGED
@@ -229,6 +229,9 @@ Not at all! All the widgets and settings are easy to use with drag & drop interf
229
 
230
  == Changelog ==
231
 
 
 
 
232
  = 2.6.12 - April 13, 2022 =
233
  * Enhancement: Team Member - Added: Margin option for image
234
  * Enhancement: Advanced Accordion - Added border radius option for title
229
 
230
  == Changelog ==
231
 
232
+ = 2.6.13 - April 15, 2022 =
233
+ * Fixed: Image Comparison - JS error preventing the widget from working
234
+
235
  = 2.6.12 - April 13, 2022 =
236
  * Enhancement: Team Member - Added: Margin option for image
237
  * Enhancement: Advanced Accordion - Added border radius option for title