__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Elementor\Modules\AtomicWidgets\Styles;
class Style_Variant {
private ?string $breakpoint = null;
private ?string $state = null;
/** @var array<string, array> */
private array $props = [];
public static function make(): self {
return new self();
}
public function set_breakpoint( string $breakpoint ): self {
$this->breakpoint = $breakpoint;
return $this;
}
public function set_state( string $state ): self {
$this->state = $state;
return $this;
}
public function add_prop( string $key, $value ): self {
$this->props[ $key ] = $value;
return $this;
}
public function add_props( array $props ): self {
$this->props = array_merge( $this->props, $props );
return $this;
}
public function build(): array {
return [
'meta' => [
'breakpoint' => $this->breakpoint,
'state' => $this->state,
],
'props' => $this->props,
];
}
}
| 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 |
|