Compare commits

..

7 Commits

4 changed files with 17 additions and 2 deletions

View File

@ -1,5 +1,13 @@
# Changelog # Changelog
## 0.1.6
* Add support of UIKitButton size and group
## 0.1.5
* Fix access to `UIKitSticky`
## 0.1.4 ## 0.1.4
* Improvements in `UIKitGrid` * Improvements in `UIKitGrid`

View File

@ -9,4 +9,4 @@ android.enableJetifier=true
# Project data # Project data
group=dev.inmo group=dev.inmo
version=0.1.4 version=0.1.6

View File

@ -12,5 +12,12 @@ sealed class UIKitButton(suffix: String?) : UIKitModifier {
object Link : Type("link") object Link : Type("link")
} }
sealed class Size(suffix: String) : UIKitButton(suffix) {
object Small : Size("small")
object Large : Size("large")
}
object Group : UIKitButton("group")
companion object : UIKitButton(null) companion object : UIKitButton(null)
} }

View File

@ -4,7 +4,7 @@ import dev.inmo.jsuikit.utils.buildAttribute
import org.jetbrains.compose.web.css.CSSUnitLengthOrPercentage import org.jetbrains.compose.web.css.CSSUnitLengthOrPercentage
import org.jetbrains.compose.web.css.CSSUnitValueTyped import org.jetbrains.compose.web.css.CSSUnitValueTyped
sealed class UIKitSticky( class UIKitSticky(
position: Position? = null, position: Position? = null,
start: String? = null, start: String? = null,
end: String? = null, end: String? = null,