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

com.olvind.mui.muiMaterial.stepLabelStepLabelClassesMod.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 stepLabelStepLabelClassesMod {
  
  @JSImport("@mui/material/StepLabel/stepLabelClasses", JSImport.Namespace)
  @js.native
  val ^ : js.Any = js.native
  
  @JSImport("@mui/material/StepLabel/stepLabelClasses", JSImport.Default)
  @js.native
  val default: StepLabelClasses = js.native
  
  inline def getStepLabelUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getStepLabelUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
  
  type StepLabelClassKey = "root" | "horizontal" | "vertical" | "label" | "active" | "completed" | "error" | "disabled" | "iconContainer" | "alternativeLabel" | "labelContainer"
  
  trait StepLabelClasses extends StObject {
    
    /** State class applied to the label element if `active={true}`. */
    var active: String
    
    /** State class applied to the root and icon container and label if `alternativeLabel={true}`. */
    var alternativeLabel: String
    
    /** State class applied to the label element if `completed={true}`. */
    var completed: String
    
    /** State class applied to the root and label elements if `disabled={true}`. */
    var disabled: String
    
    /** State class applied to the root and label elements if `error={true}`. */
    var error: String
    
    /** Styles applied to the root element if `orientation="horizontal"`. */
    var horizontal: String
    
    /** Styles applied to the `icon` container element. */
    var iconContainer: String
    
    /** Styles applied to the label element that wraps `children`. */
    var label: String
    
    /** Styles applied to the container element which wraps label and `optional`. */
    var labelContainer: String
    
    /** Styles applied to the root element. */
    var root: String
    
    /** Styles applied to the root element if `orientation="vertical"`. */
    var vertical: String
  }
  object StepLabelClasses {
    
    inline def apply(
      active: String,
      alternativeLabel: String,
      completed: String,
      disabled: String,
      error: String,
      horizontal: String,
      iconContainer: String,
      label: String,
      labelContainer: String,
      root: String,
      vertical: String
    ): StepLabelClasses = {
      val __obj = js.Dynamic.literal(active = active.asInstanceOf[js.Any], alternativeLabel = alternativeLabel.asInstanceOf[js.Any], completed = completed.asInstanceOf[js.Any], disabled = disabled.asInstanceOf[js.Any], error = error.asInstanceOf[js.Any], horizontal = horizontal.asInstanceOf[js.Any], iconContainer = iconContainer.asInstanceOf[js.Any], label = label.asInstanceOf[js.Any], labelContainer = labelContainer.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], vertical = vertical.asInstanceOf[js.Any])
      __obj.asInstanceOf[StepLabelClasses]
    }
    
    @scala.inline
    implicit open class MutableBuilder[Self <: StepLabelClasses] (val x: Self) extends AnyVal {
      
      inline def setActive(value: String): Self = StObject.set(x, "active", value.asInstanceOf[js.Any])
      
      inline def setAlternativeLabel(value: String): Self = StObject.set(x, "alternativeLabel", value.asInstanceOf[js.Any])
      
      inline def setCompleted(value: String): Self = StObject.set(x, "completed", 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 setHorizontal(value: String): Self = StObject.set(x, "horizontal", value.asInstanceOf[js.Any])
      
      inline def setIconContainer(value: String): Self = StObject.set(x, "iconContainer", value.asInstanceOf[js.Any])
      
      inline def setLabel(value: String): Self = StObject.set(x, "label", value.asInstanceOf[js.Any])
      
      inline def setLabelContainer(value: String): Self = StObject.set(x, "labelContainer", value.asInstanceOf[js.Any])
      
      inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
      
      inline def setVertical(value: String): Self = StObject.set(x, "vertical", value.asInstanceOf[js.Any])
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy