Skip to content

Commit

Permalink
pre.228
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonya committed Aug 8, 2021
1 parent 5235e24 commit 359ca5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=org.jetbrains.kotlin-wrappers
version.build=pre.227
version.build=pre.228

kotlin.code.style=official
kotlin.js.compiler=both
Expand Down
4 changes: 2 additions & 2 deletions kotlin-styled-next/src/jsMain/kotlin/styled/GlobalStyles.kt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ object GlobalStyles {
}

/**
* @return pair of generated classname and list of CSS class names, declared in [css].
* @return pair of generated class name and a list of CSS class names, declared in [css].
* If the CSS code for the [css] was not injected into the DOM previously, it is injected after function call.
*/
fun getInjectedClassNames(css: CssBuilder): Pair<ClassName, List<ClassName>> {
Expand All @@ -128,7 +128,7 @@ object GlobalStyles {
}

/**
* Show message if user injects too many Css for one component
* Show a warning when too many css blocks are created for one component
*/
internal fun checkGeneratedCss(state: StateInstance<HashSet<String>?>, className: ClassName, type: String) {
val (classes, setClasses) = state
Expand Down

0 comments on commit 359ca5d

Please sign in to comment.