mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-04 15:33:49 +00:00
add uk-flex to UIKitFlex base class
This commit is contained in:
parent
d1c03e5c48
commit
58f8f99e10
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## 0.0.18
|
## 0.0.18
|
||||||
|
|
||||||
|
* Add base companion for `UIKitFlex` with result class `uk-flex`
|
||||||
|
|
||||||
## 0.0.17
|
## 0.0.17
|
||||||
|
|
||||||
* In `DefaultTable` `headingCustomizer` has been renamed to `headerCellCustomizer`
|
* In `DefaultTable` `headingCustomizer` has been renamed to `headerCellCustomizer`
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.jsuikit.modifiers
|
package dev.inmo.jsuikit.modifiers
|
||||||
|
|
||||||
sealed class UIKitFlex(suffix: String) : UIKitModifier {
|
sealed class UIKitFlex(suffix: String?) : UIKitModifier {
|
||||||
override val classes: Array<String> = arrayOf("uk-flex-$suffix")
|
override val classes: Array<String> = arrayOf("uk-flex${suffix ?.let { "-$it" } ?: ""}")
|
||||||
|
|
||||||
object Inline : UIKitFlex("inline")
|
object Inline : UIKitFlex("inline")
|
||||||
|
|
||||||
@ -76,4 +76,6 @@ sealed class UIKitFlex(suffix: String) : UIKitModifier {
|
|||||||
|
|
||||||
object NoWrap : UIKitFlex("nowrap")
|
object NoWrap : UIKitFlex("nowrap")
|
||||||
|
|
||||||
|
companion object : UIKitFlex(null)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user