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

com.olvind.mui.muiMaterial.filledInputFilledInputClassesMod.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 filledInputFilledInputClassesMod {
  
  @JSImport("@mui/material/FilledInput/filledInputClasses", JSImport.Namespace)
  @js.native
  val ^ : js.Any = js.native
  
  @JSImport("@mui/material/FilledInput/filledInputClasses", JSImport.Default)
  @js.native
  val default: FilledInputClasses = js.native
  
  inline def getFilledInputUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getFilledInputUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
  
  type FilledInputClassKey = "root" | "colorSecondary" | "underline" | "focused" | "disabled" | "adornedStart" | "adornedEnd" | "error" | "sizeSmall" | "multiline" | "hiddenLabel" | "input" | "inputSizeSmall" | "inputHiddenLabel" | "inputMultiline" | "inputAdornedStart" | "inputAdornedEnd"
  
  trait FilledInputClasses extends StObject {
    
    /** Styles applied to the root element if `endAdornment` is provided. */
    var adornedEnd: String
    
    /** Styles applied to the root element if `startAdornment` is provided. */
    var adornedStart: String
    
    /** Styles applied to the root element if color secondary. */
    var colorSecondary: String
    
    /** State class applied to the root element if `disabled={true}`. */
    var disabled: String
    
    /** State class applied to the root element if `error={true}`. */
    var error: String
    
    /** State class applied to the root element if the component is focused. */
    var focused: String
    
    /** Styles applied to the root element if `hiddenLabel={true}`. */
    var hiddenLabel: String
    
    /** Styles applied to the input element. */
    var input: String
    
    /** Styles applied to the input element if `endAdornment` is provided. */
    var inputAdornedEnd: String
    
    /** Styles applied to the input element if `startAdornment` is provided. */
    var inputAdornedStart: String
    
    /** Styles applied to the `input` if in ``. */
    var inputHiddenLabel: String
    
    /** Styles applied to the input element if `multiline={true}`. */
    var inputMultiline: String
    
    /** Styles applied to the input element if `size="small"`. */
    var inputSizeSmall: String
    
    /** Styles applied to the root element if `multiline={true}`. */
    var multiline: String
    
    /** Styles applied to the root element. */
    var root: String
    
    /** Styles applied to the input element if `size="small"`. */
    var sizeSmall: String
    
    /** Styles applied to the root element unless `disableUnderline={true}`. */
    var underline: String
  }
  object FilledInputClasses {
    
    inline def apply(
      adornedEnd: String,
      adornedStart: String,
      colorSecondary: String,
      disabled: String,
      error: String,
      focused: String,
      hiddenLabel: String,
      input: String,
      inputAdornedEnd: String,
      inputAdornedStart: String,
      inputHiddenLabel: String,
      inputMultiline: String,
      inputSizeSmall: String,
      multiline: String,
      root: String,
      sizeSmall: String,
      underline: String
    ): FilledInputClasses = {
      val __obj = js.Dynamic.literal(adornedEnd = adornedEnd.asInstanceOf[js.Any], adornedStart = adornedStart.asInstanceOf[js.Any], colorSecondary = colorSecondary.asInstanceOf[js.Any], disabled = disabled.asInstanceOf[js.Any], error = error.asInstanceOf[js.Any], focused = focused.asInstanceOf[js.Any], hiddenLabel = hiddenLabel.asInstanceOf[js.Any], input = input.asInstanceOf[js.Any], inputAdornedEnd = inputAdornedEnd.asInstanceOf[js.Any], inputAdornedStart = inputAdornedStart.asInstanceOf[js.Any], inputHiddenLabel = inputHiddenLabel.asInstanceOf[js.Any], inputMultiline = inputMultiline.asInstanceOf[js.Any], inputSizeSmall = inputSizeSmall.asInstanceOf[js.Any], multiline = multiline.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], sizeSmall = sizeSmall.asInstanceOf[js.Any], underline = underline.asInstanceOf[js.Any])
      __obj.asInstanceOf[FilledInputClasses]
    }
    
    @scala.inline
    implicit open class MutableBuilder[Self <: FilledInputClasses] (val x: Self) extends AnyVal {
      
      inline def setAdornedEnd(value: String): Self = StObject.set(x, "adornedEnd", value.asInstanceOf[js.Any])
      
      inline def setAdornedStart(value: String): Self = StObject.set(x, "adornedStart", value.asInstanceOf[js.Any])
      
      inline def setColorSecondary(value: String): Self = StObject.set(x, "colorSecondary", value.asInstanceOf[js.Any])
      
      inline def setDisabled(value: String): Self = StObject.set(x, "disabled", value.asInstanceOf[js.Any])
      
      inline def setError(value: String): Self = StObject.set(x, "error", value.asInstanceOf[js.Any])
      
      inline def setFocused(value: String): Self = StObject.set(x, "focused", value.asInstanceOf[js.Any])
      
      inline def setHiddenLabel(value: String): Self = StObject.set(x, "hiddenLabel", value.asInstanceOf[js.Any])
      
      inline def setInput(value: String): Self = StObject.set(x, "input", value.asInstanceOf[js.Any])
      
      inline def setInputAdornedEnd(value: String): Self = StObject.set(x, "inputAdornedEnd", value.asInstanceOf[js.Any])
      
      inline def setInputAdornedStart(value: String): Self = StObject.set(x, "inputAdornedStart", value.asInstanceOf[js.Any])
      
      inline def setInputHiddenLabel(value: String): Self = StObject.set(x, "inputHiddenLabel", value.asInstanceOf[js.Any])
      
      inline def setInputMultiline(value: String): Self = StObject.set(x, "inputMultiline", value.asInstanceOf[js.Any])
      
      inline def setInputSizeSmall(value: String): Self = StObject.set(x, "inputSizeSmall", value.asInstanceOf[js.Any])
      
      inline def setMultiline(value: String): Self = StObject.set(x, "multiline", value.asInstanceOf[js.Any])
      
      inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
      
      inline def setSizeSmall(value: String): Self = StObject.set(x, "sizeSmall", value.asInstanceOf[js.Any])
      
      inline def setUnderline(value: String): Self = StObject.set(x, "underline", value.asInstanceOf[js.Any])
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy