Publish artifacts for the JS and wasmJs targets for the jetpack-compose extensions.
Added support to formatCssString and Color.parse for color spaces added in recent updates to the CSS color spec: oklab, oklch, srgb-linear, xyz-d50 and xyz-d65.
Added customColorSpaces for Color.parse and Color.formatCssString to allow non-standard color spaces to be used in color strings.
Added min and max properties to ColorComponentInfo to get the reference range for the component.
Support percentage format for all values in Color.parse with reference range scaling from the new drafts of CSS Color Module 4.
Added clamp() function to all color models to clamp the color components to their valid range.
Changed
Color.parse now parses lch() and lab() functions with the with D50 white points instead of D65 in order to comply with the latest draft of CSS Color Module 4.
Color.parse no longer clamps out-of-gamut values by default. Use the new clamp method on the returned color if desired.
Fixed
ColorSpace.equals will now properly return true when comparing color companions with the space they represent e.g. XYZ == XYZ65
Support the CSS "none" keyword for NaN values in Color.parse and Color.formatCssString
3.4.0
Publish artifacts for the wasmJs target. This target is experimental and not tested on CI. If
3.3.3
Changed
Use unique namespace for all android extensions and disable BuildConfig generation. Thanks to @frett for the contribution (#45)
3.3.2
Added
Publish linuxArm64 target. This target is not tested on CI.
Changed
Updated Kotlin to 1.9.0
3.3.1
Changed
Publish JVM artifacts with Java 8 bytecode
3.3.0
Added
The core module now publishes multiplatform targets for iosSimulatorArm64, tvosSimulatorArm64, and watchosSimulatorArm64.
The Jetpack Compose extensions module colormath-ext-jetpack-compose now publishes multiplatform targets for JVM and iOS in addition to the existing android target.
Publish artifacts for the JS and wasmJs targets for the jetpack-compose extensions.
Added support to formatCssString and Color.parse for color spaces added in recent updates to the CSS color spec: oklab, oklch, srgb-linear, xyz-d50 and xyz-d65.
Added customColorSpaces for Color.parse and Color.formatCssString to allow non-standard color spaces to be used in color strings.
Added min and max properties to ColorComponentInfo to get the reference range for the component.
Support percentage format for all values in Color.parse with reference range scaling from the new drafts of CSS Color Module 4.
Added clamp() function to all color models to clamp the color components to their valid range.
Changed
Color.parse now parses lch() and lab() functions with the with D50 white points instead of D65 in order to comply with the latest draft of CSS Color Module 4.
Color.parse no longer clamps out-of-gamut values by default. Use the new clamp method on the returned color if desired.
Fixed
ColorSpace.equals will now properly return true when comparing color companions with the space they represent e.g. XYZ == XYZ65
Support the CSS "none" keyword for NaN values in Color.parse and Color.formatCssString
3.4.0
Added
Publish artifacts for the wasmJs target. This target is experimental.
3.3.3
Changed
Use unique namespace for all android extensions and disable BuildConfig generation. Thanks to @frett for the contribution (#45)
3.3.2
Added
Publish linuxArm64 target. This target is not tested on CI.
Changed
Updated Kotlin to 1.9.0
3.3.1
Changed
Publish JVM artifacts with Java 8 bytecode
3.3.0
Added
The core module now publishes multiplatform targets for iosSimulatorArm64, tvosSimulatorArm64, and watchosSimulatorArm64.
The Jetpack Compose extensions module colormath-ext-jetpack-compose now publishes multiplatform targets for JVM and iOS in addition to the existing android target.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.github.ajalt.colormath:colormath from 3.2.0 to 3.5.0.
Release notes
Sourced from com.github.ajalt.colormath:colormath's releases.
Changelog
Sourced from com.github.ajalt.colormath:colormath's changelog.
Commits
4a0cc97
Release version 3.5.00b478a8
Normalize hue angles instead of clamping (#60)1ba9b1b
Remove kotest dependency from compose tests3c69f55
Don't clamp when parsinge627e3d
Fix polar component for Lch and Oklchfe1af31
Add clamp() to all models1572fbc
Use LocalUriHandler in tryite9be2e6
Support percentages for all values in parseb587f84
Add min and max to ColorComponentInfoc8e21e0
Run compose tests on JVMDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show