global changes in packages

This commit is contained in:
InsanusMokrassar 2022-01-12 19:58:52 +06:00
parent 6213ef9212
commit e1498ddf0f
40 changed files with 50 additions and 48 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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