react-iro-gradient-picker 1.0.1 → 1.0.2
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 +7 -2
- package/package.json +4 -4
package/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
<!-- markdownlint-disable -->
|
2
|
+
|
2
3
|
# React Iro Gradient Picker
|
3
4
|
|
4
5
|
## ✨ Modern React Color Picker with Complete Dark Theme Support! ✨
|
@@ -27,8 +28,9 @@ A beautiful, modern React gradient and solid color picker with full dark theme i
|
|
27
28
|
### 🚀 **[✨ Try it Live - Interactive Storybook Demo ✨](https://romfatal.github.io/react-iro-gradient-picker/)**
|
28
29
|
|
29
30
|
Experience all features in action:
|
31
|
+
|
30
32
|
- 🌙 **Dark/Light Theme Toggle** - Switch themes and see all components adapt
|
31
|
-
- 🎨 **Solid Color Picker** - Pick any solid color with alpha transparency
|
33
|
+
- 🎨 **Solid Color Picker** - Pick any solid color with alpha transparency
|
32
34
|
- 🌈 **Gradient Picker** - Create linear/radial gradients with multiple stops
|
33
35
|
- 🔄 **Dual Mode** - Switch between solid and gradient modes seamlessly
|
34
36
|
- 📱 **Responsive Design** - Works perfectly on desktop and mobile
|
@@ -91,7 +93,7 @@ function App() {
|
|
91
93
|
const [color, setColor] = useState('#3B82F6');
|
92
94
|
|
93
95
|
return (
|
94
|
-
<ThemeProvider defaultTheme=
|
96
|
+
<ThemeProvider defaultTheme='dark'>
|
95
97
|
<ColorPicker
|
96
98
|
solid
|
97
99
|
gradient
|
@@ -245,4 +247,7 @@ Special thanks to the original author for creating such a solid foundation! 🙏
|
|
245
247
|
MIT © [romfatal](https://github.com/romfatal)
|
246
248
|
|
247
249
|
Original project: MIT © [undind](https://github.com/undind)
|
250
|
+
|
251
|
+
```
|
252
|
+
|
248
253
|
```
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-iro-gradient-picker",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"description": "Modern React gradient and solid color picker with complete dark theme support, built with TypeScript and Tailwind CSS",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -55,9 +55,9 @@
|
|
55
55
|
"deploy": "gh-pages -d storybook-static/",
|
56
56
|
"release": "npm run test && release-it",
|
57
57
|
"build-storybook": "storybook build",
|
58
|
-
"version:patch": "npm version patch && npm publish",
|
59
|
-
"version:minor": "npm version minor && npm publish",
|
60
|
-
"version:major": "npm version major && npm publish"
|
58
|
+
"version:patch": "npm run deploy && npm version patch && npm publish",
|
59
|
+
"version:minor": "npm run deploy && npm version minor && npm publish",
|
60
|
+
"version:major": "npm run deploy && npm version major && npm publish"
|
61
61
|
},
|
62
62
|
"peerDependencies": {
|
63
63
|
"react": ">=16.8.0",
|