Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release/1.5.12'
Browse files Browse the repository at this point in the history
  • Loading branch information
agung2001 committed Mar 2, 2022
2 parents ee1b0b9 + 4ef20ca commit 69e76b7
Show file tree
Hide file tree
Showing 15 changed files with 52 additions and 29 deletions.
2 changes: 1 addition & 1 deletion assets/build/components/fab/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/components/setting/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/backend.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/fab-shapes.min.css

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

2 changes: 1 addition & 1 deletion assets/build/css/frontend.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Floating Awesome Button","version":"1.5.11","production":true,"premium":false,"url":{"wordpress":"https:\/\/wordpress.org\/plugins\/floating-awesome-button","contact":"https:\/\/artistudio.xyz\/contact"},"enableHooks":["action","filter","shortcode"],"description":"Floating Awesome Button (FAB) is customizable action button that can help you display custom content (modal, shortcodes, widgets, links, etc).","default":{"fab_animation":{"enable":1,"elements":{"logo":"bounceIn","tab":"heartBeat","content":"fadeIn","fab":"ripple","fab_active":"fadeIn","fab_inactive":"fadeOut"}},"fab_design":{"layout":{"position":"right"},"size":{"type":"medium","custom":""},"tooltip":{"enable":1},"template":{"name":"classic","shape":"","color":"#5b59ec","icon":{"class":"fas fa-ellipsis-h","color":"#fff"}}},"fab_order":[],"fab_assets":{"backend":{"fab-fontawesome-css":{"status":true,"type":"css","src":"vendor\/fontawesome\/css\/all.min.css"},"fab-jconfirm-css":{"status":true,"type":"css","src":"vendor\/jquery-confirm\/jquery-confirm.min.css"},"fab-jconfirm-js":{"status":true,"type":"js","src":"vendor\/jquery-confirm\/jquery-confirm.min.js"},"fab-select2-css":{"status":true,"type":"css","src":"vendor\/jquery-select2\/select2.min.css"},"fab-select2-js":{"status":true,"type":"js","src":"vendor\/jquery-select2\/select2.min.js"}},"frontend":{"fab-fontawesome-css":{"status":true,"type":"css","src":"vendor\/fontawesome\/css\/all.min.css"},"fab-jconfirm-css":{"status":true,"type":"css","src":"vendor\/jquery-confirm\/jquery-confirm.min.css"},"fab-jconfirm-js":{"status":true,"type":"js","src":"vendor\/jquery-confirm\/jquery-confirm.min.js"},"fab-jquery-hotkey-js":{"status":true,"type":"js","src":"vendor\/jquery-hotkey\/jquery.hotkeys.min.js"}}},"fab_hooks":[]}}
{"name":"Floating Awesome Button","version":"1.5.12","production":true,"premium":false,"url":{"wordpress":"https:\/\/wordpress.org\/plugins\/floating-awesome-button","contact":"https:\/\/artistudio.xyz\/contact"},"enableHooks":["action","filter","shortcode"],"description":"Floating Awesome Button (FAB) is customizable action button that can help you display custom content (modal, shortcodes, widgets, links, etc).","default":{"fab_animation":{"enable":1,"elements":{"logo":"bounceIn","tab":"heartBeat","content":"fadeIn","fab":"ripple","fab_active":"fadeIn","fab_inactive":"fadeOut"}},"fab_design":{"layout":{"position":"right"},"size":{"type":"medium","custom":""},"tooltip":{"enable":1},"template":{"name":"classic","shape":"","color":"#5b59ec","icon":{"class":"fas fa-ellipsis-h","color":"#fff"}}},"fab_order":[],"fab_assets":{"backend":{"fab-fontawesome-css":{"status":true,"type":"css","src":"vendor\/fontawesome\/css\/all.min.css"},"fab-jconfirm-css":{"status":true,"type":"css","src":"vendor\/jquery-confirm\/jquery-confirm.min.css"},"fab-jconfirm-js":{"status":true,"type":"js","src":"vendor\/jquery-confirm\/jquery-confirm.min.js"},"fab-select2-css":{"status":true,"type":"css","src":"vendor\/jquery-select2\/select2.min.css"},"fab-select2-js":{"status":true,"type":"js","src":"vendor\/jquery-select2\/select2.min.js"}},"frontend":{"fab-fontawesome-css":{"status":true,"type":"css","src":"vendor\/fontawesome\/css\/all.min.css"},"fab-jconfirm-css":{"status":true,"type":"css","src":"vendor\/jquery-confirm\/jquery-confirm.min.css"},"fab-jconfirm-js":{"status":true,"type":"js","src":"vendor\/jquery-confirm\/jquery-confirm.min.js"},"fab-jquery-hotkey-js":{"status":true,"type":"js","src":"vendor\/jquery-hotkey\/jquery.hotkeys.min.js"}}},"fab_hooks":[]}}
2 changes: 1 addition & 1 deletion floating-awesome-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Floating Awesome Button
* Plugin URI: https://artistudio.xyz
* Description: Floating Awesome Button (FAB) is customizable action button that can help you display custom content (modal, shortcodes, widgets, links, etc).
* Version: 1.5.11
* Version: 1.5.12
* Author: Agung Sundoro
* Author URI: https://wiki.artistudio.xyz/
* License: GPL-3.0
Expand Down
13 changes: 8 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: agung2001
Tags: float menu, sticky button, popup, optin, scroll to top, social sharing
Requires at least: 4.5
Tested up to: 5.9.0
Tested up to: 5.9.1
Requires PHP: 5.6
Stable tag: 1.5.11
Stable tag: 1.5.12
License: GPL-3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Expand Down Expand Up @@ -32,11 +32,11 @@ Floating Awesome Button (FAB) is a customizable action button that can help you

= Tutorial =

https://www.youtube.com/watch?v=ifNfoV5_6Bk
https://www.youtube.com/watch?v=vQqF9YYF0Qo

https://www.youtube.com/watch?v=TYxBG2iPvl4

https://www.youtube.com/watch?v=vQqF9YYF0Qo
https://www.youtube.com/watch?v=8XJ25DI-q0g

More Tutorial on YouTube :

Expand Down Expand Up @@ -78,7 +78,7 @@ More Tutorial on YouTube :
Thanks for using our plugin, your rating and feedback help us grow!
If you enjoy it please feel free to spread the words 👊 😚 👍

* 👋 👊 [Join Our Slack Community](https://wpfab.slack.com) 🦸👨‍🚀🥷
* 👋 👊 [Join Our Community](https://community.artistudio.xyz/) 🦸👨‍🚀🥷

= Credits =

Expand Down Expand Up @@ -111,6 +111,9 @@ who had helped provide and develop these libraries

== Changelog ==

= 1.5.12 =
* Tailwindcss class integration update for modal template

= 1.5.11 =
* Add tooltip option always display for call to action button with text
* Migrate css tooltip popup to tooltip labels
Expand Down
1 change: 1 addition & 0 deletions src/Controller/Backend/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public function plugin_setting_link( $links ) {
public function plugin_row_meta_references( $plugin_meta, $plugin_file, $plugin_data, $status ) {
if ( strpos( $plugin_file, sprintf( '%s.php', $this->Plugin->getSlug() ) ) !== false ) {
$new_links = array(
'community' => '<a href="https://community.artistudio.xyz/" target="_blank">Community</a>',
'doc' => '<a href="https://www.youtube.com/watch?v=MMuhc9pcYew&list=PLnwuifVLRkaXBV9IBTPZeLtduzCdt5cFh" target="_blank">Documentation</a>',
'tutorial' => '<a href="https://www.youtube.com/watch?v=CkSspyM9yjQ&list=PLnwuifVLRkaXH9I-QAAReVoEv9DClViPG" target="_blank">Tutorial</a>',
);
Expand Down
33 changes: 25 additions & 8 deletions src/View/Tailwind/element.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,31 @@
* @package FAB
*/
?>
<div class="inset-0"></div>
<div class="appearance-none transition"></div>

<div class="flex"></div>
<div class="text-xs"></div>
<div class="text-black"></div>
<div class="bg-gray-200"></div>
<div class="text-gray-400"></div>
<div class="border-gray-300"></div>
<div class="drop-shadow-md drop-shadow-xl drop-shadow-2xl"></div>
<div class="overflow-visible"></div>
<div class="sm:block md:block lg:block xl:block"></div>
<div class="hidden sm:hidden md:hidden lg:hidden xl:hidden"></div>

<div class="inset-0"></div>
<div class="p-5 p-10"></div>
<div class="sm:p-10 sm:pt-8"></div>
<div class="mb-3 mb-5 mb-8"></div>

<div class="font-semibold"></div>

<div class="text-bold underline"></div>
<div class="text-base text-xs text-2xl text-3xl text-4xl"></div>
<div class="text-black text-gray-400 text-gray-600 text-gray-800"></div>
<div class="hover:text-gray-500"></div>

<div class="bg-gray-200 bg-blue-400"></div>
<div class="hover:bg-blue-500 hover:bg-red-800"></div>

<div class="border-dashed border-4"></div>
<div class="border-gray-300 border-gray-500 border-blue-400"></div>
<div class="hover:border-bg-red-800"></div>

<div class="rounded"></div>
<div class="drop-shadow-md drop-shadow-xl drop-shadow-2xl"></div>
<div class="overflow-visible"></div>
3 changes: 2 additions & 1 deletion src/View/Template/modal/layout/grid-left.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
$featuredImage = get_the_post_thumbnail_url($fab_item->getID(), 'large');
if($featuredImage):
?>
<div class="featured-img-container flex-none sm:w-1/2 relative">
<div class="featured-img-container flex-none relative">
<img src="<?php echo esc_url($featuredImage); ?>"
alt="<?php echo $fab_item->getTitle() ?> Cover"
class="w-full sm:w-auto"
/>
</div>
<?php endif; ?>
Expand Down
3 changes: 2 additions & 1 deletion src/View/Template/modal/layout/grid-right.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
$featuredImage = get_the_post_thumbnail_url($fab_item->getID(), 'large');
if($featuredImage):
?>
<div class="featured-img-container flex-none sm:w-1/2 relative">
<div class="featured-img-container flex-none relative">
<img src="<?php echo esc_url($featuredImage); ?>"
alt="<?php echo $fab_item->getTitle() ?> Cover"
class="w-full sm:w-auto"
/>
</div>
<?php endif; ?>
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit008b6472b36b7574354b95e90dea1315::getLoader();
return ComposerAutoloaderInit42a3acea253064971e7fdec1d064432f::getLoader();
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit008b6472b36b7574354b95e90dea1315
class ComposerAutoloaderInit42a3acea253064971e7fdec1d064432f
{
private static $loader;

Expand All @@ -24,15 +24,15 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInit008b6472b36b7574354b95e90dea1315', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit42a3acea253064971e7fdec1d064432f', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit008b6472b36b7574354b95e90dea1315', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit42a3acea253064971e7fdec1d064432f', 'loadClassLoader'));

$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';

call_user_func(\Composer\Autoload\ComposerStaticInit008b6472b36b7574354b95e90dea1315::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit42a3acea253064971e7fdec1d064432f::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit008b6472b36b7574354b95e90dea1315
class ComposerStaticInit42a3acea253064971e7fdec1d064432f
{
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
Expand Down Expand Up @@ -89,7 +89,7 @@ class ComposerStaticInit008b6472b36b7574354b95e90dea1315
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->classMap = ComposerStaticInit008b6472b36b7574354b95e90dea1315::$classMap;
$loader->classMap = ComposerStaticInit42a3acea253064971e7fdec1d064432f::$classMap;

}, null, ClassLoader::class);
}
Expand Down

0 comments on commit 69e76b7

Please sign in to comment.