All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.olvind.mui.muiMaterial.alertAlertClassesMod.scala Maven / Gradle / Ivy

There is a newer version: 5.11.16
Show newest version
package com.olvind.mui.muiMaterial

import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

object alertAlertClassesMod {
  
  @JSImport("@mui/material/Alert/alertClasses", JSImport.Namespace)
  @js.native
  val ^ : js.Any = js.native
  
  @JSImport("@mui/material/Alert/alertClasses", JSImport.Default)
  @js.native
  val default: AlertClasses = js.native
  
  inline def getAlertUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getAlertUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
  
  type AlertClassKey = "root" | "filled" | "outlined" | "standard" | "standardSuccess" | "standardInfo" | "standardWarning" | "standardError" | "outlinedSuccess" | "outlinedInfo" | "outlinedWarning" | "outlinedError" | "filledSuccess" | "filledInfo" | "filledWarning" | "filledError" | "icon" | "message" | "action"
  
  trait AlertClasses extends StObject {
    
    /** Styles applied to the action wrapper element if `action` is provided. */
    var action: String
    
    /** Styles applied to the root element if `variant="filled"`. */
    var filled: String
    
    /** Styles applied to the root element if `variant="filled"` and `color="error"`. */
    var filledError: String
    
    /** Styles applied to the root element if `variant="filled"` and `color="info"`. */
    var filledInfo: String
    
    /** Styles applied to the root element if `variant="filled"` and `color="success"`. */
    var filledSuccess: String
    
    /** Styles applied to the root element if `variant="filled"` and `color="warning"`. */
    var filledWarning: String
    
    /** Styles applied to the icon wrapper element. */
    var icon: String
    
    /** Styles applied to the message wrapper element. */
    var message: String
    
    /** Styles applied to the root element if `variant="outlined"`. */
    var outlined: String
    
    /** Styles applied to the root element if `variant="outlined"` and `color="error"`. */
    var outlinedError: String
    
    /** Styles applied to the root element if `variant="outlined"` and `color="info"`. */
    var outlinedInfo: String
    
    /** Styles applied to the root element if `variant="outlined"` and `color="success"`. */
    var outlinedSuccess: String
    
    /** Styles applied to the root element if `variant="outlined"` and `color="warning"`. */
    var outlinedWarning: String
    
    /** Styles applied to the root element. */
    var root: String
    
    /** Styles applied to the root element if `variant="standard"`. */
    var standard: String
    
    /** Styles applied to the root element if `variant="standard"` and `color="error"`. */
    var standardError: String
    
    /** Styles applied to the root element if `variant="standard"` and `color="info"`. */
    var standardInfo: String
    
    /** Styles applied to the root element if `variant="standard"` and `color="success"`. */
    var standardSuccess: String
    
    /** Styles applied to the root element if `variant="standard"` and `color="warning"`. */
    var standardWarning: String
  }
  object AlertClasses {
    
    inline def apply(
      action: String,
      filled: String,
      filledError: String,
      filledInfo: String,
      filledSuccess: String,
      filledWarning: String,
      icon: String,
      message: String,
      outlined: String,
      outlinedError: String,
      outlinedInfo: String,
      outlinedSuccess: String,
      outlinedWarning: String,
      root: String,
      standard: String,
      standardError: String,
      standardInfo: String,
      standardSuccess: String,
      standardWarning: String
    ): AlertClasses = {
      val __obj = js.Dynamic.literal(action = action.asInstanceOf[js.Any], filled = filled.asInstanceOf[js.Any], filledError = filledError.asInstanceOf[js.Any], filledInfo = filledInfo.asInstanceOf[js.Any], filledSuccess = filledSuccess.asInstanceOf[js.Any], filledWarning = filledWarning.asInstanceOf[js.Any], icon = icon.asInstanceOf[js.Any], message = message.asInstanceOf[js.Any], outlined = outlined.asInstanceOf[js.Any], outlinedError = outlinedError.asInstanceOf[js.Any], outlinedInfo = outlinedInfo.asInstanceOf[js.Any], outlinedSuccess = outlinedSuccess.asInstanceOf[js.Any], outlinedWarning = outlinedWarning.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], standard = standard.asInstanceOf[js.Any], standardError = standardError.asInstanceOf[js.Any], standardInfo = standardInfo.asInstanceOf[js.Any], standardSuccess = standardSuccess.asInstanceOf[js.Any], standardWarning = standardWarning.asInstanceOf[js.Any])
      __obj.asInstanceOf[AlertClasses]
    }
    
    @scala.inline
    implicit open class MutableBuilder[Self <: AlertClasses] (val x: Self) extends AnyVal {
      
      inline def setAction(value: String): Self = StObject.set(x, "action", value.asInstanceOf[js.Any])
      
      inline def setFilled(value: String): Self = StObject.set(x, "filled", value.asInstanceOf[js.Any])
      
      inline def setFilledError(value: String): Self = StObject.set(x, "filledError", value.asInstanceOf[js.Any])
      
      inline def setFilledInfo(value: String): Self = StObject.set(x, "filledInfo", value.asInstanceOf[js.Any])
      
      inline def setFilledSuccess(value: String): Self = StObject.set(x, "filledSuccess", value.asInstanceOf[js.Any])
      
      inline def setFilledWarning(value: String): Self = StObject.set(x, "filledWarning", value.asInstanceOf[js.Any])
      
      inline def setIcon(value: String): Self = StObject.set(x, "icon", value.asInstanceOf[js.Any])
      
      inline def setMessage(value: String): Self = StObject.set(x, "message", value.asInstanceOf[js.Any])
      
      inline def setOutlined(value: String): Self = StObject.set(x, "outlined", value.asInstanceOf[js.Any])
      
      inline def setOutlinedError(value: String): Self = StObject.set(x, "outlinedError", value.asInstanceOf[js.Any])
      
      inline def setOutlinedInfo(value: String): Self = StObject.set(x, "outlinedInfo", value.asInstanceOf[js.Any])
      
      inline def setOutlinedSuccess(value: String): Self = StObject.set(x, "outlinedSuccess", value.asInstanceOf[js.Any])
      
      inline def setOutlinedWarning(value: String): Self = StObject.set(x, "outlinedWarning", value.asInstanceOf[js.Any])
      
      inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
      
      inline def setStandard(value: String): Self = StObject.set(x, "standard", value.asInstanceOf[js.Any])
      
      inline def setStandardError(value: String): Self = StObject.set(x, "standardError", value.asInstanceOf[js.Any])
      
      inline def setStandardInfo(value: String): Self = StObject.set(x, "standardInfo", value.asInstanceOf[js.Any])
      
      inline def setStandardSuccess(value: String): Self = StObject.set(x, "standardSuccess", value.asInstanceOf[js.Any])
      
      inline def setStandardWarning(value: String): Self = StObject.set(x, "standardWarning", value.asInstanceOf[js.Any])
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy