yk-color-picker 1.0.0-alpha → 1.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 +12 -2
- package/dist/{esm2020 → esm2020-1.0.0}/yk-color-picker.js +146 -141
- package/dist/esm2020-1.0.0/yk-color-picker.js.map +1 -0
- package/dist/umd2020-1.0.0/yk-color-picker.js +3 -0
- package/dist/umd2020-1.0.0/yk-color-picker.js.map +1 -0
- package/package.json +5 -5
- package/dist/esm2020/yk-color-picker.js.map +0 -1
- package/dist/umd2020/yk-color-picker.js +0 -3
- package/dist/umd2020/yk-color-picker.js.map +0 -1
- /package/dist/{esm2020 → esm2020-1.0.0}/style.css +0 -0
- /package/dist/{umd2020 → umd2020-1.0.0}/style.css +0 -0
package/README.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# YKColorPicker
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/ngx-interpolation)
|
|
4
4
|
|
|
5
5
|
YKColorPicker is a flexible color picker library designed with a strong focus on user experience (UX), including full keyboard interaction support. It provides a seamless way to integrate a customizable color picker into your project, offering various color models such as RGB, HSV, HSL, and HEX.
|
|
6
6
|
|
|
7
|
+
## Live Demo
|
|
8
|
+
|
|
9
|
+
Check out the live demo [here](https://yassine-klilich.github.io/yk-color-picker/).
|
|
10
|
+
|
|
7
11
|
## Table of Contents
|
|
8
12
|
|
|
9
13
|
1. [Features](#features)
|
|
@@ -48,7 +52,13 @@ npm install yk-color-picker
|
|
|
48
52
|
|
|
49
53
|
## [Usage](#usage)
|
|
50
54
|
|
|
51
|
-
|
|
55
|
+
In your CSS file, import the YKColorPicker styles:
|
|
56
|
+
|
|
57
|
+
```css
|
|
58
|
+
@import url("../node_modules/yk-color-picker/dist/esm2020-1.0.0/style.css");
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Then import `YKColorPicker` class and initialize the color picker:
|
|
52
62
|
|
|
53
63
|
```javascript
|
|
54
64
|
import { YKColorPicker } from "yk-color-picker";
|