Understand the KotStep Compose Multiplatform (CMP) Migration Plan
masterKotStep is transitioning from an Android-only library to a Compose Multiplatform (CMP) library. This migration aims to support Android, iOS, Desktop (JVM), and Web (Wasm/JS) while maintaining 100% backward compatibility for the existing V3 DSL API.
Key Migration Principles:
- No Rewrite: The V3 core is already ~97% portable as it uses standard
androidx.compose.*imports. - Gradual Approach: Migration is performed module-by-module to ensure the build remains stable.
- API Preservation: The public API (
KotStep(),KotStepScope,step(), and styles) will remain unchanged for Android consumers. - Scope: The migration focuses on V3. The legacy V2 API (using
ConstraintLayout) is explicitly out of scope for multiplatform support and may be deprecated or kept as Android-only.