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.
- package/README.md +2 -1
- package/alpha.component.d.ts +1 -1
- package/checkboard.component.d.ts +1 -1
- package/color-wrap.component.d.ts +1 -1
- package/coordinates.directive.d.ts +1 -1
- package/editable-input.component.d.ts +1 -1
- package/esm2020/alpha.component.mjs +13 -61
- package/esm2020/checkboard.component.mjs +9 -25
- package/esm2020/color-wrap.component.mjs +8 -8
- package/esm2020/coordinates.directive.mjs +7 -7
- package/esm2020/editable-input.component.mjs +11 -25
- package/esm2020/hue.component.mjs +13 -54
- package/esm2020/raised.component.mjs +10 -49
- package/esm2020/saturation.component.mjs +13 -57
- package/esm2020/shade.component.mjs +11 -51
- package/esm2020/swatch.component.mjs +13 -28
- package/fesm2015/ngx-color.mjs +92 -349
- package/fesm2015/ngx-color.mjs.map +1 -1
- package/fesm2020/ngx-color.mjs +92 -349
- package/fesm2020/ngx-color.mjs.map +1 -1
- package/hue.component.d.ts +1 -1
- package/{ngx-color.d.ts → index.d.ts} +0 -0
- package/package.json +6 -119
- package/raised.component.d.ts +1 -1
- package/saturation.component.d.ts +1 -1
- package/shade.component.d.ts +1 -1
- package/swatch.component.d.ts +1 -1
- package/alpha/alpha-picker.component.d.ts +0 -28
- package/alpha/ngx-color-alpha.d.ts +0 -5
- package/alpha/package.json +0 -17
- package/alpha/public_api.d.ts +0 -1
- package/block/block-swatches.component.d.ts +0 -24
- package/block/block.component.d.ts +0 -36
- package/block/ngx-color-block.d.ts +0 -5
- package/block/package.json +0 -16
- package/block/public_api.d.ts +0 -2
- package/chrome/chrome-fields.component.d.ts +0 -22
- package/chrome/chrome.component.d.ts +0 -25
- package/chrome/ngx-color-chrome.d.ts +0 -5
- package/chrome/package.json +0 -16
- package/chrome/public_api.d.ts +0 -2
- package/circle/circle-swatch.component.d.ts +0 -19
- package/circle/circle.component.d.ts +0 -32
- package/circle/ngx-color-circle.d.ts +0 -5
- package/circle/package.json +0 -19
- package/circle/public_api.d.ts +0 -2
- package/compact/compact-color.component.d.ts +0 -19
- package/compact/compact-fields.component.d.ts +0 -32
- package/compact/compact.component.d.ts +0 -30
- package/compact/ngx-color-compact.d.ts +0 -5
- package/compact/package.json +0 -16
- package/compact/public_api.d.ts +0 -3
- package/esm2020/alpha/alpha-picker.component.mjs +0 -116
- package/esm2020/alpha/ngx-color-alpha.mjs +0 -5
- package/esm2020/alpha/public_api.mjs +0 -2
- package/esm2020/block/block-swatches.component.mjs +0 -74
- package/esm2020/block/block.component.mjs +0 -199
- package/esm2020/block/ngx-color-block.mjs +0 -5
- package/esm2020/block/public_api.mjs +0 -3
- package/esm2020/chrome/chrome-fields.component.mjs +0 -356
- package/esm2020/chrome/chrome.component.mjs +0 -249
- package/esm2020/chrome/ngx-color-chrome.mjs +0 -5
- package/esm2020/chrome/public_api.mjs +0 -3
- package/esm2020/circle/circle-swatch.component.mjs +0 -85
- package/esm2020/circle/circle.component.mjs +0 -148
- package/esm2020/circle/ngx-color-circle.mjs +0 -5
- package/esm2020/circle/public_api.mjs +0 -3
- package/esm2020/compact/compact-color.component.mjs +0 -91
- package/esm2020/compact/compact-fields.component.mjs +0 -186
- package/esm2020/compact/compact.component.mjs +0 -177
- package/esm2020/compact/ngx-color-compact.mjs +0 -5
- package/esm2020/compact/public_api.mjs +0 -4
- package/esm2020/github/github-swatch.component.mjs +0 -67
- package/esm2020/github/github.component.mjs +0 -179
- package/esm2020/github/ngx-color-github.mjs +0 -5
- package/esm2020/github/public_api.mjs +0 -3
- package/esm2020/hue/hue-picker.component.mjs +0 -113
- package/esm2020/hue/ngx-color-hue.mjs +0 -5
- package/esm2020/hue/public_api.mjs +0 -2
- package/esm2020/material/material.component.mjs +0 -211
- package/esm2020/material/ngx-color-material.mjs +0 -5
- package/esm2020/material/public_api.mjs +0 -2
- package/esm2020/photoshop/ngx-color-photoshop.mjs +0 -5
- package/esm2020/photoshop/photoshop-button.component.mjs +0 -63
- package/esm2020/photoshop/photoshop-fields.component.mjs +0 -241
- package/esm2020/photoshop/photoshop-previews.component.mjs +0 -68
- package/esm2020/photoshop/photoshop.component.mjs +0 -258
- package/esm2020/photoshop/public_api.mjs +0 -5
- package/esm2020/shade/ngx-color-shade.mjs +0 -5
- package/esm2020/shade/public_api.mjs +0 -2
- package/esm2020/shade/shade-picker.component.mjs +0 -105
- package/esm2020/sketch/ngx-color-sketch.mjs +0 -5
- package/esm2020/sketch/public_api.mjs +0 -4
- package/esm2020/sketch/sketch-fields.component.mjs +0 -243
- package/esm2020/sketch/sketch-preset-colors.component.mjs +0 -98
- package/esm2020/sketch/sketch.component.mjs +0 -283
- package/esm2020/slider/ngx-color-slider.mjs +0 -5
- package/esm2020/slider/public_api.mjs +0 -4
- package/esm2020/slider/slider-swatch.component.mjs +0 -80
- package/esm2020/slider/slider-swatches.component.mjs +0 -135
- package/esm2020/slider/slider.component.mjs +0 -116
- package/esm2020/swatches/ngx-color-swatches.mjs +0 -5
- package/esm2020/swatches/public_api.mjs +0 -4
- package/esm2020/swatches/swatches-color.component.mjs +0 -123
- package/esm2020/swatches/swatches-group.component.mjs +0 -64
- package/esm2020/swatches/swatches.component.mjs +0 -258
- package/esm2020/twitter/ngx-color-twitter.mjs +0 -5
- package/esm2020/twitter/public_api.mjs +0 -2
- package/esm2020/twitter/twitter.component.mjs +0 -255
- package/fesm2015/ngx-color-alpha.mjs +0 -123
- package/fesm2015/ngx-color-alpha.mjs.map +0 -1
- package/fesm2015/ngx-color-block.mjs +0 -275
- package/fesm2015/ngx-color-block.mjs.map +0 -1
- package/fesm2015/ngx-color-chrome.mjs +0 -606
- package/fesm2015/ngx-color-chrome.mjs.map +0 -1
- package/fesm2015/ngx-color-circle.mjs +0 -237
- package/fesm2015/ngx-color-circle.mjs.map +0 -1
- package/fesm2015/ngx-color-compact.mjs +0 -451
- package/fesm2015/ngx-color-compact.mjs.map +0 -1
- package/fesm2015/ngx-color-github.mjs +0 -250
- package/fesm2015/ngx-color-github.mjs.map +0 -1
- package/fesm2015/ngx-color-hue.mjs +0 -120
- package/fesm2015/ngx-color-hue.mjs.map +0 -1
- package/fesm2015/ngx-color-material.mjs +0 -218
- package/fesm2015/ngx-color-material.mjs.map +0 -1
- package/fesm2015/ngx-color-photoshop.mjs +0 -626
- package/fesm2015/ngx-color-photoshop.mjs.map +0 -1
- package/fesm2015/ngx-color-shade.mjs +0 -112
- package/fesm2015/ngx-color-shade.mjs.map +0 -1
- package/fesm2015/ngx-color-sketch.mjs +0 -620
- package/fesm2015/ngx-color-sketch.mjs.map +0 -1
- package/fesm2015/ngx-color-slider.mjs +0 -331
- package/fesm2015/ngx-color-slider.mjs.map +0 -1
- package/fesm2015/ngx-color-swatches.mjs +0 -441
- package/fesm2015/ngx-color-swatches.mjs.map +0 -1
- package/fesm2015/ngx-color-twitter.mjs +0 -262
- package/fesm2015/ngx-color-twitter.mjs.map +0 -1
- package/fesm2020/ngx-color-alpha.mjs +0 -123
- package/fesm2020/ngx-color-alpha.mjs.map +0 -1
- package/fesm2020/ngx-color-block.mjs +0 -275
- package/fesm2020/ngx-color-block.mjs.map +0 -1
- package/fesm2020/ngx-color-chrome.mjs +0 -606
- package/fesm2020/ngx-color-chrome.mjs.map +0 -1
- package/fesm2020/ngx-color-circle.mjs +0 -237
- package/fesm2020/ngx-color-circle.mjs.map +0 -1
- package/fesm2020/ngx-color-compact.mjs +0 -451
- package/fesm2020/ngx-color-compact.mjs.map +0 -1
- package/fesm2020/ngx-color-github.mjs +0 -250
- package/fesm2020/ngx-color-github.mjs.map +0 -1
- package/fesm2020/ngx-color-hue.mjs +0 -120
- package/fesm2020/ngx-color-hue.mjs.map +0 -1
- package/fesm2020/ngx-color-material.mjs +0 -218
- package/fesm2020/ngx-color-material.mjs.map +0 -1
- package/fesm2020/ngx-color-photoshop.mjs +0 -626
- package/fesm2020/ngx-color-photoshop.mjs.map +0 -1
- package/fesm2020/ngx-color-shade.mjs +0 -112
- package/fesm2020/ngx-color-shade.mjs.map +0 -1
- package/fesm2020/ngx-color-sketch.mjs +0 -620
- package/fesm2020/ngx-color-sketch.mjs.map +0 -1
- package/fesm2020/ngx-color-slider.mjs +0 -331
- package/fesm2020/ngx-color-slider.mjs.map +0 -1
- package/fesm2020/ngx-color-swatches.mjs +0 -441
- package/fesm2020/ngx-color-swatches.mjs.map +0 -1
- package/fesm2020/ngx-color-twitter.mjs +0 -262
- package/fesm2020/ngx-color-twitter.mjs.map +0 -1
- package/github/github-swatch.component.d.ts +0 -19
- package/github/github.component.d.ts +0 -28
- package/github/ngx-color-github.d.ts +0 -5
- package/github/package.json +0 -16
- package/github/public_api.d.ts +0 -2
- package/hue/hue-picker.component.d.ts +0 -29
- package/hue/ngx-color-hue.d.ts +0 -5
- package/hue/package.json +0 -15
- package/hue/public_api.d.ts +0 -1
- package/material/material.component.d.ts +0 -39
- package/material/ngx-color-material.d.ts +0 -5
- package/material/package.json +0 -15
- package/material/public_api.d.ts +0 -1
- package/photoshop/ngx-color-photoshop.d.ts +0 -5
- package/photoshop/package.json +0 -15
- package/photoshop/photoshop-button.component.d.ts +0 -9
- package/photoshop/photoshop-fields.component.d.ts +0 -22
- package/photoshop/photoshop-previews.component.d.ts +0 -11
- package/photoshop/photoshop.component.d.ts +0 -33
- package/photoshop/public_api.d.ts +0 -4
- package/shade/ngx-color-shade.d.ts +0 -5
- package/shade/package.json +0 -17
- package/shade/public_api.d.ts +0 -1
- package/shade/shade-picker.component.d.ts +0 -27
- package/sketch/ngx-color-sketch.d.ts +0 -5
- package/sketch/package.json +0 -15
- package/sketch/public_api.d.ts +0 -3
- package/sketch/sketch-fields.component.d.ts +0 -23
- package/sketch/sketch-preset-colors.component.d.ts +0 -24
- package/sketch/sketch.component.d.ts +0 -32
- package/slider/ngx-color-slider.d.ts +0 -5
- package/slider/package.json +0 -15
- package/slider/public_api.d.ts +0 -3
- package/slider/slider-swatch.component.d.ts +0 -16
- package/slider/slider-swatches.component.d.ts +0 -15
- package/slider/slider.component.d.ts +0 -22
- package/swatches/ngx-color-swatches.d.ts +0 -5
- package/swatches/package.json +0 -18
- package/swatches/public_api.d.ts +0 -3
- package/swatches/swatches-color.component.d.ts +0 -18
- package/swatches/swatches-group.component.d.ts +0 -10
- package/swatches/swatches.component.d.ts +0 -29
- package/twitter/ngx-color-twitter.d.ts +0 -5
- package/twitter/package.json +0 -15
- package/twitter/public_api.d.ts +0 -1
- package/twitter/twitter.component.d.ts +0 -31
package/sketch/package.json
DELETED
@@ -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
|
-
}
|
package/sketch/public_api.d.ts
DELETED
@@ -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
|
-
}
|
package/slider/package.json
DELETED
@@ -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
|
-
}
|
package/slider/public_api.d.ts
DELETED
@@ -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
|
-
}
|
package/swatches/package.json
DELETED
@@ -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
|
-
}
|
package/swatches/public_api.d.ts
DELETED
@@ -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
|
-
}
|
package/twitter/package.json
DELETED
@@ -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
|
-
}
|
package/twitter/public_api.d.ts
DELETED
@@ -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
|
-
}
|