-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MUI. Fix and unify all "classes" declarations
- Loading branch information
1 parent
de43332
commit 564be51
Showing
307 changed files
with
2,468 additions
and
5,126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:JsModule("@mui/base/Badge") | ||
|
||
package mui.base | ||
|
||
import seskar.js.JsValue | ||
import seskar.js.JsVirtual | ||
import web.cssom.ClassName | ||
|
||
@JsVirtual | ||
sealed external interface BadgeClasses { | ||
companion object { | ||
/** Class name applied to the root element. */ | ||
@JsValue("base-Badge-root") | ||
val root: ClassName | ||
external interface BadgeClasses { | ||
/** Class name applied to the root element. */ | ||
var root: ClassName | ||
|
||
/** Class name applied to the badge `span` element. */ | ||
var badge: ClassName | ||
|
||
/** Class name applied to the badge `span` element. */ | ||
@JsValue("base-Badge-badge") | ||
val badge: ClassName | ||
/** State class applied to the badge `span` element if `invisible={true}`. */ | ||
var invisible: ClassName | ||
} | ||
|
||
/** State class applied to the badge `span` element if `invisible={true}`. */ | ||
@JsValue("base-Badge-invisible") | ||
val invisible: ClassName | ||
} | ||
external object badgeClasses : BadgeClasses { | ||
override var root: ClassName = definedExternally | ||
override var badge: ClassName = definedExternally | ||
override var invisible: ClassName = definedExternally | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:JsModule("@mui/base/Button") | ||
|
||
package mui.base | ||
|
||
import seskar.js.JsValue | ||
import seskar.js.JsVirtual | ||
import web.cssom.ClassName | ||
|
||
@JsVirtual | ||
sealed external interface ButtonClasses { | ||
companion object { | ||
/** Class name applied to the root element. */ | ||
@JsValue("base-Button-root") | ||
val root: ClassName | ||
|
||
/** State class applied to the root `button` element if `active={true}`. */ | ||
@JsValue("base--active") | ||
val active: ClassName | ||
|
||
/** State class applied to the root `button` element if `disabled={true}`. */ | ||
@JsValue("base--disabled") | ||
val disabled: ClassName | ||
|
||
/** State class applied to the root `button` element if `focusVisible={true}`. */ | ||
@JsValue("base--focusVisible") | ||
val focusVisible: ClassName | ||
} | ||
external interface ButtonClasses { | ||
/** Class name applied to the root element. */ | ||
var root: ClassName | ||
|
||
/** State class applied to the root `button` element if `active={true}`. */ | ||
var active: ClassName | ||
|
||
/** State class applied to the root `button` element if `disabled={true}`. */ | ||
var disabled: ClassName | ||
|
||
/** State class applied to the root `button` element if `focusVisible={true}`. */ | ||
var focusVisible: ClassName | ||
} | ||
|
||
external object buttonClasses : ButtonClasses { | ||
override var root: ClassName = definedExternally | ||
override var active: ClassName = definedExternally | ||
override var disabled: ClassName = definedExternally | ||
override var focusVisible: ClassName = definedExternally | ||
} |
58 changes: 29 additions & 29 deletions
58
mui-kotlin/src/jsMain/kotlin/mui/base/FormControl.classes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:JsModule("@mui/base/FormControl") | ||
|
||
package mui.base | ||
|
||
import seskar.js.JsValue | ||
import seskar.js.JsVirtual | ||
import web.cssom.ClassName | ||
|
||
@JsVirtual | ||
sealed external interface FormControlClasses { | ||
companion object { | ||
/** Class applied to the root element. */ | ||
@JsValue("base-FormControl-root") | ||
val root: ClassName | ||
|
||
/** State class applied to the root element if `disabled={true}`. */ | ||
@JsValue("base--disabled") | ||
val disabled: ClassName | ||
|
||
/** State class applied to the root element if `error={true}`. */ | ||
@JsValue("base--error") | ||
val error: ClassName | ||
|
||
/** State class applied to the root element if the inner input has value. */ | ||
@JsValue("base-FormControl-filled") | ||
val filled: ClassName | ||
|
||
/** State class applied to the root element if the inner input is focused. */ | ||
@JsValue("base--focused") | ||
val focused: ClassName | ||
|
||
/** State class applied to the root element if `required={true}`. */ | ||
@JsValue("base--required") | ||
val required: ClassName | ||
} | ||
external interface FormControlClasses { | ||
/** Class applied to the root element. */ | ||
var root: ClassName | ||
|
||
/** State class applied to the root element if `disabled={true}`. */ | ||
var disabled: ClassName | ||
|
||
/** State class applied to the root element if `error={true}`. */ | ||
var error: ClassName | ||
|
||
/** State class applied to the root element if the inner input has value. */ | ||
var filled: ClassName | ||
|
||
/** State class applied to the root element if the inner input is focused. */ | ||
var focused: ClassName | ||
|
||
/** State class applied to the root element if `required={true}`. */ | ||
var required: ClassName | ||
} | ||
|
||
external object formControlClasses : FormControlClasses { | ||
override var root: ClassName = definedExternally | ||
override var disabled: ClassName = definedExternally | ||
override var error: ClassName = definedExternally | ||
override var filled: ClassName = definedExternally | ||
override var focused: ClassName = definedExternally | ||
override var required: ClassName = definedExternally | ||
} |
Oops, something went wrong.