nxt-color-picker 16.0.0 → 16.2.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 +40 -40
- package/esm2022/lib/color-picker/color-picker.component.mjs +6 -7
- package/esm2022/lib/color-picker.directive.mjs +5 -6
- package/esm2022/lib/color-picker.module.mjs +6 -7
- package/esm2022/lib/color-picker.service.mjs +5 -6
- package/esm2022/lib/slider.directive.mjs +5 -6
- package/esm2022/lib/text.directive.mjs +5 -6
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/util/color.mjs +1 -1
- package/esm2022/util/contrast.mjs +1 -1
- package/esm2022/util/formats.mjs +1 -1
- package/esm2022/util/helpers.mjs +1 -1
- package/esm2022/util/types.mjs +1 -1
- package/fesm2022/nxt-color-picker.mjs +20 -20
- package/fesm2022/nxt-color-picker.mjs.map +1 -1
- package/package.json +15 -5
package/README.md
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# Angular color picker
|
|
2
|
-
|
|
3
|
-
[](https://github.com/Liquid-JS/nxt-components/blob/master/LICENSE)
|
|
4
|
-
[](https://www.npmjs.com/package/nxt-color-picker)
|
|
5
|
-
[](https://www.npmjs.com/package/nxt-color-picker)
|
|
6
|
-
|
|
7
|
-
A color picker widget for Angular with no dependencies.
|
|
8
|
-
|
|
9
|
-
## Quick links
|
|
10
|
-
|
|
11
|
-
- [Demo](https://liquid-js.github.io/nxt-components/demo/color-picker)
|
|
12
|
-
- [Getting started](https://liquid-js.github.io/nxt-components/demo/color-picker/getting-started)
|
|
13
|
-
- [API docs](https://liquid-js.github.io/nxt-components/nxt-color-picker)
|
|
14
|
-
|
|
15
|
-
### Installing
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
npm install --save nxt-color-picker
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### Import color picker module
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
import { ColorPickerModule } from 'nxt-color-picker'
|
|
25
|
-
|
|
26
|
-
@NgModule({
|
|
27
|
-
...
|
|
28
|
-
imports: [
|
|
29
|
-
...
|
|
30
|
-
ColorPickerModule
|
|
31
|
-
]
|
|
32
|
-
})
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Include it in HTML template
|
|
36
|
-
|
|
37
|
-
```html
|
|
38
|
-
<input [(nxtColor)]="color"
|
|
39
|
-
[style.background]="color"/>
|
|
40
|
-
```
|
|
1
|
+
# Angular color picker
|
|
2
|
+
|
|
3
|
+
[](https://github.com/Liquid-JS/nxt-components/blob/master/LICENSE)
|
|
4
|
+
[](https://www.npmjs.com/package/nxt-color-picker)
|
|
5
|
+
[](https://www.npmjs.com/package/nxt-color-picker)
|
|
6
|
+
|
|
7
|
+
A color picker widget for Angular with no dependencies.
|
|
8
|
+
|
|
9
|
+
## Quick links
|
|
10
|
+
|
|
11
|
+
- [Demo](https://liquid-js.github.io/nxt-components/demo/color-picker)
|
|
12
|
+
- [Getting started](https://liquid-js.github.io/nxt-components/demo/color-picker/getting-started)
|
|
13
|
+
- [API docs](https://liquid-js.github.io/nxt-components/nxt-color-picker)
|
|
14
|
+
|
|
15
|
+
### Installing
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
npm install --save nxt-color-picker
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Import color picker module
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import { ColorPickerModule } from 'nxt-color-picker'
|
|
25
|
+
|
|
26
|
+
@NgModule({
|
|
27
|
+
...
|
|
28
|
+
imports: [
|
|
29
|
+
...
|
|
30
|
+
ColorPickerModule
|
|
31
|
+
]
|
|
32
|
+
})
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Include it in HTML template
|
|
36
|
+
|
|
37
|
+
```html
|
|
38
|
+
<input [(nxtColor)]="color"
|
|
39
|
+
[style.background]="color"/>
|
|
40
|
+
```
|