Skip to content

Commit

Permalink
MUI: Regenerate Declarations (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
porotkin authored Dec 15, 2023
1 parent a5270a3 commit b90a4e9
Show file tree
Hide file tree
Showing 152 changed files with 2,342 additions and 314 deletions.
10 changes: 8 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Badge.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiBadge-root', badge: 'MuiBadge-badge', invisible: 'MuiBadge-invisible'}/*union*/)""")
@JsVirtual
sealed external interface MuiBadge {
companion object {
@JsValue("MuiBadge-root")
val root: ClassName

@JsValue("MuiBadge-badge")
val badge: ClassName

@JsValue("MuiBadge-invisible")
val invisible: ClassName
}
}
6 changes: 4 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Button.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiButton-root'}/*union*/)""")
@JsVirtual
sealed external interface MuiButton {
companion object {
@JsValue("MuiButton-root")
val root: ClassName
}
}
8 changes: 6 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/FormControl.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiFormControl-root', filled: 'MuiFormControl-filled'}/*union*/)""")
@JsVirtual
sealed external interface MuiFormControl {
companion object {
@JsValue("MuiFormControl-root")
val root: ClassName

@JsValue("MuiFormControl-filled")
val filled: ClassName
}
}
20 changes: 18 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Input.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,35 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiInput-root', formControl: 'MuiInput-formControl', adornedStart: 'MuiInput-adornedStart', adornedEnd: 'MuiInput-adornedEnd', multiline: 'MuiInput-multiline', input: 'MuiInput-input', inputMultiline: 'MuiInput-inputMultiline', inputTypeSearch: 'MuiInput-inputTypeSearch'}/*union*/)""")
@JsVirtual
sealed external interface MuiInput {
companion object {
@JsValue("MuiInput-root")
val root: ClassName

@JsValue("MuiInput-formControl")
val formControl: ClassName

@JsValue("MuiInput-adornedStart")
val adornedStart: ClassName

@JsValue("MuiInput-adornedEnd")
val adornedEnd: ClassName

@JsValue("MuiInput-multiline")
val multiline: ClassName

@JsValue("MuiInput-input")
val input: ClassName

@JsValue("MuiInput-inputMultiline")
val inputMultiline: ClassName

@JsValue("MuiInput-inputTypeSearch")
val inputTypeSearch: ClassName
}
}
8 changes: 6 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Menu.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiMenu-root', listbox: 'MuiMenu-listbox'}/*union*/)""")
@JsVirtual
sealed external interface MuiMenu {
companion object {
@JsValue("MuiMenu-root")
val root: ClassName

@JsValue("MuiMenu-listbox")
val listbox: ClassName
}
}
6 changes: 4 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/MenuButton.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiMenuButton-root'}/*union*/)""")
@JsVirtual
sealed external interface MuiMenuButton {
companion object {
@JsValue("MuiMenuButton-root")
val root: ClassName
}
}
6 changes: 4 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/MenuItem.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiMenuItem-root'}/*union*/)""")
@JsVirtual
sealed external interface MuiMenuItem {
companion object {
@JsValue("MuiMenuItem-root")
val root: ClassName
}
}
10 changes: 8 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Modal.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiModal-root', hidden: 'MuiModal-hidden', backdrop: 'MuiModal-backdrop'}/*union*/)""")
@JsVirtual
sealed external interface MuiModal {
companion object {
@JsValue("MuiModal-root")
val root: ClassName

@JsValue("MuiModal-hidden")
val hidden: ClassName

@JsValue("MuiModal-backdrop")
val backdrop: ClassName
}
}
8 changes: 6 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Option.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiOption-root', highlighted: 'MuiOption-highlighted'}/*union*/)""")
@JsVirtual
sealed external interface MuiOption {
companion object {
@JsValue("MuiOption-root")
val root: ClassName

@JsValue("MuiOption-highlighted")
val highlighted: ClassName
}
}
10 changes: 8 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/OptionGroup.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiOptionGroup-root', label: 'MuiOptionGroup-label', list: 'MuiOptionGroup-list'}/*union*/)""")
@JsVirtual
sealed external interface MuiOptionGroup {
companion object {
@JsValue("MuiOptionGroup-root")
val root: ClassName

@JsValue("MuiOptionGroup-label")
val label: ClassName

@JsValue("MuiOptionGroup-list")
val list: ClassName
}
}
6 changes: 4 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Popper.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiPopper-root'}/*union*/)""")
@JsVirtual
sealed external interface MuiPopper {
companion object {
@JsValue("MuiPopper-root")
val root: ClassName
}
}
10 changes: 8 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Select.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiSelect-root', listbox: 'MuiSelect-listbox', popper: 'MuiSelect-popper'}/*union*/)""")
@JsVirtual
sealed external interface MuiSelect {
companion object {
@JsValue("MuiSelect-root")
val root: ClassName

@JsValue("MuiSelect-listbox")
val listbox: ClassName

@JsValue("MuiSelect-popper")
val popper: ClassName
}
}
30 changes: 28 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Slider.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,50 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiSlider-root', marked: 'MuiSlider-marked', vertical: 'MuiSlider-vertical', dragging: 'MuiSlider-dragging', rail: 'MuiSlider-rail', track: 'MuiSlider-track', trackFalse: 'MuiSlider-trackFalse', trackInverted: 'MuiSlider-trackInverted', thumb: 'MuiSlider-thumb', mark: 'MuiSlider-mark', markActive: 'MuiSlider-markActive', markLabel: 'MuiSlider-markLabel', markLabelActive: 'MuiSlider-markLabelActive'}/*union*/)""")
@JsVirtual
sealed external interface MuiSlider {
companion object {
@JsValue("MuiSlider-root")
val root: ClassName

@JsValue("MuiSlider-marked")
val marked: ClassName

@JsValue("MuiSlider-vertical")
val vertical: ClassName

@JsValue("MuiSlider-dragging")
val dragging: ClassName

@JsValue("MuiSlider-rail")
val rail: ClassName

@JsValue("MuiSlider-track")
val track: ClassName

@JsValue("MuiSlider-trackFalse")
val trackFalse: ClassName

@JsValue("MuiSlider-trackInverted")
val trackInverted: ClassName

@JsValue("MuiSlider-thumb")
val thumb: ClassName

@JsValue("MuiSlider-mark")
val mark: ClassName

@JsValue("MuiSlider-markActive")
val markActive: ClassName

@JsValue("MuiSlider-markLabel")
val markLabel: ClassName

@JsValue("MuiSlider-markLabelActive")
val markLabelActive: ClassName
}
}
6 changes: 4 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Snackbar.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiSnackbar-root'}/*union*/)""")
@JsVirtual
sealed external interface MuiSnackbar {
companion object {
@JsValue("MuiSnackbar-root")
val root: ClassName
}
}
14 changes: 12 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Switch.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,26 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiSwitch-root', input: 'MuiSwitch-input', track: 'MuiSwitch-track', thumb: 'MuiSwitch-thumb', readOnly: 'MuiSwitch-readOnly'}/*union*/)""")
@JsVirtual
sealed external interface MuiSwitch {
companion object {
@JsValue("MuiSwitch-root")
val root: ClassName

@JsValue("MuiSwitch-input")
val input: ClassName

@JsValue("MuiSwitch-track")
val track: ClassName

@JsValue("MuiSwitch-thumb")
val thumb: ClassName

@JsValue("MuiSwitch-readOnly")
val readOnly: ClassName
}
}
6 changes: 4 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/Tab.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiTab-root'}/*union*/)""")
@JsVirtual
sealed external interface MuiTab {
companion object {
@JsValue("MuiTab-root")
val root: ClassName
}
}
8 changes: 6 additions & 2 deletions mui-kotlin/src/jsMain/kotlin/mui/base/TabPanel.mui.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@

package mui.base

import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName

// language=JavaScript
@JsName("""(/*union*/{root: 'MuiTabPanel-root', hidden: 'MuiTabPanel-hidden'}/*union*/)""")
@JsVirtual
sealed external interface MuiTabPanel {
companion object {
@JsValue("MuiTabPanel-root")
val root: ClassName

@JsValue("MuiTabPanel-hidden")
val hidden: ClassName
}
}
Loading

0 comments on commit b90a4e9

Please sign in to comment.