Commit 1dc80bc
authored
Fix library (#51)
* Update dependencies and add multiplatform sample modules
* Updated Gradle wrapper and various library versions in `libs.versions.toml`, including AGP to 8.12.3, Kotlin to 2.3.0, and Compose Multiplatform to 1.10.0.
* Increased `minSdk` to 26 for Android.
* Added new sample modules for Android, iOS, Desktop, Web, and Shared (`cmp-sample-*`) to the project.
* Included resource files (strings, drawables) and basic configurations for the new sample modules.
* Updated `settings.gradle.kts` to include the new sample modules and adjusted repository settings.
* Removed `@Preview` annotation from `PasscodeScreen.kt`.
* Refactor sample modules and enhance passcode component customizability
* Updated dependencies in `libs.versions.toml` to include Compose Multiplatform 1.10.0 components, Material3, and UI tooling libraries.
* Migrated the sample application to a multi-module structure, moving shared logic to `cmp-sample-shared` and platform-specific code to `cmp-sample-android`, `cmp-sample-ios`, and `cmp-sample-desktop`.
* Updated project-wide `build.gradle.kts` files to use `android.kotlin.multiplatform.library` plugin and consolidated Android configurations within `kotlin { androidLibrary { ... } }` blocks.
* Refactored `PasscodeScreen` and its sub-components (`PasscodeKeys`, `PasscodeLengthSwitch`, `PasscodeStepIndicator`, etc.) to support extensive UI customization via new parameters for colors, shapes, typography, and dimensions.
* Renamed `PasscodeKeyButtonStyle` to `passcodeKeyButtonStyle` in the design system to follow standard naming conventions.
* Updated package names across the sample modules to reflect the new directory structure (`cmp.sample.shared.*` and `cmp.sample.android.*`).
* Added adaptive launcher icons and standard Android resources to the `cmp-sample-android` module.
* Removed the unused `ic_delete.xml` resource.
* Refactor PasscodeLengthSwitch component layout
* Reordered the "6 digits" button within `PasscodeLengthSwitch.kt` to appear before the `AnimatedContent` block for better structural alignment.
* Update PasscodeKeys layout styling
* Added `2.dp` padding to `keyModifier` for uniform spacing between keys.
* Simplified the modifier for the visibility toggle key to use the shared `keyModifier`, ensuring consistent sizing and alignment with other keys in the grid.
* Update PasscodeKeys layout styling
* Added `2.dp` padding to `keyModifier` for uniform spacing between keys.
* Simplified the modifier for the visibility toggle key to use the shared `keyModifier`, ensuring consistent sizing and alignment with other keys in the grid.
* Configure multiplatform sample modules and update JS dependencies
* Refactored sample modules by moving source files to `cmp-sample-web`, `cmp-sample-ios`, and `cmp-sample-desktop`.
* Added a complete iOS Xcode project configuration under `cmp-sample-ios/iosApp`, including assets, info plists, and Swift entry points.
* Updated `settings.gradle.kts` to replace the old `:sample:composeApp` with new platform-specific sample modules.
* Updated `kotlin-js-store/yarn.lock` with numerous dependency updates, including Webpack, Mocha, and various library versions.
* Configured `build.gradle.kts` for desktop, web (JS/Wasm), and iOS samples with appropriate targets and dependencies.
* Increased JVM heap size limits for Kotlin daemon and Gradle in `gradle.properties`.
* Added IntelliJ run configurations for Desktop and Web (JS/Wasm) samples.
* Adjusted package names across sample modules to reflect the new project structure.
* Configure multiplatform sample modules and update JS dependencies
* Refactored sample modules by moving source files to `cmp-sample-web`, `cmp-sample-ios`, and `cmp-sample-desktop`.
* Added a complete iOS Xcode project configuration under `cmp-sample-ios/iosApp`, including assets, info plists, and Swift entry points.
* Updated `settings.gradle.kts` to replace the old `:sample:composeApp` with new platform-specific sample modules.
* Updated `kotlin-js-store/yarn.lock` with numerous dependency updates, including Webpack, Mocha, and various library versions.
* Configured `build.gradle.kts` for desktop, web (JS/Wasm), and iOS samples with appropriate targets and dependencies.
* Increased JVM heap size limits for Kotlin daemon and Gradle in `gradle.properties`.
* Added IntelliJ run configurations for Desktop and Web (JS/Wasm) samples.
* Adjusted package names across sample modules to reflect the new project structure.1 parent abc62d3 commit 1dc80bc
94 files changed
Lines changed: 2496 additions & 852 deletions
File tree
- .run
- cmp-sample-android
- src
- androidTest/java/cmp/sample/android
- main
- kotlin/cmp/sample/android
- res
- drawable-v24
- drawable
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- test/java/cmp/sample/android
- cmp-sample-desktop
- src/desktopMain/kotlin/cmp/sample/desktop
- cmp-sample-ios
- iosApp
- Configuration
- iosApp.xcodeproj
- iosApp
- Assets.xcassets
- AccentColor.colorset
- AppIcon.appiconset
- Preview Content/Preview Assets.xcassets
- src/iosMain/kotlin/cmp/sample/ios
- cmp-sample-web
- src
- jsMain/kotlin/cmp/sample/js
- wasmJsMain/kotlin/cmp/sample/wasmJs
- core/designsystem
- src/commonMain/kotlin/org/mifos/authenticator/core/designsystem/theme
- gradle
- kotlin-js-store
- mifos-authenticator-biometrics
- mifos-authenticator-passcode
- src/commonMain/kotlin/org/mifos/authenticator/passcode
- components
- screen
- sample/composeApp
- src/androidMain
- kotlin/org/mifos/authenticator/sample
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments