<?php


// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

class Dicode_Icons_linearicons{

    public static function init() {

        add_filter( 'elementor/icons_manager/additional_tabs', array( __CLASS__, 'el_icons_args' ) );  

    }
	public static function icons_list() {
	    $icons = array(
								'home',
								'apartment',
								'pencil',
								'magic-wand',
								'drop',
								'lighter',
								'poop',
								'sun',
								'moon',
								'cloud',
								'cloud-upload',
								'cloud-download',
								'cloud-sync',
								'cloud-check',
								'database',
								'lock',
								'cog',
								'trash',
								'dice',
								'heart',
								'star',
								'star-half',
								'star-empty',
								'flag',
								'envelope',
								'paperclip',
								'inbox',
								'eye',
								'printer',
								'file-empty',
								'file-add',
								'enter',
								'exit',
								'graduation-hat',
								'license',
								'music-note',
								'film-play',
								'camera-video',
								'camera',
								'picture',
								'book',
								'bookmark',
								'user',
								'users',
								'shirt',
								'store',
								'cart',
								'tag',
								'phone-handset',
								'phone',
								'pushpin',
								'map-marker',
								'map',
								'location',
								'calendar-full',
								'keyboard',
								'spell-check',
								'screen',
								'smartphone',
								'tablet',
								'laptop',
								'laptop-phone',
								'power-switch',
								'bubble',
								'heart-pulse',
								'construction',
								'pie-chart',
								'chart-bars',
								'gift',
								'diamond',
								'linearicons',
								'dinner',
								'coffee-cup',
								'leaf',
								'paw',
								'rocket',
								'briefcase',
								'bus',
								'car',
								'train',
								'bicycle',
								'wheelchair',
								'select',
								'earth',
								'smile',
								'sad',
								'neutral',
								'mustache',
								'alarm',
								'bullhorn',
								'volume-high',
								'volume-medium',
								'volume-low',
								'volume',
								'mic',
								'hourglass',
								'undo',
								'redo',
								'sync',
								'history',
								'clock',
								'download',
								'upload',
								'enter-down',
								'exit-up',
								'bug',
								'code',
								'link',
								'unlink',
								'thumbs-up',
								'thumbs-down',
								'magnifier',
								'cross',
								'menu',
								'list',
								'chevron-up',
								'chevron-down',
								'chevron-left',
								'chevron-right',
								'arrow-up',
								'arrow-down',
								'arrow-left',
								'arrow-right',
								'move',
								'warning',
								'question-circle',
								'menu-circle',
								'checkmark-circle',
								'cross-circle',
								'plus-circle',
								'circle-minus',
								'arrow-up-circle',
								'arrow-down-circle',
								'arrow-left-circle',
								'arrow-right-circle',
								'chevron-up-circle',
								'chevron-down-circle',
								'chevron-left-circle',
								'chevron-right-circle',
								'crop',
								'frame-expand',
								'frame-contract',
								'layers',
								'funnel',
								'text-format',
								'text-format-remove',
								'text-size',
								'bold',
								'italic',
								'underline',
								'strikethrough',
								'highlight',
								'text-align-left',
								'text-align-center',
								'text-align-right',
								'text-align-justify',
								'line-spacing',
								'indent-increase',
								'indent-decrease',
								'pilcrow',
								'direction-ltr',
								'direction-rtl',
								'page-break',
								'sort-alpha-asc',
								'sort-amount-asc',
								'hand',
								'pointer-up',
								'pointer-right',
								'pointer-down',
								'pointer-left'
	    );
		
		return  $icons;
	}
	public static function el_icons_args( $tabs = array() ) {

	    
	    $tabs['dicode_icons_linearicons'] = array(
	        'name'          => 'dicode_icons_linearicons',
	        'label'         => esc_html__( 'Dicode - Linearicons', 'dicode-icons-pack' ),
	        'labelIcon'     => 'lnr lnr-linearicons',
	        'prefix'        => 'lnr-',
	        'displayPrefix' => 'lnr',
	        'url'           => DICODE_ICONS_ASSETS_URL . 'linearicons/linearicons.min.css',
	        'icons'         => self::icons_list(),
	        'ver'           => DICODE_ICONS_PACK_VERSION,
	    );

	    return $tabs;
	}



}
Dicode_Icons_linearicons::init();