← All changes
|
modules/atomic-widgets/styles/style-states.php
+0
-6
4.2.0-beta2
→
4.0.0-dev4
View file →
| @@ -9,9 +9,8 @@ | ||
| 9 | 9 | const FOCUS_VISIBLE = 'focus-visible'; |
| 10 | 10 | const CHECKED = 'checked'; |
| 11 | 11 | |
| 12 | 12 | const SELECTED = 'e--selected'; |
| 13 | - const DISABLED = 'e--disabled'; | |
| 14 | 13 | |
| 15 | 14 | private static function get_pseudo_states(): array { |
| 16 | 15 | return [ |
| 17 | 16 | self::HOVER, |
| @@ -24,9 +23,8 @@ | ||
| 24 | 23 | |
| 25 | 24 | private static function get_class_states(): array { |
| 26 | 25 | return [ |
| 27 | 26 | self::SELECTED, |
| 28 | - self::DISABLED, | |
| 29 | 27 | ]; |
| 30 | 28 | } |
| 31 | 29 | |
| 32 | 30 | private static function get_additional_states_map(): array { |
| @@ -93,12 +91,8 @@ | ||
| 93 | 91 | return [ |
| 94 | 92 | 'selected' => [ |
| 95 | 93 | 'name' => 'selected', |
| 96 | 94 | 'value' => self::SELECTED, |
| 97 | - ], | |
| 98 | - 'disabled' => [ | |
| 99 | - 'name' => 'disabled', | |
| 100 | - 'value' => self::DISABLED, | |
| 101 | 95 | ], |
| 102 | 96 | ]; |
| 103 | 97 | } |
| 104 | 98 | |