Skip to content

Latest commit

 

History

History
119 lines (74 loc) · 4.75 KB

CHANGELOG.md

File metadata and controls

119 lines (74 loc) · 4.75 KB

8.1.2

  • [FIX] Accept 0 as a valid alpha channel when passed to initialValue. #128.

8.1.1

  • [FIX] Support touch handling when both mouse and touch events are present. #126.

8.1.0

  • [ADDED] Optional boolean parameter to overrideValue method. When true, initialValue used for the reset feature of the colorpicker is also changed.

8.0.2

Set expectation that picker always returns valid values

  • [FIX] Hex input rejects calling onChange if value is not valid.
  • [FIX] Number input returns the max number for each channel if a user input anything above.

8.0.1

  • [BUG] Store initialValue in state so any new value passed to initialValue in props does not override.
  • [UI] Small layout changes to provide a bit more flexibility to the mode toggle group.
  • [BUG] Add a hexInput property with boolean value to the object passed from the onChange handler. Helpful for detecting if the source of the change derrived from the input which is a little unique from the others. Marking this as a patch change as a version of this existed prior to 8.x.x.

8.0.0

  • [BREAKING] Dropped value prop. Component now exclusively manages its own value state.
  • [BREAKING] Renamed colorAttribute prop to channel.
  • [BREAKING] New layout changes. #118. this has consequences on the react-themeable IDs.
  • [ADDED] initialValue prop. Used as the initial value when the component is first mounted.
  • [ADDED] mounted prop. Accepts a function that is called when the component mounts with the instance as argument.
  • [INTERNAL] Replaced colr-convert and tinycolor2 packages with color and color-string #114.
  • [INTERNAL] Added overrideValue method that can be used when mounted is in use.

7.0.0

  • [BREAKING] Replaced HSV colorspace with HSL. #110
  • [BREAKING] Layout changes. #107. This had an effect on the react-themeable IDs.
  • [BUG] Add isMounted check to prevent the XY component from throwing errors #109
  • [BUG] Fix restrictions around typing hex characters #108
  • HSL is now the default option for the component

6.1.0

  • Allow React 16 as peer dependency.

6.0.0

  • Revamps colorpickr layout to a vertical theme.
  • This re-theme adds the following react-themeable ids: controlsLeftContainer, controlsRightContainer, swatch, and swatchCompareContainer.
  • This re-theme removes the following react-themable ids: topWrapper, bottomWrapper, bottomContainerLeft, newSwatch, currentSwatchWrapper, and bottomContainerRight.

5.0.0

  • Updates codebase to use ES2015 module syntax.
  • Updates test framework to use jest
  • Uses react-themeable to override component theme by passing a theme prop.
  • Replaces much of the custom CSS to use Assembly.

4.3.0

  • Support for React 15.

4.2.0

  • Touch support #85

4.1.2

  • Namespace radio button name on a per component basis #83

4.1.1

  • Fix browserify transforms from being applied to projects using react-colorpickr #79
  • Move reused code into seperate components. #78

4.1.1-alpha

  • Fix build error when browserifying src/colorpickr

4.1.0-alpha

  • Now accepts the following color types as props: HSV, HSVA, HSL, HSLA, RGBA, RGBA, HEX, named colors (e.g 'red')

3.0.2

  • Support React 0.14 and React 0.13

3.0.1

  • Layout adjustments for Firefox. See #62.

3.0.0

  • Break mode switching from input[type="number"]:focus into inline radio inputs.
  • Labels to denote current/new palette.

2.0.5

  • Use react-range for input sliders to support IE. See #52.

2.0.0

  • Pass mode & colorAttribute as optional properties to the component.
  • Add mode & colorAttribute values to onChange.
  • Remove localstorage management of color mode and attributes.

1.4.5

  • Fix bug around the usage of range inputs, including the darkness range: these HTML elements emit values as strings, rather than numbers, so they must be parsed before usage.

1.4.4

  • Fix bug around storage of alpha values: they are now stored as floating point numbers between 0 and 1