Remove CSSSizeOrAuto completely

Use CSSAuto or CSSSize instead (and overloading when needed)
This commit is contained in:
Shagen Ogandzhanian
2021-06-05 02:53:56 +02:00
parent 67244aec5e
commit d9509dd17e
2 changed files with 2 additions and 4 deletions

View File

@@ -1,12 +1,10 @@
@file:Suppress("UNUSED")
package org.jetbrains.compose.web.css
interface CSSAutoValue : CSSSizeOrAutoValue
interface CSSAutoValue : StylePropertyValue
val auto = "auto".unsafeCast<CSSAutoValue>()
external interface CSSSizeOrAutoValue : StylePropertyValue
enum class Direction {
rtl,
ltr;

View File

@@ -1,6 +1,6 @@
package org.jetbrains.compose.web.css
interface CSSSizeValue : CSSUnitValue, CSSSizeOrAutoValue
interface CSSSizeValue : CSSUnitValue, StylePropertyValue
interface CSSRelValue : CSSSizeValue
interface CSSpercentValue : CSSRelValue