ngx-color 7.3.3 → 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 (211) hide show
  1. package/README.md +2 -1
  2. package/alpha.component.d.ts +1 -1
  3. package/checkboard.component.d.ts +1 -1
  4. package/color-wrap.component.d.ts +1 -1
  5. package/coordinates.directive.d.ts +1 -1
  6. package/editable-input.component.d.ts +1 -1
  7. package/esm2020/alpha.component.mjs +13 -61
  8. package/esm2020/checkboard.component.mjs +9 -25
  9. package/esm2020/color-wrap.component.mjs +8 -8
  10. package/esm2020/coordinates.directive.mjs +7 -7
  11. package/esm2020/editable-input.component.mjs +11 -25
  12. package/esm2020/hue.component.mjs +13 -54
  13. package/esm2020/raised.component.mjs +10 -49
  14. package/esm2020/saturation.component.mjs +13 -57
  15. package/esm2020/shade.component.mjs +11 -51
  16. package/esm2020/swatch.component.mjs +13 -28
  17. package/fesm2015/ngx-color.mjs +92 -349
  18. package/fesm2015/ngx-color.mjs.map +1 -1
  19. package/fesm2020/ngx-color.mjs +92 -349
  20. package/fesm2020/ngx-color.mjs.map +1 -1
  21. package/hue.component.d.ts +1 -1
  22. package/{ngx-color.d.ts → index.d.ts} +0 -0
  23. package/package.json +6 -119
  24. package/raised.component.d.ts +1 -1
  25. package/saturation.component.d.ts +1 -1
  26. package/shade.component.d.ts +1 -1
  27. package/swatch.component.d.ts +1 -1
  28. package/alpha/alpha-picker.component.d.ts +0 -28
  29. package/alpha/ngx-color-alpha.d.ts +0 -5
  30. package/alpha/package.json +0 -17
  31. package/alpha/public_api.d.ts +0 -1
  32. package/block/block-swatches.component.d.ts +0 -24
  33. package/block/block.component.d.ts +0 -36
  34. package/block/ngx-color-block.d.ts +0 -5
  35. package/block/package.json +0 -16
  36. package/block/public_api.d.ts +0 -2
  37. package/chrome/chrome-fields.component.d.ts +0 -22
  38. package/chrome/chrome.component.d.ts +0 -25
  39. package/chrome/ngx-color-chrome.d.ts +0 -5
  40. package/chrome/package.json +0 -16
  41. package/chrome/public_api.d.ts +0 -2
  42. package/circle/circle-swatch.component.d.ts +0 -19
  43. package/circle/circle.component.d.ts +0 -32
  44. package/circle/ngx-color-circle.d.ts +0 -5
  45. package/circle/package.json +0 -19
  46. package/circle/public_api.d.ts +0 -2
  47. package/compact/compact-color.component.d.ts +0 -19
  48. package/compact/compact-fields.component.d.ts +0 -32
  49. package/compact/compact.component.d.ts +0 -30
  50. package/compact/ngx-color-compact.d.ts +0 -5
  51. package/compact/package.json +0 -16
  52. package/compact/public_api.d.ts +0 -3
  53. package/esm2020/alpha/alpha-picker.component.mjs +0 -116
  54. package/esm2020/alpha/ngx-color-alpha.mjs +0 -5
  55. package/esm2020/alpha/public_api.mjs +0 -2
  56. package/esm2020/block/block-swatches.component.mjs +0 -74
  57. package/esm2020/block/block.component.mjs +0 -199
  58. package/esm2020/block/ngx-color-block.mjs +0 -5
  59. package/esm2020/block/public_api.mjs +0 -3
  60. package/esm2020/chrome/chrome-fields.component.mjs +0 -356
  61. package/esm2020/chrome/chrome.component.mjs +0 -249
  62. package/esm2020/chrome/ngx-color-chrome.mjs +0 -5
  63. package/esm2020/chrome/public_api.mjs +0 -3
  64. package/esm2020/circle/circle-swatch.component.mjs +0 -85
  65. package/esm2020/circle/circle.component.mjs +0 -148
  66. package/esm2020/circle/ngx-color-circle.mjs +0 -5
  67. package/esm2020/circle/public_api.mjs +0 -3
  68. package/esm2020/compact/compact-color.component.mjs +0 -91
  69. package/esm2020/compact/compact-fields.component.mjs +0 -186
  70. package/esm2020/compact/compact.component.mjs +0 -177
  71. package/esm2020/compact/ngx-color-compact.mjs +0 -5
  72. package/esm2020/compact/public_api.mjs +0 -4
  73. package/esm2020/github/github-swatch.component.mjs +0 -67
  74. package/esm2020/github/github.component.mjs +0 -179
  75. package/esm2020/github/ngx-color-github.mjs +0 -5
  76. package/esm2020/github/public_api.mjs +0 -3
  77. package/esm2020/hue/hue-picker.component.mjs +0 -113
  78. package/esm2020/hue/ngx-color-hue.mjs +0 -5
  79. package/esm2020/hue/public_api.mjs +0 -2
  80. package/esm2020/material/material.component.mjs +0 -211
  81. package/esm2020/material/ngx-color-material.mjs +0 -5
  82. package/esm2020/material/public_api.mjs +0 -2
  83. package/esm2020/photoshop/ngx-color-photoshop.mjs +0 -5
  84. package/esm2020/photoshop/photoshop-button.component.mjs +0 -63
  85. package/esm2020/photoshop/photoshop-fields.component.mjs +0 -241
  86. package/esm2020/photoshop/photoshop-previews.component.mjs +0 -68
  87. package/esm2020/photoshop/photoshop.component.mjs +0 -258
  88. package/esm2020/photoshop/public_api.mjs +0 -5
  89. package/esm2020/shade/ngx-color-shade.mjs +0 -5
  90. package/esm2020/shade/public_api.mjs +0 -2
  91. package/esm2020/shade/shade-picker.component.mjs +0 -105
  92. package/esm2020/sketch/ngx-color-sketch.mjs +0 -5
  93. package/esm2020/sketch/public_api.mjs +0 -4
  94. package/esm2020/sketch/sketch-fields.component.mjs +0 -243
  95. package/esm2020/sketch/sketch-preset-colors.component.mjs +0 -98
  96. package/esm2020/sketch/sketch.component.mjs +0 -283
  97. package/esm2020/slider/ngx-color-slider.mjs +0 -5
  98. package/esm2020/slider/public_api.mjs +0 -4
  99. package/esm2020/slider/slider-swatch.component.mjs +0 -80
  100. package/esm2020/slider/slider-swatches.component.mjs +0 -135
  101. package/esm2020/slider/slider.component.mjs +0 -116
  102. package/esm2020/swatches/ngx-color-swatches.mjs +0 -5
  103. package/esm2020/swatches/public_api.mjs +0 -4
  104. package/esm2020/swatches/swatches-color.component.mjs +0 -123
  105. package/esm2020/swatches/swatches-group.component.mjs +0 -64
  106. package/esm2020/swatches/swatches.component.mjs +0 -258
  107. package/esm2020/twitter/ngx-color-twitter.mjs +0 -5
  108. package/esm2020/twitter/public_api.mjs +0 -2
  109. package/esm2020/twitter/twitter.component.mjs +0 -255
  110. package/fesm2015/ngx-color-alpha.mjs +0 -123
  111. package/fesm2015/ngx-color-alpha.mjs.map +0 -1
  112. package/fesm2015/ngx-color-block.mjs +0 -275
  113. package/fesm2015/ngx-color-block.mjs.map +0 -1
  114. package/fesm2015/ngx-color-chrome.mjs +0 -606
  115. package/fesm2015/ngx-color-chrome.mjs.map +0 -1
  116. package/fesm2015/ngx-color-circle.mjs +0 -237
  117. package/fesm2015/ngx-color-circle.mjs.map +0 -1
  118. package/fesm2015/ngx-color-compact.mjs +0 -451
  119. package/fesm2015/ngx-color-compact.mjs.map +0 -1
  120. package/fesm2015/ngx-color-github.mjs +0 -250
  121. package/fesm2015/ngx-color-github.mjs.map +0 -1
  122. package/fesm2015/ngx-color-hue.mjs +0 -120
  123. package/fesm2015/ngx-color-hue.mjs.map +0 -1
  124. package/fesm2015/ngx-color-material.mjs +0 -218
  125. package/fesm2015/ngx-color-material.mjs.map +0 -1
  126. package/fesm2015/ngx-color-photoshop.mjs +0 -626
  127. package/fesm2015/ngx-color-photoshop.mjs.map +0 -1
  128. package/fesm2015/ngx-color-shade.mjs +0 -112
  129. package/fesm2015/ngx-color-shade.mjs.map +0 -1
  130. package/fesm2015/ngx-color-sketch.mjs +0 -620
  131. package/fesm2015/ngx-color-sketch.mjs.map +0 -1
  132. package/fesm2015/ngx-color-slider.mjs +0 -331
  133. package/fesm2015/ngx-color-slider.mjs.map +0 -1
  134. package/fesm2015/ngx-color-swatches.mjs +0 -441
  135. package/fesm2015/ngx-color-swatches.mjs.map +0 -1
  136. package/fesm2015/ngx-color-twitter.mjs +0 -262
  137. package/fesm2015/ngx-color-twitter.mjs.map +0 -1
  138. package/fesm2020/ngx-color-alpha.mjs +0 -123
  139. package/fesm2020/ngx-color-alpha.mjs.map +0 -1
  140. package/fesm2020/ngx-color-block.mjs +0 -275
  141. package/fesm2020/ngx-color-block.mjs.map +0 -1
  142. package/fesm2020/ngx-color-chrome.mjs +0 -606
  143. package/fesm2020/ngx-color-chrome.mjs.map +0 -1
  144. package/fesm2020/ngx-color-circle.mjs +0 -237
  145. package/fesm2020/ngx-color-circle.mjs.map +0 -1
  146. package/fesm2020/ngx-color-compact.mjs +0 -451
  147. package/fesm2020/ngx-color-compact.mjs.map +0 -1
  148. package/fesm2020/ngx-color-github.mjs +0 -250
  149. package/fesm2020/ngx-color-github.mjs.map +0 -1
  150. package/fesm2020/ngx-color-hue.mjs +0 -120
  151. package/fesm2020/ngx-color-hue.mjs.map +0 -1
  152. package/fesm2020/ngx-color-material.mjs +0 -218
  153. package/fesm2020/ngx-color-material.mjs.map +0 -1
  154. package/fesm2020/ngx-color-photoshop.mjs +0 -626
  155. package/fesm2020/ngx-color-photoshop.mjs.map +0 -1
  156. package/fesm2020/ngx-color-shade.mjs +0 -112
  157. package/fesm2020/ngx-color-shade.mjs.map +0 -1
  158. package/fesm2020/ngx-color-sketch.mjs +0 -620
  159. package/fesm2020/ngx-color-sketch.mjs.map +0 -1
  160. package/fesm2020/ngx-color-slider.mjs +0 -331
  161. package/fesm2020/ngx-color-slider.mjs.map +0 -1
  162. package/fesm2020/ngx-color-swatches.mjs +0 -441
  163. package/fesm2020/ngx-color-swatches.mjs.map +0 -1
  164. package/fesm2020/ngx-color-twitter.mjs +0 -262
  165. package/fesm2020/ngx-color-twitter.mjs.map +0 -1
  166. package/github/github-swatch.component.d.ts +0 -19
  167. package/github/github.component.d.ts +0 -28
  168. package/github/ngx-color-github.d.ts +0 -5
  169. package/github/package.json +0 -16
  170. package/github/public_api.d.ts +0 -2
  171. package/hue/hue-picker.component.d.ts +0 -29
  172. package/hue/ngx-color-hue.d.ts +0 -5
  173. package/hue/package.json +0 -15
  174. package/hue/public_api.d.ts +0 -1
  175. package/material/material.component.d.ts +0 -39
  176. package/material/ngx-color-material.d.ts +0 -5
  177. package/material/package.json +0 -15
  178. package/material/public_api.d.ts +0 -1
  179. package/photoshop/ngx-color-photoshop.d.ts +0 -5
  180. package/photoshop/package.json +0 -15
  181. package/photoshop/photoshop-button.component.d.ts +0 -9
  182. package/photoshop/photoshop-fields.component.d.ts +0 -22
  183. package/photoshop/photoshop-previews.component.d.ts +0 -11
  184. package/photoshop/photoshop.component.d.ts +0 -33
  185. package/photoshop/public_api.d.ts +0 -4
  186. package/shade/ngx-color-shade.d.ts +0 -5
  187. package/shade/package.json +0 -17
  188. package/shade/public_api.d.ts +0 -1
  189. package/shade/shade-picker.component.d.ts +0 -27
  190. package/sketch/ngx-color-sketch.d.ts +0 -5
  191. package/sketch/package.json +0 -15
  192. package/sketch/public_api.d.ts +0 -3
  193. package/sketch/sketch-fields.component.d.ts +0 -23
  194. package/sketch/sketch-preset-colors.component.d.ts +0 -24
  195. package/sketch/sketch.component.d.ts +0 -32
  196. package/slider/ngx-color-slider.d.ts +0 -5
  197. package/slider/package.json +0 -15
  198. package/slider/public_api.d.ts +0 -3
  199. package/slider/slider-swatch.component.d.ts +0 -16
  200. package/slider/slider-swatches.component.d.ts +0 -15
  201. package/slider/slider.component.d.ts +0 -22
  202. package/swatches/ngx-color-swatches.d.ts +0 -5
  203. package/swatches/package.json +0 -18
  204. package/swatches/public_api.d.ts +0 -3
  205. package/swatches/swatches-color.component.d.ts +0 -18
  206. package/swatches/swatches-group.component.d.ts +0 -10
  207. package/swatches/swatches.component.d.ts +0 -29
  208. package/twitter/ngx-color-twitter.d.ts +0 -5
  209. package/twitter/package.json +0 -15
  210. package/twitter/public_api.d.ts +0 -1
  211. 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
- "dependencies": {
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
- }