Compare commits

..

18 Commits
0.6.1 ... 0.7.4

Author SHA1 Message Date
96d5936e83 update dependencies 2023-11-26 21:14:31 +06:00
de6253c50e start 0.7.4 2023-11-26 21:14:08 +06:00
1f66ca8346 Merge pull request #84 from InsanusMokrassar/0.7.3
0.7.3
2023-11-02 22:29:42 +06:00
7dc0e08a78 fix in publishing script 2023-11-02 22:29:21 +06:00
0eb80f141a update gradle wrapper 2023-11-02 22:27:15 +06:00
120df9d84e start 0.7.3 and update dependencies 2023-11-02 22:24:34 +06:00
6783bd6666 Merge pull request #83 from InsanusMokrassar/0.7.2
0.7.2
2023-09-07 01:16:01 +06:00
9c4bc444dd update dependencies 2023-09-07 01:12:39 +06:00
0635b4a233 start 0.7.2 2023-09-07 01:09:03 +06:00
29fe133777 Merge pull request #82 from InsanusMokrassar/0.7.1
0.7.1
2023-06-19 16:47:32 +06:00
d2ba2fe96a improvements 2023-06-19 16:42:41 +06:00
c0ce6f5b71 start 0.7.1 2023-06-19 16:38:49 +06:00
665432cdce Merge pull request #81 from InsanusMokrassar/0.7.0
0.7.0
2023-04-13 12:10:00 +06:00
5e379ee3e2 update dependencies 2023-04-13 12:09:01 +06:00
5a86d6705b start 0.7.0 2023-04-13 12:08:43 +06:00
25134879c1 Merge pull request #80 from InsanusMokrassar/0.6.2
0.6.2
2023-03-10 22:31:03 +06:00
30a85795dd start 0.6.2 && update compose 2023-03-10 15:07:19 +06:00
730da9f759 Merge pull request #79 from InsanusMokrassar/0.6.1
0.6.1
2023-03-05 21:36:49 +06:00
9 changed files with 52 additions and 10 deletions

View File

@@ -1,5 +1,34 @@
# Changelog
## 0.7.4
* `Kotlin`: `1.9.21`
* `Compose`: `1.5.11`
## 0.7.3
* `Kotlin`: `1.9.20`
* `Compose`: `1.5.10`
## 0.7.2
* `Kotlin`: `1.9.10`
* `Compose`: `1.5.1`
## 0.7.1
* Type of `animation` parameter in `Alert` has been changed according to docs: now it is `Boolean`
* Add tooltip `JS` part support
## 0.7.0
* `Kotlin`: `1.8.20`
* `Compose`: `1.4.0`
## 0.6.2
* `Compose`: `1.3.1`
## 0.6.1
* `DefaultInput` has been renamed to `StandardInput`

View File

@@ -7,4 +7,4 @@ kotlin.incremental.js=true
# Project data
group=dev.inmo
version=0.6.1
version=0.7.4

View File

@@ -1,8 +1,8 @@
[versions]
kt = "1.8.10"
jb-compose = "1.3.1-rc02"
jb-dokka = "1.8.10"
kt = "1.9.21"
jb-compose = "1.5.11"
jb-dokka = "1.9.10"
gh-release = "2.4.1"
[libraries]

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -1,7 +1,7 @@
apply plugin: 'maven-publish'
task javadocsJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
}
publishing {
@@ -84,4 +84,10 @@ if (project.hasProperty("signing.gnupg.keyName")) {
dependsOn(it)
}
}
// Workaround to make android sign operations depend on signing tasks
project.getTasks().withType(AbstractPublishToMaven.class).configureEach {
def signingTasks = project.getTasks().withType(Sign.class)
mustRunAfter(signingTasks)
}
}

View File

@@ -1,3 +1 @@
rootProject.name = 'kjsuikit'
enableFeaturePreview("VERSION_CATALOGS")

View File

@@ -12,7 +12,7 @@ import org.w3c.dom.HTMLDivElement
@Composable
fun Alert(
attrs: Attrs<HTMLDivElement> = Attrs.empty(),
animation: UIKitAnimation? = UIKitAnimation.Fade,
animation: Boolean = true,
duration: Milliseconds? = null,
selClose: String? = null,
content: ContentBuilder<HTMLDivElement>
@@ -22,7 +22,7 @@ fun Alert(
include(UIKitAlert)
buildAndAddAttribute("uk-alert") {
"animation" to animation ?.classes ?.firstOrNull()
"animation" to animation
"duration" to duration
"sel-close" to selClose
}

View File

@@ -17,4 +17,7 @@ external interface UIKit {
fun dropdown(element: Element, options: DropdownOptions = definedExternally): Dropdown
fun dropdown(selector: String, options: DropdownOptions = definedExternally): Dropdown?
fun tooltip(element: Element): UIKitTooltip
fun tooltip(selector: String): UIKitTooltip?
}

View File

@@ -0,0 +1,6 @@
package dev.inmo.jsuikit.types
external interface UIKitTooltip {
fun show()
fun hide()
}