Merge pull request #4 from InsanusMokrassar/0.0.4

0.0.4
This commit is contained in:
InsanusMokrassar 2022-01-12 20:00:06 +06:00 committed by GitHub
commit 4a70299db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 53 additions and 49 deletions

View File

@ -1,3 +1,7 @@
## 0.0.4
__Migrate modifers to modifiers__
## 0.0.3
__Global changes in packages__

View File

@ -9,5 +9,5 @@ android.enableJetifier=true
# Project data
group=dev.inmo
version=0.0.3
version=0.0.4

View File

@ -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 {

View File

@ -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.*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,3 @@
package dev.inmo.jsuikit.modifers
package dev.inmo.jsuikit.modifiers
sealed class AttributeValue(val name: String)

View File

@ -1,4 +1,4 @@
package dev.inmo.jsuikit.modifers
package dev.inmo.jsuikit.modifiers
inline val UIKit
get() = js("UIkit")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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)

View File

@ -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)

View File

@ -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")

View File

@ -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")

View File

@ -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 {

View File

@ -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)

View File

@ -1,4 +1,4 @@
package dev.inmo.jsuikit.modifers
package dev.inmo.jsuikit.modifiers
import org.jetbrains.compose.web.attributes.AttrsBuilder

View File

@ -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)

View File

@ -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")

View File

@ -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" } ?: ""}")

View File

@ -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)

View File

@ -1,4 +1,4 @@
package dev.inmo.jsuikit.modifers
package dev.inmo.jsuikit.modifiers
sealed class UIKitScreenSizeModifier(val name: String) {
class UIKitScreenSizeModifierModified (

View File

@ -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")

View File

@ -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")

View File

@ -1,4 +1,4 @@
package dev.inmo.jsuikit.modifers
package dev.inmo.jsuikit.modifiers
class UIKitTooltipModifier(
text: String,

View File

@ -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)

View File

@ -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")