Releases: binayshaw7777/KotStep
Releases · binayshaw7777/KotStep
2.2.3
What's Changed
- New
StepStyle
Attribute: ignoreCurrentState (Boolean) by @binayshaw7777 in #26
If set to true, shows DONE instead of CURRENT state. So you can completely ignore/hide the CURRENT state, if set toTrue
Full Changelog: 2.2.2...2.2.3
2.2.2
🚀 Release Notes for KotStep 2.2.2
What's Changed 😮:
- Segregated and introduced
stepStroke
fromlineThickness
- Introduced
stepShape
in all tabs steppers - Introduced
checkMarkColor
as in Colors for Tick/Check mark Icons on DONE state
⚠️ Breaking Changes:
- As of now, no, you might need to check for your
lineThickness
if that affects your step's stroke. In that case, please usestepStroke
param inStepStyle
.
How to update your KotStep?
Change: 2.2.1
-> 2.2.2
dependencies {
implementation("com.github.binayshaw7777:KotStep:2.2.2")
}
Have any suggestion or want to report an issue?
Create an issue and mention @binayshaw7777 😄
Full Changelog: 2.2.1...2.2.2
2.2.1
🚀 Release Notes for KotStep 2.2.1
What's Changed 😮:
- Segregate
lineType
into two attrs:lineTrackType
andlineProgressType
- Segregate
strokeCap
into two attrs:trackStrokeCap
andprogressStrokeCap
⚠️ Breaking Changes:
- If using
lineType
, please uselineTrackType
andlineProgressType
for better usability. - If using
strokeCap
, please usetrackStrokeCap
andprogressStrokeCap
for better usability.
How to update your KotStep?
Change: 2.2.0
-> 2.2.1
dependencies {
implementation("com.github.binayshaw7777:KotStep:2.2.1")
}
Have any suggestion or want to report an issue?
Create an issue and mention @binayshaw7777 😄
Full Changelog: 2.2.0...2.2.1
2.2.0
🚀 Release Notes for KotStep 2.2.0
What's Changed 😮
- Line Modifications by @binayshaw7777 in #18
- Or, New line attributes, that means you can modify a bit more the Step Line/Divider
Feature Addition 😍
- 🎨 Line Color: Introduced a new line color attribute to separate it from content and container colors.
- 📏 Line Padding: Added padding options for lines, allowing customization of top, bottom, start, and end padding.
- 🧩 Constraint Layout introduction for Label based Steppers: The Label stepper now uses a Constraint layout instead of nested Row and Column for better UI handling.
- 🔢 Current Step: The currentStep attribute now supports the
Number
data type, this means you can also pass floating values for percentage based progress in Stepper. - ✔️ Tick Mark for Tabs Steppers: You can now optionally display a tick mark in Tab Style Steppers.
- 🎛️ LineStyle: All line-related attributes have been moved into a new lineStyle property for better organization.
- 📏 Line Type: Introduced three line types: SOLID, DASHED, and DOTTED.
- 📊 Line Progress: Supports fractional progress using the Number data type, allowing progress values like 5.63. For example, the 5th step will be marked as done, and 63% of the next line/divider will be filled with progress color.
- ✏️ StrokeCap: Customizable StrokeCap options for lines/dividers across all steppers.
⚠️ Breaking Changes:
- 💡 Line Attributes: Code using line attributes like
lineThickness
orlineSize
may break. These attributes should now be placed inside thelineStyle
property. Please move all your line attribute insidelineStyle
param ofStepStyle
Example Code (How to move line attributes)
val stepStyle = StepStyle(
lineStyle = LineDefault(
lineThickness = 2.dp,
lineSize = 6.dp,
linePaddingStart = 2.dp,
linePaddingEnd = 2.dp,
linePaddingTop = 2.dp,
linePaddingBottom = 2.dp,
strokeCap = StrokeCap.Round,
todoLineType = LineType.DOTTED,
currentLineType = LineType.DASHED,
doneLineType = LineType.SOLID
)
)
How to update your KotStep?
Change: 2.0.2
-> 2.2.0
dependencies {
implementation("com.github.binayshaw7777:KotStep:2.2.0")
}
Have any suggestion or want to report an issue?
Create an issue and mention @binayshaw7777 😄
Full Changelog: 2.1.0...2.2.0
2.1.0
What's Changed 😮
- Steppers with Label by @binayshaw7777 in #16
- v2.1.0 [Steps with Labels - Vertical] by @binayshaw7777 in #17
New Components 😍
- VerticalIconWithLabel: An enhancement over normal Icon Stepper, Provides a vertically aligned layout for combining icons with labels (trailing), enhancing visual appeal and information density.
- VerticalNumberWithLabel: An enhancement over normal Number Stepper, displays numbered items with corresponding labels (trailing) in a vertical arrangement, improving readability and organization.
- VerticalTabWithLabel: An enhancement over normal Tab Stepper, offers a vertical tab layout with associated labels (trailing), providing a compact and efficient way to present options.
Feature Changes 😎
- On Click Step Support: Get the index of the Step when clicked.
How to update your KotStep?
Change: 2.0.2
-> 2.1.0
dependencies {
implementation("com.github.binayshaw7777:KotStep:2.1.0")
}
Have any suggestion or want to report an issue?
Create an issue and mention @binayshaw7777 😄
Full Changelog: 2.0.2...2.1.0
2.0.2
Release Notes
- Improved the usage style
- No more multiple parameters
- New components for both Horizontal and Vertical Styles
- Updated Docs
Breaking Changes
- All Steppers usage has changed to more concise and easier approach.
2.0.0
Release Notes
- Improved the usage style
- No more multiple parameters
- New components for both Horizontal and Vertical Styles
- Updated Docs
1.2.0
Version Upgrade:
- Migrated Kotlin from
1.8.10
to2.0.0
- Upgraded AGP to
8.4.0
- Upgraded to Compose Compiler Gradle plugin](https://developer.android.com/develop/ui/compose/compiler)
- Upgraded other AndroidX libs to the latest version
Commits:
1.1.0
Added Shape Customization
v1.0.0
Release 1.0.0