File: NEWS.md

package info (click to toggle)
r-cran-colourpicker 1.1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,688 kB
  • sloc: javascript: 1,490; makefile: 13; sh: 3
file content (53 lines) | stat: -rw-r--r-- 2,748 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# colourpicker 1.1.1 (2021-09-30)

- Fix plotHelper() to work with new ggplot that complained about CPCOLS variable not existing

# colourpicker 1.1.0 (2020-09-14)

- Added support for bookmarking (restoring state) (#33)
- Added `closeOnClick` parameter that, when `TRUE`, will cause the colour selection panel to close immediately after choosing a colour (#34)
- Fixed bug: `colourInput()` now works with all R colour names, including names that have aliases such as "gray" vs "grey" (#25)
- Fixed bug where transparent colours no longer showed the background as transparent (#40)
- Fixed bug where the colour picker addin and Plot Colour Helper addin that were broken due to web security issues
- Use {shinydisconnect} for demo app

# colourpicker 1.0 (2017-09-27)

MAJOR NEW FEATURES

- `colourInput()` now supports an alpha channel, to allow selecting semi-transparent colours, using the `allowTransparent` boolean parameter. Note that this is a **BREAKING CHANGE** because previously `allowTransparent=TRUE` resulted in a checkbox, and now it displays the alpha opacity selector.  
- The value of a colour in `colourInput()` can be specified either using a colour name ("blue"), HEX codes ("#0000FF"), RGB codes ("rgb(0, 0, 255)"), or HSL codes ("hsl(240, 100, 50)")
- It is now possible to type the value of a colour (using any of the above versions) directly into the input field. For example, you can type "rgb(0, 0, 255)" directly into the input field to select the green colour.

BREAKING CHANGES

- The behaviour of `allowTransparent=TRUE` has been modified, as mentioned above
- The `transparentText` parameter from `colourInput()` has been removed

BUG FIXES

- Fix issue #7: setting a colourinput to background-only and then back to text does not let you click into the input

# colourpicker 0.3 (2016-12-05)

- Added an awesome `plotHelper()` gadget+addin that makes it easy to pick colours in a plot and see in real time the updated plot as you choose new colours (#1)
- Added keyboard shortcuts for `colourPicker()` (left/right arrows to navigate the colours, 1-9 to select a colour, spacebar to add a colour...)
- don't error out if a HEX value containing alpha transparency is passed to a `colourInput()` (#4 - thanks @ddiez)

# colourpicker 0.2.1 (2016-10-31)

- Slight changes to colour picker gadget UI

# colourpicker 0.2 (2016-09-06)

- Fix vignette source to have an output (CRAN reminded me to do this) 

# colourpicker 0.1.1 (2016-08-15)

- upgrade to newer version of JS library that fixed bugs with new jquery
- add `runExample()` function to run the example shiny app


# colourpicker 0.1 (2016-08-11)

- initial version (mostly copied over from `shinyjs` package)