general_components(); $components = array_merge( $components, array( 'typography' => array( 'hidden' => true ), 'animation' => array( 'hidden' => true ), 'responsive' => array( 'hidden' => true ), 'styles-templates' => array( 'hidden' => true ), ) ); $components['layout']['disabled_controls'] = array( 'Display', 'Alignment' ); $components['shadow']['config']['important'] = true; $components['tvd-login-password-button'] = array( 'config' => array( 'Color' => array( 'config' => array( 'default' => '000', 'label' => __( 'Color', TVE_DASH_TRANSLATE_DOMAIN ), 'options' => array( 'output' => 'object', ), ), 'extends' => 'ColorPicker', ), ), ); return $components; } public function hide() { return true; } } return new Password_Button( 'tvd-login-password-button' );