mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Remove CSSSizeOrAuto completely
Use CSSAuto or CSSSize instead (and overloading when needed)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package org.jetbrains.compose.web.css
|
||||
|
||||
interface CSSSizeValue : CSSUnitValue, CSSSizeOrAutoValue
|
||||
interface CSSSizeValue : CSSUnitValue, StylePropertyValue
|
||||
|
||||
interface CSSRelValue : CSSSizeValue
|
||||
interface CSSpercentValue : CSSRelValue
|
||||
|
||||
Reference in New Issue
Block a user