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

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

The 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 paperPaperClassesMod {
  
  @JSImport("@mui/material/Paper/paperClasses", JSImport.Namespace)
  @js.native
  val ^ : js.Any = js.native
  
  @JSImport("@mui/material/Paper/paperClasses", JSImport.Default)
  @js.native
  val default: PaperClasses = js.native
  
  inline def getPaperUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getPaperUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
  
  type PaperClassKey = "root" | "rounded" | "outlined" | "elevation" | "elevation0" | "elevation1" | "elevation2" | "elevation3" | "elevation4" | "elevation5" | "elevation6" | "elevation7" | "elevation8" | "elevation9" | "elevation10" | "elevation11" | "elevation12" | "elevation13" | "elevation14" | "elevation15" | "elevation16" | "elevation17" | "elevation18" | "elevation19" | "elevation20" | "elevation21" | "elevation22" | "elevation23" | "elevation24"
  
  trait PaperClasses extends StObject {
    
    /** Styles applied to the root element if `variant="elevation"`. */
    var elevation: String
    
    var elevation0: String
    
    var elevation1: String
    
    var elevation10: String
    
    var elevation11: String
    
    var elevation12: String
    
    var elevation13: String
    
    var elevation14: String
    
    var elevation15: String
    
    var elevation16: String
    
    var elevation17: String
    
    var elevation18: String
    
    var elevation19: String
    
    var elevation2: String
    
    var elevation20: String
    
    var elevation21: String
    
    var elevation22: String
    
    var elevation23: String
    
    var elevation24: String
    
    var elevation3: String
    
    var elevation4: String
    
    var elevation5: String
    
    var elevation6: String
    
    var elevation7: String
    
    var elevation8: String
    
    var elevation9: String
    
    /** Styles applied to the root element if `variant="outlined"`. */
    var outlined: String
    
    /** Styles applied to the root element. */
    var root: String
    
    /** Styles applied to the root element unless `square={true}`. */
    var rounded: String
  }
  object PaperClasses {
    
    inline def apply(
      elevation: String,
      elevation0: String,
      elevation1: String,
      elevation10: String,
      elevation11: String,
      elevation12: String,
      elevation13: String,
      elevation14: String,
      elevation15: String,
      elevation16: String,
      elevation17: String,
      elevation18: String,
      elevation19: String,
      elevation2: String,
      elevation20: String,
      elevation21: String,
      elevation22: String,
      elevation23: String,
      elevation24: String,
      elevation3: String,
      elevation4: String,
      elevation5: String,
      elevation6: String,
      elevation7: String,
      elevation8: String,
      elevation9: String,
      outlined: String,
      root: String,
      rounded: String
    ): PaperClasses = {
      val __obj = js.Dynamic.literal(elevation = elevation.asInstanceOf[js.Any], elevation0 = elevation0.asInstanceOf[js.Any], elevation1 = elevation1.asInstanceOf[js.Any], elevation10 = elevation10.asInstanceOf[js.Any], elevation11 = elevation11.asInstanceOf[js.Any], elevation12 = elevation12.asInstanceOf[js.Any], elevation13 = elevation13.asInstanceOf[js.Any], elevation14 = elevation14.asInstanceOf[js.Any], elevation15 = elevation15.asInstanceOf[js.Any], elevation16 = elevation16.asInstanceOf[js.Any], elevation17 = elevation17.asInstanceOf[js.Any], elevation18 = elevation18.asInstanceOf[js.Any], elevation19 = elevation19.asInstanceOf[js.Any], elevation2 = elevation2.asInstanceOf[js.Any], elevation20 = elevation20.asInstanceOf[js.Any], elevation21 = elevation21.asInstanceOf[js.Any], elevation22 = elevation22.asInstanceOf[js.Any], elevation23 = elevation23.asInstanceOf[js.Any], elevation24 = elevation24.asInstanceOf[js.Any], elevation3 = elevation3.asInstanceOf[js.Any], elevation4 = elevation4.asInstanceOf[js.Any], elevation5 = elevation5.asInstanceOf[js.Any], elevation6 = elevation6.asInstanceOf[js.Any], elevation7 = elevation7.asInstanceOf[js.Any], elevation8 = elevation8.asInstanceOf[js.Any], elevation9 = elevation9.asInstanceOf[js.Any], outlined = outlined.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], rounded = rounded.asInstanceOf[js.Any])
      __obj.asInstanceOf[PaperClasses]
    }
    
    @scala.inline
    implicit open class MutableBuilder[Self <: PaperClasses] (val x: Self) extends AnyVal {
      
      inline def setElevation(value: String): Self = StObject.set(x, "elevation", value.asInstanceOf[js.Any])
      
      inline def setElevation0(value: String): Self = StObject.set(x, "elevation0", value.asInstanceOf[js.Any])
      
      inline def setElevation1(value: String): Self = StObject.set(x, "elevation1", value.asInstanceOf[js.Any])
      
      inline def setElevation10(value: String): Self = StObject.set(x, "elevation10", value.asInstanceOf[js.Any])
      
      inline def setElevation11(value: String): Self = StObject.set(x, "elevation11", value.asInstanceOf[js.Any])
      
      inline def setElevation12(value: String): Self = StObject.set(x, "elevation12", value.asInstanceOf[js.Any])
      
      inline def setElevation13(value: String): Self = StObject.set(x, "elevation13", value.asInstanceOf[js.Any])
      
      inline def setElevation14(value: String): Self = StObject.set(x, "elevation14", value.asInstanceOf[js.Any])
      
      inline def setElevation15(value: String): Self = StObject.set(x, "elevation15", value.asInstanceOf[js.Any])
      
      inline def setElevation16(value: String): Self = StObject.set(x, "elevation16", value.asInstanceOf[js.Any])
      
      inline def setElevation17(value: String): Self = StObject.set(x, "elevation17", value.asInstanceOf[js.Any])
      
      inline def setElevation18(value: String): Self = StObject.set(x, "elevation18", value.asInstanceOf[js.Any])
      
      inline def setElevation19(value: String): Self = StObject.set(x, "elevation19", value.asInstanceOf[js.Any])
      
      inline def setElevation2(value: String): Self = StObject.set(x, "elevation2", value.asInstanceOf[js.Any])
      
      inline def setElevation20(value: String): Self = StObject.set(x, "elevation20", value.asInstanceOf[js.Any])
      
      inline def setElevation21(value: String): Self = StObject.set(x, "elevation21", value.asInstanceOf[js.Any])
      
      inline def setElevation22(value: String): Self = StObject.set(x, "elevation22", value.asInstanceOf[js.Any])
      
      inline def setElevation23(value: String): Self = StObject.set(x, "elevation23", value.asInstanceOf[js.Any])
      
      inline def setElevation24(value: String): Self = StObject.set(x, "elevation24", value.asInstanceOf[js.Any])
      
      inline def setElevation3(value: String): Self = StObject.set(x, "elevation3", value.asInstanceOf[js.Any])
      
      inline def setElevation4(value: String): Self = StObject.set(x, "elevation4", value.asInstanceOf[js.Any])
      
      inline def setElevation5(value: String): Self = StObject.set(x, "elevation5", value.asInstanceOf[js.Any])
      
      inline def setElevation6(value: String): Self = StObject.set(x, "elevation6", value.asInstanceOf[js.Any])
      
      inline def setElevation7(value: String): Self = StObject.set(x, "elevation7", value.asInstanceOf[js.Any])
      
      inline def setElevation8(value: String): Self = StObject.set(x, "elevation8", value.asInstanceOf[js.Any])
      
      inline def setElevation9(value: String): Self = StObject.set(x, "elevation9", value.asInstanceOf[js.Any])
      
      inline def setOutlined(value: String): Self = StObject.set(x, "outlined", value.asInstanceOf[js.Any])
      
      inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
      
      inline def setRounded(value: String): Self = StObject.set(x, "rounded", value.asInstanceOf[js.Any])
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy