Skip to content

Commit

Permalink
fill changelog, fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanusMokrassar committed Sep 30, 2024
1 parent 5c983e5 commit c5e04e0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## 0.5.5

* `Compose`:
* Fixes in handling of non-`ComposeView`
* `Sample`:
* Add opportunity to see

## 0.5.4

* `Versions`:
Expand Down
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ android-appcompat = "1.7.0"
android-material = "1.12.0"
android-compose-activity = "1.9.2"

mermaid = "10.9.1"

github-release = "2.5.2"

versions = "0.51.0"
Expand Down
10 changes: 5 additions & 5 deletions mermaid/src/commonMain/kotlin/NavigationMermaidBuilder.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import dev.inmo.micro_utils.common.either
import dev.inmo.navigation.core.*

object NavigationMermaidBuilder {
internal const val newClassName = "navigation_mermaid_new"
internal const val createdClassName = "navigation_mermaid_created"
internal const val resumedClassName = "navigation_mermaid_resumed"
internal const val startedClassName = "navigation_mermaid_started"
internal val NavigationNodeState.className
const val newClassName = "navigation_mermaid_new"
const val createdClassName = "navigation_mermaid_created"
const val resumedClassName = "navigation_mermaid_resumed"
const val startedClassName = "navigation_mermaid_started"
val NavigationNodeState.className
get() = when (this) {
NavigationNodeState.NEW -> NavigationMermaidBuilder.newClassName
NavigationNodeState.CREATED -> NavigationMermaidBuilder.createdClassName
Expand Down
1 change: 1 addition & 0 deletions sample/src/jsMain/kotlin/CurrentTreeView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.key
import dev.inmo.navigation.core.NavigationChain
import dev.inmo.navigation.core.configs.NavigationNodeDefaultConfig
import dev.inmo.navigation.mermaid.NavigationMermaidBuilder
import dev.inmo.navigation.mvvm.compose.ComposeView
import dev.inmo.navigation.sample.ui.tree.CurrentTreeViewConfig
import dev.inmo.navigation.sample.ui.tree.CurrentTreeViewViewModel
Expand Down

0 comments on commit c5e04e0

Please sign in to comment.