Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.olvind.mui.muiMaterial.outlinedInputOutlinedInputClassesMod.scala Maven / Gradle / Ivy
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 outlinedInputOutlinedInputClassesMod {
@JSImport("@mui/material/OutlinedInput/outlinedInputClasses", JSImport.Namespace)
@js.native
val ^ : js.Any = js.native
@JSImport("@mui/material/OutlinedInput/outlinedInputClasses", JSImport.Default)
@js.native
val default: OutlinedInputClasses = js.native
inline def getOutlinedInputUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getOutlinedInputUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
type OutlinedInputClassKey = "root" | "colorSecondary" | "focused" | "disabled" | "adornedStart" | "adornedEnd" | "error" | "sizeSmall" | "multiline" | "notchedOutline" | "input" | "inputSizeSmall" | "inputMultiline" | "inputAdornedStart" | "inputAdornedEnd"
trait OutlinedInputClasses 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 the color is secondary. */
var colorSecondary: String
/** Styles applied to the root element if `disabled={true}`. */
var disabled: String
/** State class applied to the root element if `error={true}`. */
var error: String
/** Styles applied to the root element if the component is focused. */
var focused: 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 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 NotchedOutline element. */
var notchedOutline: String
/** Styles applied to the root element. */
var root: String
/** Styles applied to the input element if `size="small"`. */
var sizeSmall: String
}
object OutlinedInputClasses {
inline def apply(
adornedEnd: String,
adornedStart: String,
colorSecondary: String,
disabled: String,
error: String,
focused: String,
input: String,
inputAdornedEnd: String,
inputAdornedStart: String,
inputMultiline: String,
inputSizeSmall: String,
multiline: String,
notchedOutline: String,
root: String,
sizeSmall: String
): OutlinedInputClasses = {
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], input = input.asInstanceOf[js.Any], inputAdornedEnd = inputAdornedEnd.asInstanceOf[js.Any], inputAdornedStart = inputAdornedStart.asInstanceOf[js.Any], inputMultiline = inputMultiline.asInstanceOf[js.Any], inputSizeSmall = inputSizeSmall.asInstanceOf[js.Any], multiline = multiline.asInstanceOf[js.Any], notchedOutline = notchedOutline.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], sizeSmall = sizeSmall.asInstanceOf[js.Any])
__obj.asInstanceOf[OutlinedInputClasses]
}
@scala.inline
implicit open class MutableBuilder[Self <: OutlinedInputClasses] (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 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 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 setNotchedOutline(value: String): Self = StObject.set(x, "notchedOutline", 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])
}
}
}