Closed arkivanov closed 1 month ago
The changes introduce a comprehensive set of new classes, interfaces, and enums focused on managing child panels and navigation within the com.arkivanov.decompose.router.panels
package. Key additions include the ChildPanels
class for holding child panel states, the Panels
class for single panel representation, and the PanelsNavigation
and PanelsNavigator
interfaces for facilitating navigation. Multiple factory functions for creating child panels and various utility methods for managing panel states and transitions are also included, enhancing the overall functionality related to panel management and navigation.
Files | Change Summary |
---|---|
decompose/api/android/decompose.api |
Added classes like ChildPanels , Panels , and PanelsNavigator , along with enums and interfaces for enhanced child panel management and navigation. |
decompose/api/decompose.klib.api |
Introduced ChildPanelsMode , PanelsNavigation , and PanelsNavigator interfaces, along with new classes for managing panel states and transitions. |
decompose/api/jvm/decompose.api |
Similar to the Android API, added classes and interfaces for managing child panels and navigation, including serialization support. |
decompose/src/commonMain/kotlin/.../ChildPanels.kt |
Introduced ChildPanels data class to encapsulate states of child panels with a mode parameter for lifecycle behavior. |
decompose/src/commonMain/kotlin/.../ChildPanelsFactory.kt |
Created factory functions for initializing child panels, managing navigation states, and preserving panel states through serialization. |
🐇 In the land of panels, oh what a sight,
New classes and modes, all shining bright!
With child components dancing in glee,
Navigation is smooth, as smooth as can be.
So hop along, friends, let’s celebrate,
For child panels now navigate their fate! 🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation