Skip to content

Releases: binayshaw7777/KotStep

2.2.3

21 Sep 18:10
Compare
Choose a tag to compare

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 to True

Full Changelog: 2.2.2...2.2.3

2.2.2

24 Aug 12:31
Compare
Choose a tag to compare

🚀 Release Notes for KotStep 2.2.2

What's Changed 😮:

  • Segregated and introduced stepStroke from lineThickness
  • 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 use stepStroke param in StepStyle.

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

22 Aug 18:17
Compare
Choose a tag to compare

🚀 Release Notes for KotStep 2.2.1

What's Changed 😮:

  • Segregate lineType into two attrs: lineTrackType and lineProgressType
  • Segregate strokeCap into two attrs: trackStrokeCap and progressStrokeCap

⚠️ Breaking Changes:

  • If using lineType, please use lineTrackType and lineProgressType for better usability.
  • If using strokeCap, please use trackStrokeCap and progressStrokeCap 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

19 Aug 17:33
cfea3b1
Compare
Choose a tag to compare

🚀 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 or lineSize may break. These attributes should now be placed inside the lineStyle property. Please move all your line attribute inside lineStyle param of StepStyle

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

25 Jul 19:26
9ec28a1
Compare
Choose a tag to compare

What's Changed 😮

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

20 Jun 13:06
Compare
Choose a tag to compare

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

19 Jun 19:19
Compare
Choose a tag to compare

Release Notes

  • Improved the usage style
  • No more multiple parameters
  • New components for both Horizontal and Vertical Styles
  • Updated Docs

1.2.0

10 Jun 17:12
4636c09
Compare
Choose a tag to compare

Version Upgrade:

Commits:

1.1.0

16 Sep 04:56
Compare
Choose a tag to compare
Added Shape Customization

v1.0.0

15 Sep 19:41
Compare
Choose a tag to compare
Release 1.0.0