general_components(), [ 'menu_hamburger_wrapper' => [ 'config' => [ 'BoxWidth' => [ 'config' => [ 'default' => '1024', 'min' => '100', 'max' => '2000', 'label' => __( 'Maximum Width', 'thrive-cb' ), 'um' => [ 'px', '%' ], 'css' => 'max-width', ], 'extends' => 'Slider', ], 'HorizontalPosition' => [ 'config' => [ 'name' => __( 'Horizontal position', 'thrive-cb' ), 'buttons' => [ [ 'icon' => 'a_right', 'text' => '', 'value' => 'left', ], [ 'icon' => 'a_center', 'text' => '', 'value' => 'center', 'default' => true, ], [ 'icon' => 'a_left', 'text' => '', 'value' => 'right', ], ], ], 'extends' => 'ButtonGroup', ], 'BoxHeight' => [ 'config' => [ 'default' => '80', 'min' => '1', 'max' => '1000', 'label' => __( 'Minimum Height', 'thrive-cb' ), 'um' => [ 'px', 'vh' ], 'css' => 'min-height', ], 'extends' => 'Slider', ], 'VerticalPosition' => [ 'config' => [ 'name' => __( 'Vertical Position', 'thrive-cb' ), 'buttons' => [ [ 'icon' => 'top', 'default' => true, 'value' => 'flex-start', ], [ 'icon' => 'vertical', 'value' => 'center', ], [ 'icon' => 'bot', 'value' => 'flex-end', ], ], ], 'extends' => 'ButtonGroup', ], ], ], 'background' => [ 'config' => [ 'ColorPicker' => [ 'config' => [ 'important' => false, ], ], ], ], 'layout' => [ 'disabled_controls' => [ 'Display', 'Width', 'Height', 'Alignment', '.tve-advanced-controls', 'margin', ], ], 'borders' => [ 'config' => [ 'Corners' => [ 'overflow' => false, ], ], ], 'animation' => [ 'hidden' => true ], 'responsive' => [ 'hidden' => true ], 'styles-templates' => [ 'hidden' => true ], ] ); foreach ( $components['typography']['config'] as $control => $config ) { if ( is_array( $config ) ) { $components['typography']['config'][ $control ]['important'] = true; } } return $components; } public function hide() { return true; } }