From 6213ef92129efd6dec4189be39e7a729d9343460 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 12 Jan 2022 19:58:34 +0600 Subject: [PATCH 1/2] start 0.0.4 --- CHANGELOG.md | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f120a0..c27db3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 0.0.4 + ## 0.0.3 __Global changes in packages__ diff --git a/gradle.properties b/gradle.properties index 79d769d..0cd3a48 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,5 +9,5 @@ android.enableJetifier=true # Project data group=dev.inmo -version=0.0.3 +version=0.0.4 From e1498ddf0fa8a04ea2764c987adf23db1bd9f00f Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 12 Jan 2022 19:58:52 +0600 Subject: [PATCH 2/2] global changes in packages --- CHANGELOG.md | 2 ++ .../kotlin/dev/inmo/jsuikit/UIKitAttributeValueBuilder.kt | 2 +- src/main/kotlin/dev/inmo/jsuikit/elements/Button.kt | 2 +- src/main/kotlin/dev/inmo/jsuikit/elements/Dialog.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/Dropdown.kt | 2 +- src/main/kotlin/dev/inmo/jsuikit/elements/Flex.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/Grid.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/Icon.kt | 2 +- src/main/kotlin/dev/inmo/jsuikit/elements/Labels.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/List.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/Nav.kt | 2 +- src/main/kotlin/dev/inmo/jsuikit/elements/Navbar.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/NavbarNavBuilder.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/Progress.kt | 4 ++-- src/main/kotlin/dev/inmo/jsuikit/elements/Spinner.kt | 2 +- src/main/kotlin/dev/inmo/jsuikit/elements/Table.kt | 2 +- src/main/kotlin/dev/inmo/jsuikit/elements/TextField.kt | 4 ++-- .../inmo/jsuikit/{modifers => modifiers}/AttributeValue.kt | 2 +- .../kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKit.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitAlign.kt | 2 +- .../inmo/jsuikit/{modifers => modifiers}/UIKitAnimation.kt | 2 +- .../inmo/jsuikit/{modifers => modifiers}/UIKitBackground.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitButton.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitDropdown.kt | 2 +- .../inmo/jsuikit/{modifers => modifiers}/UIKitExtensions.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitFlex.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitGrid.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitIconType.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitMargin.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitModifier.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitNav.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitNavbar.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitPadding.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitPosition.kt | 2 +- .../{modifers => modifiers}/UIKitScreenSizeModifier.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitTable.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitText.kt | 2 +- .../jsuikit/{modifers => modifiers}/UIKitTooltipModifier.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitUtility.kt | 2 +- .../dev/inmo/jsuikit/{modifers => modifiers}/UIKitWidth.kt | 2 +- 40 files changed, 50 insertions(+), 48 deletions(-) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/AttributeValue.kt (57%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKit.kt (54%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitAlign.kt (88%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitAnimation.kt (97%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitBackground.kt (97%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitButton.kt (92%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitDropdown.kt (97%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitExtensions.kt (88%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitFlex.kt (98%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitGrid.kt (93%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitIconType.kt (89%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitMargin.kt (98%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitModifier.kt (92%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitNav.kt (92%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitNavbar.kt (93%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitPadding.kt (95%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitPosition.kt (98%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitScreenSizeModifier.kt (94%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitTable.kt (91%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitText.kt (95%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitTooltipModifier.kt (97%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitUtility.kt (90%) rename src/main/kotlin/dev/inmo/jsuikit/{modifers => modifiers}/UIKitWidth.kt (96%) diff --git a/CHANGELOG.md b/CHANGELOG.md index c27db3f..cb68a47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## 0.0.4 +__Migrate modifers to modifiers__ + ## 0.0.3 __Global changes in packages__ diff --git a/src/main/kotlin/dev/inmo/jsuikit/UIKitAttributeValueBuilder.kt b/src/main/kotlin/dev/inmo/jsuikit/UIKitAttributeValueBuilder.kt index 53331d3..a328eb9 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/UIKitAttributeValueBuilder.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/UIKitAttributeValueBuilder.kt @@ -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 { diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Button.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Button.kt index 3456367..acd463d 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Button.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Button.kt @@ -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.* diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Dialog.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Dialog.kt index 0d8254f..6204e4d 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Dialog.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Dialog.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Dropdown.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Dropdown.kt index 7dd774b..f5c7427 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Dropdown.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Dropdown.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Flex.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Flex.kt index 9a103ab..531e56e 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Flex.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Flex.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Grid.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Grid.kt index cd3a91f..6aa51ef 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Grid.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Grid.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Icon.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Icon.kt index 97a0ba0..3bd6b80 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Icon.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Icon.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Labels.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Labels.kt index 4124fe2..8698961 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Labels.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Labels.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/List.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/List.kt index a3cbe3d..f443bc6 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/List.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/List.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Nav.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Nav.kt index 2e39dbb..40c90ba 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Nav.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Nav.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Navbar.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Navbar.kt index abca6df..e12cd9f 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Navbar.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Navbar.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/NavbarNavBuilder.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/NavbarNavBuilder.kt index 6172f7e..1e2c14d 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/NavbarNavBuilder.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/NavbarNavBuilder.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Progress.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Progress.kt index 545b209..d4ec030 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Progress.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Progress.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Spinner.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Spinner.kt index 5cc86f8..d982239 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Spinner.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Spinner.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/Table.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/Table.kt index f9811e0..33d45da 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/Table.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/Table.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/elements/TextField.kt b/src/main/kotlin/dev/inmo/jsuikit/elements/TextField.kt index 9b0f1e0..36adaf9 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/elements/TextField.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/elements/TextField.kt @@ -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 diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/AttributeValue.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/AttributeValue.kt similarity index 57% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/AttributeValue.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/AttributeValue.kt index 234f91f..1db9ac2 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/AttributeValue.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/AttributeValue.kt @@ -1,3 +1,3 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class AttributeValue(val name: String) diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKit.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKit.kt similarity index 54% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKit.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKit.kt index b6f8881..96882df 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKit.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKit.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers inline val UIKit get() = js("UIkit") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitAlign.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitAlign.kt similarity index 88% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitAlign.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitAlign.kt index 3b3d15a..f4b93d4 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitAlign.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitAlign.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitAlign(classnameSuffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-align-$classnameSuffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitAnimation.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitAnimation.kt similarity index 97% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitAnimation.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitAnimation.kt index 6fb5be1..422ea74 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitAnimation.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitAnimation.kt @@ -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 = arrayOf("uk-animation-$name") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitBackground.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitBackground.kt similarity index 97% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitBackground.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitBackground.kt index 691fd6f..c0f59ee 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitBackground.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitBackground.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitBackground(suffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-background-$suffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitButton.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt similarity index 92% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitButton.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt index 8783527..dfcf294 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitButton.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitButton(suffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-button-$suffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitDropdown.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt similarity index 97% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitDropdown.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt index 3ac76b3..b1374b0 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitDropdown.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitDropdown(classname: String) : UIKitModifier { override val classes: Array = arrayOf(classname) diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitExtensions.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitExtensions.kt similarity index 88% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitExtensions.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitExtensions.kt index 7fecb8b..b35106b 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitExtensions.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitExtensions.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitExtension(classname: String) : UIKitModifier { override val classes: Array = arrayOf(classname) diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitFlex.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitFlex.kt similarity index 98% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitFlex.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitFlex.kt index 78c9599..a1f3d0d 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitFlex.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitFlex.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitFlex(suffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-flex-$suffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitGrid.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitGrid.kt similarity index 93% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitGrid.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitGrid.kt index 24d7a0f..b6d4833 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitGrid.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitGrid.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitGrid(suffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-grid-$suffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitIconType.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitIconType.kt similarity index 89% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitIconType.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitIconType.kt index bda1bb9..3a82a7a 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitIconType.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitIconType.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitIconType(suffix: String?) : UIKitModifier { override val classes: Array = suffix ?.let { diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitMargin.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitMargin.kt similarity index 98% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitMargin.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitMargin.kt index 23c3b2f..b9c6865 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitMargin.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitMargin.kt @@ -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 = arrayOf(classname) diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitModifier.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitModifier.kt similarity index 92% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitModifier.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitModifier.kt index a5e2068..983a553 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitModifier.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitModifier.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers import org.jetbrains.compose.web.attributes.AttrsBuilder diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitNav.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitNav.kt similarity index 92% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitNav.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitNav.kt index 895727b..deb9aad 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitNav.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitNav.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitNav(classname: String) : UIKitModifier { override val classes: Array = arrayOf(classname) diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitNavbar.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitNavbar.kt similarity index 93% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitNavbar.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitNavbar.kt index 5c61aa8..a23932a 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitNavbar.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitNavbar.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitNavbar(suffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-navbar-$suffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitPadding.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitPadding.kt similarity index 95% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitPadding.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitPadding.kt index f4c844e..ab7c57f 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitPadding.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitPadding.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitPadding(suffix: String?) : UIKitModifier { override val classes: Array = arrayOf("uk-padding${suffix ?.let { "-$it" } ?: ""}") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitPosition.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitPosition.kt similarity index 98% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitPosition.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitPosition.kt index 1f426e8..4e65f86 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitPosition.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitPosition.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitPosition(classname: String) : UIKitModifier { override val classes: Array = arrayOf(classname) diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitScreenSizeModifier.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitScreenSizeModifier.kt similarity index 94% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitScreenSizeModifier.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitScreenSizeModifier.kt index 677e2fb..107aefd 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitScreenSizeModifier.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitScreenSizeModifier.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitScreenSizeModifier(val name: String) { class UIKitScreenSizeModifierModified ( diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitTable.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitTable.kt similarity index 91% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitTable.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitTable.kt index 3f04493..580d837 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitTable.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitTable.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitTable(suffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-table-$suffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitText.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitText.kt similarity index 95% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitText.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitText.kt index 34a49eb..47a1875 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitText.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitText.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitText(suffix: String) : UIKitModifier { override val classes: Array = arrayOf("uk-text-$suffix") diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitTooltipModifier.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitTooltipModifier.kt similarity index 97% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitTooltipModifier.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitTooltipModifier.kt index e03097c..18ec8b2 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitTooltipModifier.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitTooltipModifier.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers class UIKitTooltipModifier( text: String, diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitUtility.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitUtility.kt similarity index 90% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitUtility.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitUtility.kt index 7ce1efa..ef27ead 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitUtility.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitUtility.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitUtility(classname: String) : UIKitModifier { override val classes: Array = arrayOf(classname) diff --git a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitWidth.kt b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitWidth.kt similarity index 96% rename from src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitWidth.kt rename to src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitWidth.kt index a705884..c337369 100644 --- a/src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitWidth.kt +++ b/src/main/kotlin/dev/inmo/jsuikit/modifiers/UIKitWidth.kt @@ -1,4 +1,4 @@ -package dev.inmo.jsuikit.modifers +package dev.inmo.jsuikit.modifiers sealed class UIKitWidth(classname: String) : UIKitModifier { override val classes: Array = arrayOf("uk-width-$classname")