Releases: sakethpathike/kapsule
Releases · sakethpathike/kapsule
0.1.2 - Hotfix
Fixes
- Chained
appendNewStyle
calls in modifiers when applying multiple styles, fixing an issue with certain modifiers' behaviour (no API changes).
Full Changelog: 0.1.1...0.1.2
0.1.1 - Hotfix
0.1.0
Breaking changes
- Modifiers now follow the Compose-style design: no more instantiating a new class for every modifier. Kapsule internally chains modifier calls and produces the expected CSS.
Modifier().someModifier(...)
is no longer supported—replace everyModifier().someModifier(...)
withModifier.someModifier(...)
to build successfully.
Before (up to v0.0.6):
Text(
text = "x", modifier = Modifier().color("#CAC4D0")
)
Text(
text = "y", modifier = Modifier().color("#1C1B1F").backgroundColor("#CAC4D0")
)
Now (v0.1.0 and later):
Text(
text = "x",
modifier = Modifier.color("#CAC4D0")
)
Text(
text = "y",
modifier = Modifier.color("#1C1B1F").backgroundColor("#CAC4D0")
)
Every Modifier.someModifier(...)
invocation creates a new modifier internally, keeping each styling call unique.
0.0.6
fix: rename `value` to `cssValue` in `FontWeight` to avoid clashes wi…
0.0.5
chore: bump version to 0.0.5
0.0.4
Full Changelog: 0.0.3...0.0.4
0.0.3
Full Changelog: 0.0.2...0.0.3
0.0.2
Full Changelog: 0.0.1...0.0.2
0.0.1
chore: set `group` to `io.github.sakethpathike` to fix the component …