| @@ -77,30 +77,12 @@ | ||
| 77 | 77 | protected function is_dynamic_content(): bool { |
| 78 | 78 | return false; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | - /** | |
| 82 | - * Get style dependencies. | |
| 83 | - * | |
| 84 | - * Retrieve the list of style dependencies the widget requires. | |
| 85 | - * | |
| 86 | - * @since 3.24.0 | |
| 87 | - * @access public | |
| 88 | - * | |
| 89 | - * @return array Widget style dependencies. | |
| 90 | - */ | |
| 91 | - public function get_style_depends(): array { | |
| 92 | - return [ 'widget-tabs' ]; | |
| 93 | - } | |
| 94 | - | |
| 95 | 81 | public function show_in_panel(): bool { |
| 96 | - return ! Plugin::$instance->experiments->is_feature_active( 'nested-elements', true ); | |
| 82 | + return ! Plugin::$instance->experiments->is_feature_active( 'nested-elements' ); | |
| 97 | 83 | } |
| 98 | 84 | |
| 99 | - public function has_widget_inner_wrapper(): bool { | |
| 100 | - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); | |
| 101 | - } | |
| 102 | - | |
| 103 | 85 | /** |
| 104 | 86 | * Register tabs widget controls. |
| 105 | 87 | * |
| 106 | 88 | * Adds different input fields to allow the user to change and customize the widget settings. |
| @@ -186,9 +168,9 @@ | ||
| 186 | 168 | 'default' => 'horizontal', |
| 187 | 169 | 'options' => [ |
| 188 | 170 | 'vertical' => [ |
| 189 | 171 | 'title' => esc_html__( 'Vertical', 'elementor' ), |
| 190 | - 'icon' => 'eicon-h-align-left', | |
| 172 | + 'icon' => 'eicon-h-align-' . ( is_rtl() ? 'right' : 'left' ), | |
| 191 | 173 | ], |
| 192 | 174 | 'horizontal' => [ |
| 193 | 175 | 'title' => esc_html__( 'Horizontal', 'elementor' ), |
| 194 | 176 | 'icon' => 'eicon-v-align-top', |
| @@ -193,9 +175,8 @@ | ||
| 193 | 175 | 'title' => esc_html__( 'Horizontal', 'elementor' ), |
| 194 | 176 | 'icon' => 'eicon-v-align-top', |
| 195 | 177 | ], |
| 196 | 178 | ], |
| 197 | - 'classes' => 'elementor-control-start-end', | |
| 198 | 179 | 'prefix_class' => 'elementor-tabs-view-', |
| 199 | 180 | 'separator' => 'before', |
| 200 | 181 | ] |
| 201 | 182 | ); |
| @@ -422,10 +403,10 @@ | ||
| 422 | 403 | [ |
| 423 | 404 | 'label' => esc_html__( 'Alignment', 'elementor' ), |
| 424 | 405 | 'type' => Controls_Manager::CHOOSE, |
| 425 | 406 | 'options' => [ |
| 426 | - 'start' => [ | |
| 427 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 407 | + 'left' => [ | |
| 408 | + 'title' => esc_html__( 'Left', 'elementor' ), | |
| 428 | 409 | 'icon' => 'eicon-text-align-left', |
| 429 | 410 | ], |
| 430 | 411 | 'center' => [ |
| 431 | 412 | 'title' => esc_html__( 'Center', 'elementor' ), |
| @@ -430,17 +411,12 @@ | ||
| 430 | 411 | 'center' => [ |
| 431 | 412 | 'title' => esc_html__( 'Center', 'elementor' ), |
| 432 | 413 | 'icon' => 'eicon-text-align-center', |
| 433 | 414 | ], |
| 434 | - 'end' => [ | |
| 435 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 415 | + 'right' => [ | |
| 416 | + 'title' => esc_html__( 'Right', 'elementor' ), | |
| 436 | 417 | 'icon' => 'eicon-text-align-right', |
| 437 | 418 | ], |
| 438 | - ], | |
| 439 | - 'classes' => 'elementor-control-start-end', | |
| 440 | - 'selectors_dictionary' => [ | |
| 441 | - 'left' => is_rtl() ? 'end' : 'start', | |
| 442 | - 'right' => is_rtl() ? 'start' : 'end', | |
| 443 | 419 | ], |
| 444 | 420 | 'selectors' => [ |
| 445 | 421 | '{{WRAPPER}} .elementor-tab-title' => 'text-align: {{VALUE}};', |
| 446 | 422 | ], |