Version Description
- Fix: Color picker style not working.
Download this release
Release Info
Developer | patilvikasj |
Plugin | Astra Widgets |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
assets/css/minified/astra-widgets-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-core-ui .next-field-image .next-select-image{padding:4px 0;width:100%;text-align:center;height:auto}.astra-repeater-field{cursor:move;border-bottom:1px solid #eee}.astra-repeater-field:last-child{border-bottom:none}.astra-repeater-field .dashicons{font-size:1rem;height:1rem;width:1rem;color:#c1c1c1}.astra-repeater-field .dashicons-admin-page.clone{margin-right:.3em}.astra-repeater-container{margin-bottom:1em}.astra-repeater-field label{margin-bottom:.5em;display:inline-block}.astra-repeater .markukp p{margin:1em 0}.astra-repeater .add-new{margin-bottom:1em}.astra-repeater-field .clone,.astra-repeater-field .remove{cursor:pointer}.astra-repeater-field .actions{padding:10px;background:#fafafa;text-align:right}.astra-repeater-field .markukp{display:none}.astra-repeater-field .actions .dashicons-move,.astra-repeater-field .actions .title{float:left}.astra-repeater-field .actions .title{margin-left:.5em}.astra-repeater-field .index{display:none}.astra-repeater-field span.title:before{font-size:.9em;margin-right:.5em}.astra-field-image .astra-remove-image{position:absolute;background:0 0;border:none;box-shadow:none;top:.6em;left:4em;color:#a00;font-size:13px;text-decoration:underline;transition:all .25s ease}.astra-field-image .astra-remove-image:hover{outline:0;background:0 0;box-shadow:none;color:#dc3232}.astra-field-image-preview{position:relative}.astra-field-image{-js-display:flex;display:flex}.astra-field-image-preview img{border-width:1px 0 1px 1px;border-color:#bbb;border-style:solid;line-height:0;box-shadow:0 1px 1px #fff;width:40px;height:40px;padding:5.5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.astra-field-image-preview{background:#f9f9f9;background:-o-linear-gradient(#f9f9f9,#f2f2f2);box-shadow:0 1px 2px rgba(0,0,0,.1);-moz-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-bottom-left-radius:3px;border-bottom-left-radius:3px;line-height:10px}.astra-field-image img{max-width:100%}.astra-field-image-title{margin-bottom:1em}.astra-icons-list-wrap{display:none}.astra-selected-icon{display:inline-block}.astra-icons-list-wrap .search-icon{width:100%;margin-top:1em;margin-bottom:1em}.astra-widget-icons-list .astra-widget-icon{-js-display:flex;display:flex;align-items:center;justify-content:center;float:left;cursor:pointer;padding:1em;width:30px;line-height:1em;font-size:1em;border:1px solid #f1f1f1;margin:0;text-align:center}.astra-widget-icons-list{display:inline-block;margin:1em 0 0 0;padding:0;max-height:250px;overflow:auto}.astra-widget-icon-selector{margin:1em 0}.astra-widget-field{margin:1em 0}.astra-widget-field label,.astra-widget-field+p label{margin-bottom:.5em;display:block}.astra-widget-field-checkbox label{display:inline-block}.astra-widget-field-heading label{font-weight:700}.astra-widget-field-color .wp-color-result{margin-bottom:0!important}.astra-widget-icon svg{width:20px;height:20px}.astra-selected-icon svg{width:15px;height:15px;vertical-align:middle;margin-top:-1px}.astra-widget-icon.selected{background:#5897fb}.astra-widget-icon.selected svg{fill:#fff}.astra-widget-unit-field .widefat{width:91%}.astra-widgets-unit{margin-left:5px}.astra-repeater-field .markukp{padding:10px;border-top:1px solid #e5e5e5}.astra-repeater-sortable .astra-repeater-field{border:1px solid #e5e5e5;background:#fff;margin-bottom:5px}.astra-repeater-field.field-open .actions .toggle-arrow:before{content:"\f142"}.astra-repeater-field .actions .toggle-arrow:before{content:"\f140"}.astra-repeater-field .actions .toggle-arrow{display:inline-block;margin-top:-3px;font-size:1.6rem;width:1.6rem;color:silver}.astra-repeater-field title{line-height:1.4em}
|
1 |
+
.wp-core-ui .next-field-image .next-select-image{padding:4px 0;width:100%;text-align:center;height:auto}.astra-repeater-field{cursor:move;border-bottom:1px solid #eee}.astra-repeater-field:last-child{border-bottom:none}.astra-repeater-field .dashicons{font-size:1rem;height:1rem;width:1rem;color:#c1c1c1}.astra-repeater-field .dashicons-admin-page.clone{margin-right:.3em}.astra-repeater-container{margin-bottom:1em}.astra-repeater-field label{margin-bottom:.5em;display:inline-block}.astra-repeater .markukp p{margin:1em 0}.astra-repeater .add-new{margin-bottom:1em}.astra-repeater-field .clone,.astra-repeater-field .remove{cursor:pointer}.astra-repeater-field .actions{padding:10px;background:#fafafa;text-align:right}.astra-repeater-field .markukp{display:none}.astra-repeater-field .actions .dashicons-move,.astra-repeater-field .actions .title{float:left}.astra-repeater-field .actions .title{margin-left:.5em}.astra-repeater-field .index{display:none}.astra-repeater-field span.title:before{font-size:.9em;margin-right:.5em}.astra-field-image .astra-remove-image{position:absolute;background:0 0;border:none;box-shadow:none;top:.6em;left:4em;color:#a00;font-size:13px;text-decoration:underline;transition:all .25s ease}.astra-field-image .astra-remove-image:hover{outline:0;background:0 0;box-shadow:none;color:#dc3232}.astra-field-image-preview{position:relative}.astra-field-image{-js-display:flex;display:flex}.astra-field-image-preview img{border-width:1px 0 1px 1px;border-color:#bbb;border-style:solid;line-height:0;box-shadow:0 1px 1px #fff;width:40px;height:40px;padding:5.5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.astra-field-image-preview{background:#f9f9f9;background:-o-linear-gradient(#f9f9f9,#f2f2f2);box-shadow:0 1px 2px rgba(0,0,0,.1);-moz-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-bottom-left-radius:3px;border-bottom-left-radius:3px;line-height:10px}.astra-field-image img{max-width:100%}.astra-field-image-title{margin-bottom:1em}.astra-icons-list-wrap{display:none}.astra-selected-icon{display:inline-block}.astra-icons-list-wrap .search-icon{width:100%;margin-top:1em;margin-bottom:1em}.astra-widget-icons-list .astra-widget-icon{-js-display:flex;display:flex;align-items:center;justify-content:center;float:left;cursor:pointer;padding:1em;width:30px;line-height:1em;font-size:1em;border:1px solid #f1f1f1;margin:0;text-align:center}.astra-widget-icons-list{display:inline-block;margin:1em 0 0 0;padding:0;max-height:250px;overflow:auto}.astra-widget-icon-selector{margin:1em 0}.astra-widget-field{margin:1em 0}.astra-widget-field label,.astra-widget-field+p label{margin-bottom:.5em;display:block}.astra-widget-field .wp-picker-input-wrap label{display:inline-block}.astra-widget-field-checkbox label{display:inline-block}.astra-widget-field-heading label{font-weight:700}.astra-widget-field-color .wp-color-result{margin-bottom:0!important}.astra-widget-icon svg{width:20px;height:20px}.astra-selected-icon svg{width:15px;height:15px;vertical-align:middle;margin-top:-1px}.astra-widget-icon.selected{background:#5897fb}.astra-widget-icon.selected svg{fill:#fff}.astra-widget-unit-field .widefat{width:91%}.astra-widgets-unit{margin-left:5px}.astra-repeater-field .markukp{padding:10px;border-top:1px solid #e5e5e5}.astra-repeater-sortable .astra-repeater-field{border:1px solid #e5e5e5;background:#fff;margin-bottom:5px}.astra-repeater-field.field-open .actions .toggle-arrow:before{content:"\f142"}.astra-repeater-field .actions .toggle-arrow:before{content:"\f140"}.astra-repeater-field .actions .toggle-arrow{display:inline-block;margin-top:-3px;font-size:1.6rem;width:1.6rem;color:silver}.astra-repeater-field title{line-height:1.4em}
|
assets/css/unminified/astra-widgets-admin-rtl.css
CHANGED
@@ -192,6 +192,9 @@
|
|
192 |
margin-bottom: .5em;
|
193 |
display: block;
|
194 |
}
|
|
|
|
|
|
|
195 |
.astra-widget-field-checkbox label {
|
196 |
display: inline-block;
|
197 |
}
|
192 |
margin-bottom: .5em;
|
193 |
display: block;
|
194 |
}
|
195 |
+
.astra-widget-field .wp-picker-input-wrap label {
|
196 |
+
display: inline-block;
|
197 |
+
}
|
198 |
.astra-widget-field-checkbox label {
|
199 |
display: inline-block;
|
200 |
}
|
assets/css/unminified/astra-widgets-admin.css
CHANGED
@@ -192,6 +192,9 @@
|
|
192 |
margin-bottom: .5em;
|
193 |
display: block;
|
194 |
}
|
|
|
|
|
|
|
195 |
.astra-widget-field-checkbox label {
|
196 |
display: inline-block;
|
197 |
}
|
192 |
margin-bottom: .5em;
|
193 |
display: block;
|
194 |
}
|
195 |
+
.astra-widget-field .wp-picker-input-wrap label {
|
196 |
+
display: inline-block;
|
197 |
+
}
|
198 |
.astra-widget-field-checkbox label {
|
199 |
display: inline-block;
|
200 |
}
|
astra-widgets.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Astra Widgets
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: The Fastest Way to Add More Widgets into Your WordPress Website.
|
6 |
-
* Version: 1.2.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-widgets
|
@@ -25,7 +25,7 @@ define( 'ASTRA_WIDGETS_FILE', __FILE__ );
|
|
25 |
define( 'ASTRA_WIDGETS_BASE', plugin_basename( ASTRA_WIDGETS_FILE ) );
|
26 |
define( 'ASTRA_WIDGETS_DIR', plugin_dir_path( ASTRA_WIDGETS_FILE ) );
|
27 |
define( 'ASTRA_WIDGETS_URI', plugins_url( '/', ASTRA_WIDGETS_FILE ) );
|
28 |
-
define( 'ASTRA_WIDGETS_VER', '1.2.
|
29 |
define( 'ASTRA_WIDGETS_TEMPLATE_DEBUG_MODE', false );
|
30 |
|
31 |
require_once ASTRA_WIDGETS_DIR . 'classes/class-astra-widgets.php';
|
3 |
* Plugin Name: Astra Widgets
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: The Fastest Way to Add More Widgets into Your WordPress Website.
|
6 |
+
* Version: 1.2.1
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-widgets
|
25 |
define( 'ASTRA_WIDGETS_BASE', plugin_basename( ASTRA_WIDGETS_FILE ) );
|
26 |
define( 'ASTRA_WIDGETS_DIR', plugin_dir_path( ASTRA_WIDGETS_FILE ) );
|
27 |
define( 'ASTRA_WIDGETS_URI', plugins_url( '/', ASTRA_WIDGETS_FILE ) );
|
28 |
+
define( 'ASTRA_WIDGETS_VER', '1.2.1' );
|
29 |
define( 'ASTRA_WIDGETS_TEMPLATE_DEBUG_MODE', false );
|
30 |
|
31 |
require_once ASTRA_WIDGETS_DIR . 'classes/class-astra-widgets.php';
|
classes/class-astra-widgets-helper.php
CHANGED
@@ -77,6 +77,7 @@ if ( ! class_exists( 'Astra_Widgets_Helper' ) ) :
|
|
77 |
$js_uri = ASTRA_WIDGETS_URI . 'assets/js/' . $dir_name . '/';
|
78 |
$css_uri = ASTRA_WIDGETS_URI . 'assets/css/' . $dir_name . '/';
|
79 |
|
|
|
80 |
wp_enqueue_style( 'astra-widgets-backend', $css_uri . 'astra-widgets-admin' . $file_prefix . '.css' );
|
81 |
wp_enqueue_script( 'astra-widgets-backend', $js_uri . 'astra-widgets-backend' . $file_prefix . '.js', array( 'jquery', 'jquery-ui-sortable', 'wp-color-picker' ), ASTRA_WIDGETS_VER, true );
|
82 |
|
77 |
$js_uri = ASTRA_WIDGETS_URI . 'assets/js/' . $dir_name . '/';
|
78 |
$css_uri = ASTRA_WIDGETS_URI . 'assets/css/' . $dir_name . '/';
|
79 |
|
80 |
+
wp_enqueue_style( 'wp-color-picker' );
|
81 |
wp_enqueue_style( 'astra-widgets-backend', $css_uri . 'astra-widgets-admin' . $file_prefix . '.css' );
|
82 |
wp_enqueue_script( 'astra-widgets-backend', $js_uri . 'astra-widgets-backend' . $file_prefix . '.js', array( 'jquery', 'jquery-ui-sortable', 'wp-color-picker' ), ASTRA_WIDGETS_VER, true );
|
83 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Address widget, Social profile widget, List icon widget, Social media, Add
|
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 5.2
|
8 |
-
Stable tag: 1.2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -76,6 +76,9 @@ In your WordPress admin dashboard go to Appearance -> Widgets, drag the Astra :
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
79 |
= 1.2.0 =
|
80 |
- New: Add provision ( using astra_widgets_tel_prefix filter hook ) to remove + sign from telephone link in Address widget.
|
81 |
- Improvement: Add aria-label attribute to social widget links to improve accessibility.
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 5.2
|
8 |
+
Stable tag: 1.2.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 1.2.1 =
|
80 |
+
- Fix: Color picker style not working.
|
81 |
+
|
82 |
= 1.2.0 =
|
83 |
- New: Add provision ( using astra_widgets_tel_prefix filter hook ) to remove + sign from telephone link in Address widget.
|
84 |
- Improvement: Add aria-label attribute to social widget links to improve accessibility.
|