ngx-color 7.3.1 → 8.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.
Files changed (212) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +281 -0
  3. package/alpha.component.d.ts +1 -1
  4. package/checkboard.component.d.ts +1 -1
  5. package/color-wrap.component.d.ts +1 -1
  6. package/coordinates.directive.d.ts +1 -1
  7. package/editable-input.component.d.ts +1 -1
  8. package/esm2020/alpha.component.mjs +13 -61
  9. package/esm2020/checkboard.component.mjs +9 -25
  10. package/esm2020/color-wrap.component.mjs +8 -8
  11. package/esm2020/coordinates.directive.mjs +7 -7
  12. package/esm2020/editable-input.component.mjs +11 -25
  13. package/esm2020/hue.component.mjs +13 -54
  14. package/esm2020/raised.component.mjs +10 -49
  15. package/esm2020/saturation.component.mjs +13 -57
  16. package/esm2020/shade.component.mjs +11 -51
  17. package/esm2020/swatch.component.mjs +13 -28
  18. package/fesm2015/ngx-color.mjs +92 -349
  19. package/fesm2015/ngx-color.mjs.map +1 -1
  20. package/fesm2020/ngx-color.mjs +92 -349
  21. package/fesm2020/ngx-color.mjs.map +1 -1
  22. package/hue.component.d.ts +1 -1
  23. package/{ngx-color.d.ts → index.d.ts} +0 -0
  24. package/package.json +11 -123
  25. package/raised.component.d.ts +1 -1
  26. package/saturation.component.d.ts +1 -1
  27. package/shade.component.d.ts +1 -1
  28. package/swatch.component.d.ts +1 -1
  29. package/alpha/alpha-picker.component.d.ts +0 -28
  30. package/alpha/ngx-color-alpha.d.ts +0 -5
  31. package/alpha/package.json +0 -17
  32. package/alpha/public_api.d.ts +0 -1
  33. package/block/block-swatches.component.d.ts +0 -24
  34. package/block/block.component.d.ts +0 -36
  35. package/block/ngx-color-block.d.ts +0 -5
  36. package/block/package.json +0 -16
  37. package/block/public_api.d.ts +0 -2
  38. package/chrome/chrome-fields.component.d.ts +0 -22
  39. package/chrome/chrome.component.d.ts +0 -25
  40. package/chrome/ngx-color-chrome.d.ts +0 -5
  41. package/chrome/package.json +0 -16
  42. package/chrome/public_api.d.ts +0 -2
  43. package/circle/circle-swatch.component.d.ts +0 -19
  44. package/circle/circle.component.d.ts +0 -32
  45. package/circle/ngx-color-circle.d.ts +0 -5
  46. package/circle/package.json +0 -19
  47. package/circle/public_api.d.ts +0 -2
  48. package/compact/compact-color.component.d.ts +0 -19
  49. package/compact/compact-fields.component.d.ts +0 -32
  50. package/compact/compact.component.d.ts +0 -30
  51. package/compact/ngx-color-compact.d.ts +0 -5
  52. package/compact/package.json +0 -16
  53. package/compact/public_api.d.ts +0 -3
  54. package/esm2020/alpha/alpha-picker.component.mjs +0 -116
  55. package/esm2020/alpha/ngx-color-alpha.mjs +0 -5
  56. package/esm2020/alpha/public_api.mjs +0 -2
  57. package/esm2020/block/block-swatches.component.mjs +0 -74
  58. package/esm2020/block/block.component.mjs +0 -199
  59. package/esm2020/block/ngx-color-block.mjs +0 -5
  60. package/esm2020/block/public_api.mjs +0 -3
  61. package/esm2020/chrome/chrome-fields.component.mjs +0 -356
  62. package/esm2020/chrome/chrome.component.mjs +0 -249
  63. package/esm2020/chrome/ngx-color-chrome.mjs +0 -5
  64. package/esm2020/chrome/public_api.mjs +0 -3
  65. package/esm2020/circle/circle-swatch.component.mjs +0 -85
  66. package/esm2020/circle/circle.component.mjs +0 -148
  67. package/esm2020/circle/ngx-color-circle.mjs +0 -5
  68. package/esm2020/circle/public_api.mjs +0 -3
  69. package/esm2020/compact/compact-color.component.mjs +0 -91
  70. package/esm2020/compact/compact-fields.component.mjs +0 -186
  71. package/esm2020/compact/compact.component.mjs +0 -177
  72. package/esm2020/compact/ngx-color-compact.mjs +0 -5
  73. package/esm2020/compact/public_api.mjs +0 -4
  74. package/esm2020/github/github-swatch.component.mjs +0 -67
  75. package/esm2020/github/github.component.mjs +0 -179
  76. package/esm2020/github/ngx-color-github.mjs +0 -5
  77. package/esm2020/github/public_api.mjs +0 -3
  78. package/esm2020/hue/hue-picker.component.mjs +0 -113
  79. package/esm2020/hue/ngx-color-hue.mjs +0 -5
  80. package/esm2020/hue/public_api.mjs +0 -2
  81. package/esm2020/material/material.component.mjs +0 -211
  82. package/esm2020/material/ngx-color-material.mjs +0 -5
  83. package/esm2020/material/public_api.mjs +0 -2
  84. package/esm2020/photoshop/ngx-color-photoshop.mjs +0 -5
  85. package/esm2020/photoshop/photoshop-button.component.mjs +0 -63
  86. package/esm2020/photoshop/photoshop-fields.component.mjs +0 -241
  87. package/esm2020/photoshop/photoshop-previews.component.mjs +0 -68
  88. package/esm2020/photoshop/photoshop.component.mjs +0 -258
  89. package/esm2020/photoshop/public_api.mjs +0 -5
  90. package/esm2020/shade/ngx-color-shade.mjs +0 -5
  91. package/esm2020/shade/public_api.mjs +0 -2
  92. package/esm2020/shade/shade-picker.component.mjs +0 -105
  93. package/esm2020/sketch/ngx-color-sketch.mjs +0 -5
  94. package/esm2020/sketch/public_api.mjs +0 -4
  95. package/esm2020/sketch/sketch-fields.component.mjs +0 -243
  96. package/esm2020/sketch/sketch-preset-colors.component.mjs +0 -98
  97. package/esm2020/sketch/sketch.component.mjs +0 -283
  98. package/esm2020/slider/ngx-color-slider.mjs +0 -5
  99. package/esm2020/slider/public_api.mjs +0 -4
  100. package/esm2020/slider/slider-swatch.component.mjs +0 -80
  101. package/esm2020/slider/slider-swatches.component.mjs +0 -135
  102. package/esm2020/slider/slider.component.mjs +0 -116
  103. package/esm2020/swatches/ngx-color-swatches.mjs +0 -5
  104. package/esm2020/swatches/public_api.mjs +0 -4
  105. package/esm2020/swatches/swatches-color.component.mjs +0 -123
  106. package/esm2020/swatches/swatches-group.component.mjs +0 -64
  107. package/esm2020/swatches/swatches.component.mjs +0 -258
  108. package/esm2020/twitter/ngx-color-twitter.mjs +0 -5
  109. package/esm2020/twitter/public_api.mjs +0 -2
  110. package/esm2020/twitter/twitter.component.mjs +0 -255
  111. package/fesm2015/ngx-color-alpha.mjs +0 -123
  112. package/fesm2015/ngx-color-alpha.mjs.map +0 -1
  113. package/fesm2015/ngx-color-block.mjs +0 -275
  114. package/fesm2015/ngx-color-block.mjs.map +0 -1
  115. package/fesm2015/ngx-color-chrome.mjs +0 -606
  116. package/fesm2015/ngx-color-chrome.mjs.map +0 -1
  117. package/fesm2015/ngx-color-circle.mjs +0 -237
  118. package/fesm2015/ngx-color-circle.mjs.map +0 -1
  119. package/fesm2015/ngx-color-compact.mjs +0 -451
  120. package/fesm2015/ngx-color-compact.mjs.map +0 -1
  121. package/fesm2015/ngx-color-github.mjs +0 -250
  122. package/fesm2015/ngx-color-github.mjs.map +0 -1
  123. package/fesm2015/ngx-color-hue.mjs +0 -120
  124. package/fesm2015/ngx-color-hue.mjs.map +0 -1
  125. package/fesm2015/ngx-color-material.mjs +0 -218
  126. package/fesm2015/ngx-color-material.mjs.map +0 -1
  127. package/fesm2015/ngx-color-photoshop.mjs +0 -626
  128. package/fesm2015/ngx-color-photoshop.mjs.map +0 -1
  129. package/fesm2015/ngx-color-shade.mjs +0 -112
  130. package/fesm2015/ngx-color-shade.mjs.map +0 -1
  131. package/fesm2015/ngx-color-sketch.mjs +0 -620
  132. package/fesm2015/ngx-color-sketch.mjs.map +0 -1
  133. package/fesm2015/ngx-color-slider.mjs +0 -331
  134. package/fesm2015/ngx-color-slider.mjs.map +0 -1
  135. package/fesm2015/ngx-color-swatches.mjs +0 -441
  136. package/fesm2015/ngx-color-swatches.mjs.map +0 -1
  137. package/fesm2015/ngx-color-twitter.mjs +0 -262
  138. package/fesm2015/ngx-color-twitter.mjs.map +0 -1
  139. package/fesm2020/ngx-color-alpha.mjs +0 -123
  140. package/fesm2020/ngx-color-alpha.mjs.map +0 -1
  141. package/fesm2020/ngx-color-block.mjs +0 -275
  142. package/fesm2020/ngx-color-block.mjs.map +0 -1
  143. package/fesm2020/ngx-color-chrome.mjs +0 -606
  144. package/fesm2020/ngx-color-chrome.mjs.map +0 -1
  145. package/fesm2020/ngx-color-circle.mjs +0 -237
  146. package/fesm2020/ngx-color-circle.mjs.map +0 -1
  147. package/fesm2020/ngx-color-compact.mjs +0 -451
  148. package/fesm2020/ngx-color-compact.mjs.map +0 -1
  149. package/fesm2020/ngx-color-github.mjs +0 -250
  150. package/fesm2020/ngx-color-github.mjs.map +0 -1
  151. package/fesm2020/ngx-color-hue.mjs +0 -120
  152. package/fesm2020/ngx-color-hue.mjs.map +0 -1
  153. package/fesm2020/ngx-color-material.mjs +0 -218
  154. package/fesm2020/ngx-color-material.mjs.map +0 -1
  155. package/fesm2020/ngx-color-photoshop.mjs +0 -626
  156. package/fesm2020/ngx-color-photoshop.mjs.map +0 -1
  157. package/fesm2020/ngx-color-shade.mjs +0 -112
  158. package/fesm2020/ngx-color-shade.mjs.map +0 -1
  159. package/fesm2020/ngx-color-sketch.mjs +0 -620
  160. package/fesm2020/ngx-color-sketch.mjs.map +0 -1
  161. package/fesm2020/ngx-color-slider.mjs +0 -331
  162. package/fesm2020/ngx-color-slider.mjs.map +0 -1
  163. package/fesm2020/ngx-color-swatches.mjs +0 -441
  164. package/fesm2020/ngx-color-swatches.mjs.map +0 -1
  165. package/fesm2020/ngx-color-twitter.mjs +0 -262
  166. package/fesm2020/ngx-color-twitter.mjs.map +0 -1
  167. package/github/github-swatch.component.d.ts +0 -19
  168. package/github/github.component.d.ts +0 -28
  169. package/github/ngx-color-github.d.ts +0 -5
  170. package/github/package.json +0 -16
  171. package/github/public_api.d.ts +0 -2
  172. package/hue/hue-picker.component.d.ts +0 -29
  173. package/hue/ngx-color-hue.d.ts +0 -5
  174. package/hue/package.json +0 -15
  175. package/hue/public_api.d.ts +0 -1
  176. package/material/material.component.d.ts +0 -39
  177. package/material/ngx-color-material.d.ts +0 -5
  178. package/material/package.json +0 -15
  179. package/material/public_api.d.ts +0 -1
  180. package/photoshop/ngx-color-photoshop.d.ts +0 -5
  181. package/photoshop/package.json +0 -15
  182. package/photoshop/photoshop-button.component.d.ts +0 -9
  183. package/photoshop/photoshop-fields.component.d.ts +0 -22
  184. package/photoshop/photoshop-previews.component.d.ts +0 -11
  185. package/photoshop/photoshop.component.d.ts +0 -33
  186. package/photoshop/public_api.d.ts +0 -4
  187. package/shade/ngx-color-shade.d.ts +0 -5
  188. package/shade/package.json +0 -17
  189. package/shade/public_api.d.ts +0 -1
  190. package/shade/shade-picker.component.d.ts +0 -27
  191. package/sketch/ngx-color-sketch.d.ts +0 -5
  192. package/sketch/package.json +0 -15
  193. package/sketch/public_api.d.ts +0 -3
  194. package/sketch/sketch-fields.component.d.ts +0 -23
  195. package/sketch/sketch-preset-colors.component.d.ts +0 -24
  196. package/sketch/sketch.component.d.ts +0 -32
  197. package/slider/ngx-color-slider.d.ts +0 -5
  198. package/slider/package.json +0 -15
  199. package/slider/public_api.d.ts +0 -3
  200. package/slider/slider-swatch.component.d.ts +0 -16
  201. package/slider/slider-swatches.component.d.ts +0 -15
  202. package/slider/slider.component.d.ts +0 -22
  203. package/swatches/ngx-color-swatches.d.ts +0 -5
  204. package/swatches/package.json +0 -18
  205. package/swatches/public_api.d.ts +0 -3
  206. package/swatches/swatches-color.component.d.ts +0 -18
  207. package/swatches/swatches-group.component.d.ts +0 -10
  208. package/swatches/swatches.component.d.ts +0 -29
  209. package/twitter/ngx-color-twitter.d.ts +0 -5
  210. package/twitter/package.json +0 -15
  211. package/twitter/public_api.d.ts +0 -1
  212. package/twitter/twitter.component.d.ts +0 -31
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-color/sketch" />
5
- export * from './public_api';
@@ -1,15 +0,0 @@
1
- {
2
- "name": "ngx-color/sketch",
3
- "author": "scttcper",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/scttcper/ngx-color.git"
7
- },
8
- "module": "../fesm2015/ngx-color-sketch.mjs",
9
- "es2020": "../fesm2020/ngx-color-sketch.mjs",
10
- "esm2020": "../esm2020/sketch/ngx-color-sketch.mjs",
11
- "fesm2020": "../fesm2020/ngx-color-sketch.mjs",
12
- "fesm2015": "../fesm2015/ngx-color-sketch.mjs",
13
- "typings": "ngx-color-sketch.d.ts",
14
- "sideEffects": false
15
- }
@@ -1,3 +0,0 @@
1
- export { SketchFieldsComponent } from './sketch-fields.component';
2
- export { SketchPresetColorsComponent } from './sketch-preset-colors.component';
3
- export { ColorSketchModule, SketchComponent } from './sketch.component';
@@ -1,23 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { HSLA, RGBA } from 'ngx-color';
3
- import * as i0 from "@angular/core";
4
- export declare class SketchFieldsComponent {
5
- hsl: HSLA;
6
- rgb: RGBA;
7
- hex: string;
8
- disableAlpha: boolean;
9
- onChange: EventEmitter<any>;
10
- input: {
11
- [key: string]: string;
12
- };
13
- label: {
14
- [key: string]: string;
15
- };
16
- round(value: any): number;
17
- handleChange({ data, $event }: {
18
- data: any;
19
- $event: any;
20
- }): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<SketchFieldsComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SketchFieldsComponent, "color-sketch-fields", never, { "hsl": "hsl"; "rgb": "rgb"; "hex": "hex"; "disableAlpha": "disableAlpha"; }, { "onChange": "onChange"; }, never, never>;
23
- }
@@ -1,24 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { Shape } from 'ngx-color';
3
- import * as i0 from "@angular/core";
4
- export declare class SketchPresetColorsComponent {
5
- colors: string[];
6
- onClick: EventEmitter<any>;
7
- onSwatchHover: EventEmitter<any>;
8
- swatchStyle: {
9
- borderRadius: string;
10
- boxShadow: string;
11
- };
12
- handleClick({ hex, $event }: {
13
- hex: any;
14
- $event: any;
15
- }): void;
16
- normalizeValue(val: string | Shape): Shape | {
17
- color: string;
18
- };
19
- focusStyle(val: string | Shape): {
20
- boxShadow: string;
21
- };
22
- static ɵfac: i0.ɵɵFactoryDeclaration<SketchPresetColorsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<SketchPresetColorsComponent, "color-sketch-preset-colors", never, { "colors": "colors"; }, { "onClick": "onClick"; "onSwatchHover": "onSwatchHover"; }, never, never>;
24
- }
@@ -1,32 +0,0 @@
1
- import { ColorWrap } from 'ngx-color';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./sketch-fields.component";
4
- import * as i2 from "./sketch-preset-colors.component";
5
- import * as i3 from "@angular/common";
6
- import * as i4 from "ngx-color";
7
- export declare class SketchComponent extends ColorWrap {
8
- /** Remove alpha slider and options from picker */
9
- disableAlpha: boolean;
10
- /** Hex strings for default colors at bottom of picker */
11
- presetColors: string[];
12
- /** Width of picker */
13
- width: number;
14
- activeBackground: string;
15
- constructor();
16
- afterValidChange(): void;
17
- handleValueChange({ data, $event }: {
18
- data: any;
19
- $event: any;
20
- }): void;
21
- handleBlockChange({ hex, $event }: {
22
- hex: any;
23
- $event: any;
24
- }): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<SketchComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<SketchComponent, "color-sketch", never, { "disableAlpha": "disableAlpha"; "presetColors": "presetColors"; "width": "width"; }, {}, never, never>;
27
- }
28
- export declare class ColorSketchModule {
29
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorSketchModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<ColorSketchModule, [typeof SketchComponent, typeof i1.SketchFieldsComponent, typeof i2.SketchPresetColorsComponent], [typeof i3.CommonModule, typeof i4.AlphaModule, typeof i4.CheckboardModule, typeof i4.EditableInputModule, typeof i4.HueModule, typeof i4.SaturationModule, typeof i4.SwatchModule], [typeof SketchComponent, typeof i1.SketchFieldsComponent, typeof i2.SketchPresetColorsComponent]>;
31
- static ɵinj: i0.ɵɵInjectorDeclaration<ColorSketchModule>;
32
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-color/slider" />
5
- export * from './public_api';
@@ -1,15 +0,0 @@
1
- {
2
- "name": "ngx-color/slider",
3
- "author": "scttcper",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/scttcper/ngx-color.git"
7
- },
8
- "module": "../fesm2015/ngx-color-slider.mjs",
9
- "es2020": "../fesm2020/ngx-color-slider.mjs",
10
- "esm2020": "../esm2020/slider/ngx-color-slider.mjs",
11
- "fesm2020": "../fesm2020/ngx-color-slider.mjs",
12
- "fesm2015": "../fesm2015/ngx-color-slider.mjs",
13
- "typings": "ngx-color-slider.d.ts",
14
- "sideEffects": false
15
- }
@@ -1,3 +0,0 @@
1
- export { SliderSwatchComponent } from './slider-swatch.component';
2
- export { SliderSwatchesComponent } from './slider-swatches.component';
3
- export { ColorSliderModule, SliderComponent } from './slider.component';
@@ -1,16 +0,0 @@
1
- import { EventEmitter, OnChanges } from '@angular/core';
2
- import { HSL } from 'ngx-color';
3
- import * as i0 from "@angular/core";
4
- export declare class SliderSwatchComponent implements OnChanges {
5
- hsl: HSL;
6
- active: boolean;
7
- offset: number;
8
- first: boolean;
9
- last: boolean;
10
- onClick: EventEmitter<any>;
11
- background: string;
12
- ngOnChanges(): void;
13
- handleClick($event: any): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderSwatchComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SliderSwatchComponent, "color-slider-swatch", never, { "hsl": "hsl"; "active": "active"; "offset": "offset"; "first": "first"; "last": "last"; }, { "onClick": "onClick"; }, never, never>;
16
- }
@@ -1,15 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { HSL } from 'ngx-color';
3
- import * as i0 from "@angular/core";
4
- export declare class SliderSwatchesComponent {
5
- hsl: HSL;
6
- onClick: EventEmitter<any>;
7
- onSwatchHover: EventEmitter<any>;
8
- active(l: number, s: number): boolean;
9
- handleClick({ data, $event }: {
10
- data: any;
11
- $event: any;
12
- }): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderSwatchesComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SliderSwatchesComponent, "color-slider-swatches", never, { "hsl": "hsl"; }, { "onClick": "onClick"; "onSwatchHover": "onSwatchHover"; }, never, never>;
15
- }
@@ -1,22 +0,0 @@
1
- import { ColorWrap } from 'ngx-color';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./slider-swatch.component";
4
- import * as i2 from "./slider-swatches.component";
5
- import * as i3 from "@angular/common";
6
- import * as i4 from "ngx-color";
7
- export declare class SliderComponent extends ColorWrap {
8
- pointer: Record<string, string>;
9
- radius: number;
10
- constructor();
11
- handlePickerChange({ data, $event }: {
12
- data: any;
13
- $event: any;
14
- }): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "color-slider", never, { "pointer": "pointer"; "radius": "radius"; }, {}, never, never>;
17
- }
18
- export declare class ColorSliderModule {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorSliderModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<ColorSliderModule, [typeof SliderComponent, typeof i1.SliderSwatchComponent, typeof i2.SliderSwatchesComponent], [typeof i3.CommonModule, typeof i4.HueModule, typeof i4.SwatchModule], [typeof SliderComponent, typeof i1.SliderSwatchComponent, typeof i2.SliderSwatchesComponent]>;
21
- static ɵinj: i0.ɵɵInjectorDeclaration<ColorSliderModule>;
22
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-color/swatches" />
5
- export * from './public_api';
@@ -1,18 +0,0 @@
1
- {
2
- "name": "ngx-color/swatches",
3
- "author": "scttcper",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/scttcper/ngx-color.git"
7
- },
8
- "peerDependencies": {
9
- "material-colors": "^1.2.6"
10
- },
11
- "module": "../fesm2015/ngx-color-swatches.mjs",
12
- "es2020": "../fesm2020/ngx-color-swatches.mjs",
13
- "esm2020": "../esm2020/swatches/ngx-color-swatches.mjs",
14
- "fesm2020": "../fesm2020/ngx-color-swatches.mjs",
15
- "fesm2015": "../fesm2015/ngx-color-swatches.mjs",
16
- "typings": "ngx-color-swatches.d.ts",
17
- "sideEffects": false
18
- }
@@ -1,3 +0,0 @@
1
- export { SwatchesColorComponent } from './swatches-color.component';
2
- export { SwatchesGroupComponent } from './swatches-group.component';
3
- export { ColorSwatchesModule, SwatchesComponent } from './swatches.component';
@@ -1,18 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { getContrastingColor } from 'ngx-color';
3
- import * as i0 from "@angular/core";
4
- export declare class SwatchesColorComponent implements OnInit {
5
- color: string;
6
- first: boolean;
7
- last: boolean;
8
- active: boolean;
9
- onClick: EventEmitter<any>;
10
- onSwatchHover: EventEmitter<any>;
11
- getContrastingColor: typeof getContrastingColor;
12
- colorStyle: Record<string, string>;
13
- focusStyle: Record<string, string>;
14
- ngOnInit(): void;
15
- handleClick($event: any): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<SwatchesColorComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<SwatchesColorComponent, "color-swatches-color", never, { "color": "color"; "first": "first"; "last": "last"; "active": "active"; }, { "onClick": "onClick"; "onSwatchHover": "onSwatchHover"; }, never, never>;
18
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SwatchesGroupComponent {
4
- group: string[];
5
- active: string;
6
- onClick: EventEmitter<any>;
7
- onSwatchHover: EventEmitter<any>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SwatchesGroupComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SwatchesGroupComponent, "color-swatches-group", never, { "group": "group"; "active": "active"; }, { "onClick": "onClick"; "onSwatchHover": "onSwatchHover"; }, never, never>;
10
- }
@@ -1,29 +0,0 @@
1
- import { ColorWrap, zDepth } from 'ngx-color';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./swatches-group.component";
4
- import * as i2 from "./swatches-color.component";
5
- import * as i3 from "@angular/common";
6
- import * as i4 from "ngx-color";
7
- export declare class SwatchesComponent extends ColorWrap {
8
- /** Pixel value for picker width */
9
- width: string | number;
10
- /** Color squares to display */
11
- height: string | number;
12
- /** An array of color groups, each with an array of colors */
13
- colors: string[][];
14
- zDepth: zDepth;
15
- radius: number;
16
- background: string;
17
- constructor();
18
- handlePickerChange({ data, $event }: {
19
- data: any;
20
- $event: any;
21
- }): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<SwatchesComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<SwatchesComponent, "color-swatches", never, { "width": "width"; "height": "height"; "colors": "colors"; "zDepth": "zDepth"; "radius": "radius"; "background": "background"; }, {}, never, never>;
24
- }
25
- export declare class ColorSwatchesModule {
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorSwatchesModule, never>;
27
- static ɵmod: i0.ɵɵNgModuleDeclaration<ColorSwatchesModule, [typeof SwatchesComponent, typeof i1.SwatchesGroupComponent, typeof i2.SwatchesColorComponent], [typeof i3.CommonModule, typeof i4.SwatchModule, typeof i4.RaisedModule], [typeof SwatchesComponent, typeof i1.SwatchesGroupComponent, typeof i2.SwatchesColorComponent]>;
28
- static ɵinj: i0.ɵɵInjectorDeclaration<ColorSwatchesModule>;
29
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-color/twitter" />
5
- export * from './public_api';
@@ -1,15 +0,0 @@
1
- {
2
- "name": "ngx-color/twitter",
3
- "author": "scttcper",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/scttcper/ngx-color.git"
7
- },
8
- "module": "../fesm2015/ngx-color-twitter.mjs",
9
- "es2020": "../fesm2020/ngx-color-twitter.mjs",
10
- "esm2020": "../esm2020/twitter/ngx-color-twitter.mjs",
11
- "fesm2020": "../fesm2020/ngx-color-twitter.mjs",
12
- "fesm2015": "../fesm2015/ngx-color-twitter.mjs",
13
- "typings": "ngx-color-twitter.d.ts",
14
- "sideEffects": false
15
- }
@@ -1 +0,0 @@
1
- export { ColorTwitterModule, TwitterComponent } from './twitter.component';
@@ -1,31 +0,0 @@
1
- import { ColorWrap } from 'ngx-color';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "ngx-color";
5
- export declare class TwitterComponent extends ColorWrap {
6
- /** Pixel value for picker width */
7
- width: string | number;
8
- /** Color squares to display */
9
- colors: string[];
10
- triangle: 'hide' | 'top-left' | 'top-right' | 'bottom-right';
11
- swatchStyle: {
12
- [key: string]: string;
13
- };
14
- input: {
15
- [key: string]: string;
16
- };
17
- disableAlpha: boolean;
18
- constructor();
19
- focus(color: string): {
20
- boxShadow: string;
21
- };
22
- handleBlockChange({ hex, $event }: any): void;
23
- handleValueChange({ data, $event }: any): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TwitterComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TwitterComponent, "color-twitter", never, { "width": "width"; "colors": "colors"; "triangle": "triangle"; }, {}, never, never>;
26
- }
27
- export declare class ColorTwitterModule {
28
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorTwitterModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<ColorTwitterModule, [typeof TwitterComponent], [typeof i1.CommonModule, typeof i2.SwatchModule, typeof i2.EditableInputModule], [typeof TwitterComponent]>;
30
- static ɵinj: i0.ɵɵInjectorDeclaration<ColorTwitterModule>;
31
- }