mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-12-28 03:27:15 +00:00
commit
4a70299db8
@ -1,3 +1,7 @@
|
||||
## 0.0.4
|
||||
|
||||
__Migrate modifers to modifiers__
|
||||
|
||||
## 0.0.3
|
||||
|
||||
__Global changes in packages__
|
||||
|
@ -9,5 +9,5 @@ android.enableJetifier=true
|
||||
# Project data
|
||||
|
||||
group=dev.inmo
|
||||
version=0.0.3
|
||||
version=0.0.4
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package dev.inmo.jsuikit
|
||||
|
||||
import dev.inmo.jsuikit.modifers.AttributeValue
|
||||
import dev.inmo.jsuikit.modifiers.AttributeValue
|
||||
import org.jetbrains.compose.web.attributes.AttrsBuilder
|
||||
|
||||
class UIKitAttributeValueBuilder {
|
||||
|
@ -2,7 +2,7 @@ package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.web.events.SyntheticMouseEvent
|
||||
import dev.inmo.jsuikit.modifers.*
|
||||
import dev.inmo.jsuikit.modifiers.*
|
||||
import org.jetbrains.compose.web.attributes.InputType
|
||||
import org.jetbrains.compose.web.attributes.disabled
|
||||
import org.jetbrains.compose.web.dom.*
|
||||
|
@ -2,8 +2,8 @@ package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.DisposableEffectResult
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.dom.*
|
||||
import org.w3c.dom.HTMLElement
|
||||
import org.w3c.dom.events.Event
|
||||
|
@ -2,7 +2,7 @@ package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.buildAndAddAttribute
|
||||
import dev.inmo.jsuikit.modifers.*
|
||||
import dev.inmo.jsuikit.modifiers.*
|
||||
import dev.inmo.jsuikit.utils.Milliseconds
|
||||
import org.jetbrains.compose.web.dom.ContentBuilder
|
||||
import org.jetbrains.compose.web.dom.Div
|
||||
|
@ -1,8 +1,8 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.dom.Div
|
||||
import org.jetbrains.compose.web.dom.ElementScope
|
||||
import org.w3c.dom.HTMLDivElement
|
||||
|
@ -1,8 +1,8 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.dom.Div
|
||||
import org.jetbrains.compose.web.dom.ElementScope
|
||||
import org.w3c.dom.HTMLDivElement
|
||||
|
@ -1,7 +1,7 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.*
|
||||
import dev.inmo.jsuikit.modifiers.*
|
||||
import org.jetbrains.compose.web.dom.Button
|
||||
import org.jetbrains.compose.web.dom.Span
|
||||
import org.w3c.dom.events.Event
|
||||
|
@ -1,8 +1,8 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.dom.Span
|
||||
import org.jetbrains.compose.web.dom.Text
|
||||
|
||||
|
@ -2,8 +2,8 @@ package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.snapshots.SnapshotStateList
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.dom.*
|
||||
import org.w3c.dom.HTMLUListElement
|
||||
|
||||
|
@ -2,7 +2,7 @@ package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.buildAndAddAttribute
|
||||
import dev.inmo.jsuikit.modifers.*
|
||||
import dev.inmo.jsuikit.modifiers.*
|
||||
import dev.inmo.jsuikit.utils.Milliseconds
|
||||
import org.jetbrains.compose.web.dom.*
|
||||
import org.w3c.dom.HTMLLIElement
|
||||
|
@ -1,8 +1,8 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.dom.Div
|
||||
import org.jetbrains.compose.web.dom.Nav
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.attributes.AttrsBuilder
|
||||
import org.jetbrains.compose.web.dom.*
|
||||
import org.w3c.dom.HTMLLIElement
|
||||
|
@ -1,8 +1,8 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.dom.Progress
|
||||
|
||||
@Composable
|
||||
|
@ -1,7 +1,7 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import dev.inmo.jsuikit.modifers.*
|
||||
import dev.inmo.jsuikit.modifiers.*
|
||||
import org.jetbrains.compose.web.dom.Div
|
||||
|
||||
@Composable
|
||||
|
@ -2,7 +2,7 @@ package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.snapshots.SnapshotStateList
|
||||
import dev.inmo.jsuikit.modifers.*
|
||||
import dev.inmo.jsuikit.modifiers.*
|
||||
import org.jetbrains.compose.web.dom.*
|
||||
|
||||
@Composable
|
||||
|
@ -1,8 +1,8 @@
|
||||
package dev.inmo.jsuikit.elements
|
||||
|
||||
import androidx.compose.runtime.*
|
||||
import dev.inmo.jsuikit.modifers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifers.include
|
||||
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
||||
import dev.inmo.jsuikit.modifiers.include
|
||||
import org.jetbrains.compose.web.attributes.*
|
||||
import org.jetbrains.compose.web.dom.Input
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class AttributeValue(val name: String)
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
inline val UIKit
|
||||
get() = js("UIkit")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitAlign(classnameSuffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-align-$classnameSuffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitAnimation (name: String) : UIKitModifier, AttributeValue(name) {
|
||||
override val classes: Array<String> = arrayOf("uk-animation-$name")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitBackground(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-background-$suffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitButton(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-button-$suffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitDropdown(classname: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf(classname)
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitExtension(classname: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf(classname)
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitFlex(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-flex-$suffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitGrid(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-grid-$suffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitIconType(suffix: String?) : UIKitModifier {
|
||||
override val classes: Array<String> = suffix ?.let {
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitMargin(val classname: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf(classname)
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
import org.jetbrains.compose.web.attributes.AttrsBuilder
|
||||
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitNav(classname: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf(classname)
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitNavbar(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-navbar-$suffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitPadding(suffix: String?) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-padding${suffix ?.let { "-$it" } ?: ""}")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitPosition(classname: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf(classname)
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitScreenSizeModifier(val name: String) {
|
||||
class UIKitScreenSizeModifierModified (
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitTable(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-table-$suffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitText(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-text-$suffix")
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
class UIKitTooltipModifier(
|
||||
text: String,
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitUtility(classname: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf(classname)
|
@ -1,4 +1,4 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitWidth(classname: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-width-$classname")
|
Loading…
Reference in New Issue
Block a user