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