summaryrefslogtreecommitdiff
path: root/colorpicker-compose/api
AgeCommit message (Collapse)AuthorFilesLines
2026-09-16Merge main into the desktop demoskydoves1-6/+14
Resolutions: - Took main for the Spotless bump, the ktlint reformats, the version catalog and the wheel bitmap property, all of which landed separately. - Kept the benchmark build type and the baselineProfile dependency on :demo:androidApp, which the baseline-profile workflow needs. - ObserveColorChanges now uses rememberCoroutineScope as well, so the picker and the sliders collect the same way, and ColorPicker just delegates to it. - Tests build the controller without a scope, and the ones that read a callback wait for idle first, since a color change now arrives on the composition's own scope rather than Dispatchers.Main.
2026-09-16Add onColorPickingFinished to the pickersskydoves1-2/+2
onColorChanged fires for every step of a drag, so there was no way to tell a live preview apart from a finished choice. HsvColorPicker and ImageColorPicker now take onColorPickingFinished, which fires once when a tap lands or a drag ends, with the color the pick settled on.
2026-09-16Fix slider rendering and let sliders stand aloneskydoves1-4/+12
- The thumb was centered on the track ends, so half of it was clipped away. It now reserves its radius at each end, and the tap and drag mapping uses the same travel. - The track paint took its color, and so its alpha, from the controller. A controller with nothing selected is transparent, which left a slider used without a picker drawing nothing at all. - The brightness ramp assumed full saturation and painted red instead of a grey ramp when nothing was selected. - AlphaSlider, BrightnessSlider and SaturationSlider take onColorChanged so they report without a picker beside them. - Every slider takes an orientation and can run bottom to top. - The slider and tile backgrounds are no longer rebuilt on every recomposition, and the initial value is no longer written during the draw phase.
2026-06-08Add desktop demo and rework demo modulesSean Proctor1-2/+0
- Add :demo:desktopApp (Compose JVM desktop application) consuming the shared MainScreen. - Move :wasmApp under :demo:wasmApp and consume the shared MainScreen. - Migrate demo image picking from peekaboo-image-picker to FileKit. - Set the demo Res class package to com.github.skydoves.colorpickercomposedemo.shared via packageOfResClass. - Drop the GlobalScope/CoroutineScope constructor from ColorPickerController; ColorPicker now collects on a rememberCoroutineScope. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-04-28update API dumpAzerlag1-10/+37
2026-04-27update API dumpAzerlag1-10/+37
2024-06-29Apply debounceDurationskydoves2-4/+4
2024-06-29Implement setDebounceDuration functionskydoves2-0/+4
2024-06-29Implement setPaletteImageBitmap and sync imageBitmap changesskydoves2-0/+4
2024-06-29Remove android annotations on the comment APIsskydoves2-0/+166
2024-06-29Clean up internal logicsskydoves1-14/+14
2024-06-22Implement previewImagePainter for the ImageColorPickerskydoves1-1/+1
2024-06-22Implement selectByHsvskydoves1-0/+1
2024-03-25Fix selectByColor not updating alphadarktiny1-0/+1
2023-12-08Expose setBrightness to publicskydoves1-0/+1
2023-11-30Update apiruigoncalo1-0/+1
2023-10-01Update binary compatabilitiesskydoves1-0/+1
2023-09-11Run apiDump commandyangsooplus1-1/+1
2023-07-19Generate binary compatabilitiesskydoves1-2/+6
2023-04-16Add wheel alpha properties to the slider composablesskydoves1-2/+2
2023-04-16Generate binary compatabilitiesskydoves1-0/+1
2023-04-16Merge branch 'compose/update' of ↵skydoves1-1/+0
https://github.com/skydoves/colorpicker-compose into compose/update
2023-04-16Generate binary compatibilitiesskydoves1-2/+3
2023-04-16Refactor for initialColor and demoskydoves1-3/+2
2022-10-15Migrate to Jetpack Compose compiler 1.3.2 and Kotlin 1.7.20skydoves1-1/+0
2022-03-09Initial commitskydoves1-0/+74