nxt-color-picker 13.0.0 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -69,13 +69,14 @@ import { ColorPickerModule } from 'nxt-color-picker';
69
69
 
70
70
  [cpMode] // Dialog color mode: 'color', 'grayscale', 'presets' ('color').
71
71
 
72
+ [cpCmykEnabled] // Enables CMYK input format and color change event (false).
73
+
72
74
  [cpOutputFormat] // Output color format: OutputFormat (OutputFormat.auto).
73
75
  [cpAlphaChannel] // Alpha mode: AlphaChannel (AlphaChannel.enabled).
74
76
  [cpFallbackColor] // Used when the color is not well-formed or is undefined ('#000').
75
77
 
76
78
  [cpPosition] // Dialog position: DialogPosition (DialogPosition.right).
77
- [cpPositionOffset] // Dialog offset percentage relative to the directive element (0%).
78
- [cpPositionRelativeToArrow] // Dialog position is calculated relative to dialog arrow (false).
79
+ [cpPositionOffset] // Dialog offset percentage relative to the directive element (0).
79
80
 
80
81
  [cpPresetLabel] // Show label for preset colors (true). If string is given, it overrides the default label.
81
82
  [cpPresetColors] // Array of preset colors to show in the color picker dialog ([]).
@@ -117,6 +118,8 @@ import { ColorPickerModule } from 'nxt-color-picker';
117
118
  (cpColorSelect) // Selected color value, send when OK button pressed or user clicks outside (if cpSaveClickOutside is true). (value: string).
118
119
  (cpColorChange) // Changed color value, send when color is changed (value: string).
119
120
 
121
+ (cpCmykColorChange) // Outputs the color as CMYK string if CMYK is enabled (value: string).
122
+
120
123
  (cpPresetColorsChange) // Preset colors, send when 'Add Color' button is pressed (value: array).
121
124
  ```
122
125