Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aerialist7 committed May 5, 2024
1 parent ee82aa2 commit ae84366
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion buildSrc/src/main/kotlin/karakum/mui/Generator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ private val DEFAULT_IMPORTS = listOf(
"HTMLElement" to "web.html.HTMLElement",

"BoxProps" to "mui.system.BoxProps",
"ModalClasses" to "mui.base.ModalClasses",

"JsVirtual" to "seskar.js.JsVirtual",
"JsValue" to "seskar.js.JsValue",
Expand Down
8 changes: 2 additions & 6 deletions mui-kotlin/src/jsMain/kotlin/mui/base/useMenuItem.types.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

package mui.base

import js.objects.Record
import web.dom.Element
import web.events.Event

external interface MenuItemMetadata {
var id: String

Expand All @@ -23,7 +19,7 @@ external interface UseMenuItemParameters {

var onClick: react.dom.events.MouseEventHandler<*>?

var rootRef: react.Ref<Element>
var rootRef: react.Ref<web.dom.Element>

/**
* If `true`, the menu item won't receive focus when the mouse moves over it.
Expand Down Expand Up @@ -64,7 +60,7 @@ external interface UseMenuItemReturnValue {
/**
* The ref to the component's root DOM element.
*/
var rootRef: react.RefCallback<Element>?
var rootRef: react.RefCallback<web.dom.Element>?

/**
* Total number of items in the menu.
Expand Down
1 change: 0 additions & 1 deletion mui-kotlin/src/jsMain/kotlin/mui/material/Paper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

package mui.material

import web.dom.Element
import mui.material.styles.Theme
import mui.system.SxProps

Expand Down
2 changes: 1 addition & 1 deletion mui-kotlin/src/jsMain/kotlin/mui/material/Table.ext.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package mui.material

import seskar.js.JsVirtual
import seskar.js.JsValue
import seskar.js.JsVirtual

@JsVirtual
sealed external interface TablePadding {
Expand Down

0 comments on commit ae84366

Please sign in to comment.