mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-12-04 16:00:11 +00:00
commit
b7e08af54a
@ -1,3 +1,7 @@
|
|||||||
|
## 0.0.6
|
||||||
|
|
||||||
|
Changes in signatures of text field and list
|
||||||
|
|
||||||
## 0.0.5
|
## 0.0.5
|
||||||
|
|
||||||
All elements has changed their signatures: they all will accept an additional lambda for attributes configuration
|
All elements has changed their signatures: they all will accept an additional lambda for attributes configuration
|
||||||
|
@ -9,5 +9,4 @@ android.enableJetifier=true
|
|||||||
# Project data
|
# Project data
|
||||||
|
|
||||||
group=dev.inmo
|
group=dev.inmo
|
||||||
version=0.0.5
|
version=0.0.6
|
||||||
|
|
||||||
|
@ -13,10 +13,10 @@ fun <T> List(
|
|||||||
title: String,
|
title: String,
|
||||||
data: SnapshotStateList<T>,
|
data: SnapshotStateList<T>,
|
||||||
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
||||||
titleCustomizer: AttrBuilderContext<HTMLHeadingElement> = {},
|
|
||||||
ulModifiers: Array<UIKitModifier> = emptyArray(),
|
ulModifiers: Array<UIKitModifier> = emptyArray(),
|
||||||
ulCustomizer: AttrBuilderContext<HTMLUListElement> = {},
|
|
||||||
besidesTitleAndList: (@Composable () -> Unit)? = null,
|
besidesTitleAndList: (@Composable () -> Unit)? = null,
|
||||||
|
titleCustomizer: AttrBuilderContext<HTMLHeadingElement> = {},
|
||||||
|
ulCustomizer: AttrBuilderContext<HTMLUListElement> = {},
|
||||||
elementAllocator: @Composable ElementScope<HTMLUListElement>.(T) -> Unit
|
elementAllocator: @Composable ElementScope<HTMLUListElement>.(T) -> Unit
|
||||||
) {
|
) {
|
||||||
H4({ include(*titleModifiers); titleCustomizer() }) {
|
H4({ include(*titleModifiers); titleCustomizer() }) {
|
||||||
|
@ -14,8 +14,8 @@ fun <T> TextField(
|
|||||||
state: MutableState<T>,
|
state: MutableState<T>,
|
||||||
disabledState: State<Boolean>? = null,
|
disabledState: State<Boolean>? = null,
|
||||||
placeholder: String? = null,
|
placeholder: String? = null,
|
||||||
|
modifiers: Array<UIKitModifier> = emptyArray(),
|
||||||
attributesCustomizer: AttrBuilderContext<HTMLInputElement> = {},
|
attributesCustomizer: AttrBuilderContext<HTMLInputElement> = {},
|
||||||
modifiers: Array<UIKitModifier> = emptyArray()
|
|
||||||
) {
|
) {
|
||||||
Input(type) {
|
Input(type) {
|
||||||
classes("uk-input")
|
classes("uk-input")
|
||||||
|
Loading…
Reference in New Issue
Block a user