Skip to content

Commit 33e98eb

Browse files
author
samgarasx
committed
Update Kotlin version to v1.5.31
1 parent e59f506 commit 33e98eb

File tree

407 files changed

+559
-549
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

407 files changed

+559
-549
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ subprojects {
4949
}
5050

5151
tasks.wrapper {
52-
gradleVersion = "7.1.1"
52+
gradleVersion = "7.2"
5353
}

gradle.properties

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
kotlin.code.style=official
22

3-
kotlin.version=1.5.21
3+
kotlin.version=1.5.31
44

5-
kotlin-react.version=17.0.2-pre.222
6-
kotlin-react-dom.version=17.0.2-pre.222
7-
kotlin-styled.version=5.3.0-pre.222
5+
kotlin-react.version=17.0.2-pre.258
6+
kotlin-react-dom.version=17.0.2-pre.258
7+
kotlin-styled.version=5.3.1-pre.258
88

9-
kotlin-antd.version=4.8.6-pre.14
10-
kotlin-moment.version=2.27.0-pre.12
11-
kotlin-react-intl.version=5.8.1-pre.12
12-
kotlin-react-responsive.version=8.1.0-pre.12
13-
kotlin-uikit.version=3.5.7-pre.11
9+
kotlin-antd.version=4.8.6-pre.15
10+
kotlin-moment.version=2.27.0-pre.13
11+
kotlin-react-intl.version=5.8.1-pre.13
12+
kotlin-react-responsive.version=8.1.0-pre.13
13+
kotlin-uikit.version=3.5.7-pre.12

kotlin-antd/antd-samples/src/main/kotlin/samples/App.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package samples
33
import kotlinx.css.*
44
import react.RBuilder
55
import react.RComponent
6-
import react.RProps
6+
import react.Props
77
import react.State
88
import react.dom.h1
99
import samples.affix.affixApp
@@ -96,7 +96,7 @@ object AppStyles : StyleSheet("app", isStatic = true) {
9696
}
9797
}
9898

99-
class App : RComponent<RProps, State>() {
99+
class App : RComponent<Props, State>() {
100100
override fun RBuilder.render() {
101101
styledDiv {
102102
css { +AppStyles.header }

kotlin-antd/antd-samples/src/main/kotlin/samples/affix/App.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package samples.affix
33
import kotlinx.css.*
44
import react.RBuilder
55
import react.RComponent
6-
import react.RProps
6+
import react.Props
77
import react.State
88
import react.dom.h2
99
import styled.StyleSheet
@@ -27,7 +27,7 @@ object AffixStyles : StyleSheet("affix", isStatic = true) {
2727
}
2828
}
2929

30-
class AffixApp : RComponent<RProps, State>() {
30+
class AffixApp : RComponent<Props, State>() {
3131
override fun RBuilder.render() {
3232
h2 { +"Affix" }
3333
styledDiv {

kotlin-antd/antd-samples/src/main/kotlin/samples/affix/Basic.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ external interface BasicDemoState : State {
1313
var bottom: Number
1414
}
1515

16-
class BasicDemo : RComponent<RProps, BasicDemoState>() {
16+
class BasicDemo : RComponent<Props, BasicDemoState>() {
1717
override fun BasicDemoState.init() {
1818
top = 10
1919
bottom = 10

kotlin-antd/antd-samples/src/main/kotlin/samples/affix/Target.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import antd.button.button
55
import kotlinx.html.classes
66
import react.RBuilder
77
import react.RComponent
8-
import react.RProps
8+
import react.Props
99
import react.State
1010
import react.dom.div
1111
import styled.css
1212
import styled.styledDiv
1313

14-
class TargetDemo : RComponent<RProps, State>() {
14+
class TargetDemo : RComponent<Props, State>() {
1515
private var container: dynamic = null
1616

1717
override fun RBuilder.render() {

kotlin-antd/antd-samples/src/main/kotlin/samples/alert/App.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import kotlinx.css.marginBottom
44
import kotlinx.css.px
55
import react.RBuilder
66
import react.RComponent
7-
import react.RProps
7+
import react.Props
88
import react.State
99
import react.dom.h2
1010
import styled.StyleSheet
@@ -29,7 +29,7 @@ object AlertStyles : StyleSheet("alert", isStatic = true) {
2929
val errorBoundary by css {}
3030
}
3131

32-
class AlertApp : RComponent<RProps, State>() {
32+
class AlertApp : RComponent<Props, State>() {
3333
override fun RBuilder.render() {
3434
h2 { +"Alert" }
3535
styledDiv {

kotlin-antd/antd-samples/src/main/kotlin/samples/alert/ErrorBoundary.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import react.*
77
import styled.css
88
import styled.styledDiv
99

10-
private val throwError = fc<RProps> {
10+
private val throwError = fc<Props> {
1111
val (error, setError) = useState<Error?>(null)
1212

1313
val handleClick: MouseEventHandler<Any> = {

kotlin-antd/antd-samples/src/main/kotlin/samples/alert/SmoothClosed.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ external interface SmoothClosedState : State {
1111
var visible: Boolean
1212
}
1313

14-
class SmoothClosedApp : RComponent<RProps, SmoothClosedState>() {
14+
class SmoothClosedApp : RComponent<Props, SmoothClosedState>() {
1515
private val handleClose: () -> Unit = {
1616
setState {
1717
visible = false

kotlin-antd/antd-samples/src/main/kotlin/samples/anchor/App.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package samples.anchor
33
import kotlinx.css.zIndex
44
import react.RBuilder
55
import react.RComponent
6-
import react.RProps
6+
import react.Props
77
import react.State
88
import react.dom.h2
99
import styled.StyleSheet
@@ -26,7 +26,7 @@ object AnchorStyles : StyleSheet("anchor", isStatic = true) {
2626

2727
}
2828

29-
class AnchorApp : RComponent<RProps, State>() {
29+
class AnchorApp : RComponent<Props, State>() {
3030
override fun RBuilder.render() {
3131
h2 { +"Anchor" }
3232
styledDiv {

0 commit comments

Comments
 (0)