telecop 0.1.14 → 0.1.16
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 +94 -21
- package/package.json +2 -13
- package/tailwind-plugin.js +0 -68
package/README.md
CHANGED
|
@@ -1,33 +1,106 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 🎨 Telecop
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Modern React UI Components Library with beautiful buttons and gradients.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 📦 Installation
|
|
6
|
+
```bash
|
|
7
|
+
npm install telecop
|
|
8
|
+
```
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
## ⚠️ Important: Import Styles
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
**You must import the CSS file in your main layout or app file:**
|
|
13
|
+
```tsx
|
|
14
|
+
// app/layout.tsx (Next.js App Router)
|
|
15
|
+
import 'telecop/style.css';
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- ⚡ Lightweight and fast
|
|
14
|
-
- 📦 TypeScript support
|
|
15
|
-
- 🎭 Tailwind CSS styling
|
|
16
|
-
- 🔥 Modern design patterns
|
|
17
|
+
// or _app.tsx (Next.js Pages Router)
|
|
18
|
+
import 'telecop/style.css';
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
// or main.tsx (React/Vite)
|
|
21
|
+
import 'telecop/style.css';
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 🚀 Usage
|
|
25
|
+
|
|
26
|
+
### Buttons
|
|
27
|
+
```tsx
|
|
28
|
+
import {
|
|
29
|
+
SolidBlue,
|
|
30
|
+
GradientPurplePink,
|
|
31
|
+
GlassBlue,
|
|
32
|
+
AnimatedShimmer,
|
|
33
|
+
NeonPink
|
|
34
|
+
} from 'telecop';
|
|
35
|
+
|
|
36
|
+
function App() {
|
|
37
|
+
return (
|
|
38
|
+
<div>
|
|
39
|
+
<SolidBlue onClick={() => alert('Clicked!')}>
|
|
40
|
+
Click Me
|
|
41
|
+
</SolidBlue>
|
|
42
|
+
|
|
43
|
+
<GradientPurplePink>
|
|
44
|
+
Beautiful Gradient
|
|
45
|
+
</GradientPurplePink>
|
|
46
|
+
|
|
47
|
+
<GlassBlue>
|
|
48
|
+
Glass Effect
|
|
49
|
+
</GlassBlue>
|
|
50
|
+
</div>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Home Template
|
|
56
|
+
```tsx
|
|
57
|
+
import { Home } from 'telecop';
|
|
58
|
+
|
|
59
|
+
function HomePage() {
|
|
60
|
+
return (
|
|
61
|
+
<Home
|
|
62
|
+
name="Your Name"
|
|
63
|
+
title="Full Stack Developer"
|
|
64
|
+
description="Building amazing things"
|
|
65
|
+
backgroundGradient="linear-gradient(308deg, #a70b0b 0%, #000000 75%)"
|
|
66
|
+
animationType="flow"
|
|
67
|
+
primaryButtonText="Get Started"
|
|
68
|
+
secondaryButtonText="Learn More"
|
|
69
|
+
/>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
21
72
|
```
|
|
22
73
|
|
|
23
|
-
|
|
74
|
+
## 📋 Available Components
|
|
75
|
+
|
|
76
|
+
### Buttons (30 styles)
|
|
77
|
+
- Solid Buttons (5)
|
|
78
|
+
- Gradient Buttons (5)
|
|
79
|
+
- Glass Buttons (4)
|
|
80
|
+
- Animated Buttons (4)
|
|
81
|
+
- Outlined Buttons (3)
|
|
82
|
+
- Ghost Buttons (3)
|
|
83
|
+
- 3D Buttons (3)
|
|
84
|
+
- Neon Buttons (3)
|
|
85
|
+
|
|
86
|
+
### Templates
|
|
87
|
+
- Home - Beautiful hero section with gradients
|
|
88
|
+
|
|
89
|
+
## 🎨 Features
|
|
90
|
+
|
|
91
|
+
- ✅ 30+ Beautiful Button Styles
|
|
92
|
+
- ✅ Gradient Animations
|
|
93
|
+
- ✅ Glass Morphism Effects
|
|
94
|
+
- ✅ Neon Effects
|
|
95
|
+
- ✅ 3D Buttons
|
|
96
|
+
- ✅ TypeScript Support
|
|
97
|
+
- ✅ Tailwind CSS
|
|
98
|
+
- ✅ Zero Dependencies
|
|
24
99
|
|
|
25
|
-
|
|
100
|
+
## 📚 Documentation
|
|
26
101
|
|
|
27
|
-
|
|
102
|
+
Visit [telecop.dev](https://telecop.dev) for full documentation and live examples.
|
|
28
103
|
|
|
29
|
-
|
|
104
|
+
## 📄 License
|
|
30
105
|
|
|
31
|
-
|
|
32
|
-
**License:** MIT
|
|
33
|
-
**Author:** Laith Alawad
|
|
106
|
+
MIT © Laith Alawad
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "telecop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "Modern React UI Components Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -11,12 +11,10 @@
|
|
|
11
11
|
"import": "./dist/index.mjs",
|
|
12
12
|
"require": "./dist/index.js"
|
|
13
13
|
},
|
|
14
|
-
"./plugin": "./tailwind-plugin.js",
|
|
15
14
|
"./style.css": "./dist/style.css"
|
|
16
15
|
},
|
|
17
16
|
"files": [
|
|
18
17
|
"dist",
|
|
19
|
-
"tailwind-plugin.js",
|
|
20
18
|
"README.md"
|
|
21
19
|
],
|
|
22
20
|
"scripts": {
|
|
@@ -30,19 +28,10 @@
|
|
|
30
28
|
"tailwind",
|
|
31
29
|
"telecop",
|
|
32
30
|
"buttons",
|
|
33
|
-
"gradient"
|
|
34
|
-
"glass-morphism"
|
|
31
|
+
"gradient"
|
|
35
32
|
],
|
|
36
33
|
"author": "Laith Alawad",
|
|
37
34
|
"license": "MIT",
|
|
38
|
-
"repository": {
|
|
39
|
-
"type": "git",
|
|
40
|
-
"url": "https://github.com/yourusername/telecop"
|
|
41
|
-
},
|
|
42
|
-
"bugs": {
|
|
43
|
-
"url": "https://github.com/yourusername/telecop/issues"
|
|
44
|
-
},
|
|
45
|
-
"homepage": "https://github.com/yourusername/telecop#readme",
|
|
46
35
|
"peerDependencies": {
|
|
47
36
|
"react": "^18.0.0 || ^19.0.0",
|
|
48
37
|
"react-dom": "^18.0.0 || ^19.0.0"
|
package/tailwind-plugin.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// src/tailwind-plugin.js
|
|
2
|
-
|
|
3
|
-
const plugin = require('tailwindcss/plugin');
|
|
4
|
-
|
|
5
|
-
module.exports = plugin(function({ addUtilities }) {
|
|
6
|
-
const newUtilities = {
|
|
7
|
-
// Gradient Animations
|
|
8
|
-
'.animate-gradient-shift': {
|
|
9
|
-
'background-size': '200% 200%',
|
|
10
|
-
'animation': 'gradient-shift 8s ease infinite',
|
|
11
|
-
},
|
|
12
|
-
'.animate-gradient-wave': {
|
|
13
|
-
'background-size': '200% 200%',
|
|
14
|
-
'animation': 'gradient-wave 12s ease infinite',
|
|
15
|
-
},
|
|
16
|
-
'.animate-gradient-pulse': {
|
|
17
|
-
'background-position': 'center',
|
|
18
|
-
'animation': 'gradient-pulse 6s ease infinite',
|
|
19
|
-
},
|
|
20
|
-
'.animate-gradient-rotate': {
|
|
21
|
-
'animation': 'gradient-rotate 10s linear infinite',
|
|
22
|
-
},
|
|
23
|
-
'.animate-gradient-flow': {
|
|
24
|
-
'background-size': '300% 300%',
|
|
25
|
-
'animation': 'gradient-flow 15s ease infinite',
|
|
26
|
-
},
|
|
27
|
-
'.animate-gradient-zoom': {
|
|
28
|
-
'background-position': 'center',
|
|
29
|
-
'animation': 'gradient-zoom 8s ease infinite',
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
addUtilities(newUtilities);
|
|
34
|
-
}, {
|
|
35
|
-
theme: {
|
|
36
|
-
extend: {
|
|
37
|
-
keyframes: {
|
|
38
|
-
'gradient-shift': {
|
|
39
|
-
'0%, 100%': { 'background-position': '0% 50%' },
|
|
40
|
-
'50%': { 'background-position': '100% 50%' },
|
|
41
|
-
},
|
|
42
|
-
'gradient-wave': {
|
|
43
|
-
'0%, 100%': { 'background-position': '0% 0%' },
|
|
44
|
-
'25%': { 'background-position': '100% 0%' },
|
|
45
|
-
'50%': { 'background-position': '100% 100%' },
|
|
46
|
-
'75%': { 'background-position': '0% 100%' },
|
|
47
|
-
},
|
|
48
|
-
'gradient-pulse': {
|
|
49
|
-
'0%, 100%': { 'background-size': '100% 100%', opacity: '1' },
|
|
50
|
-
'50%': { 'background-size': '150% 150%', opacity: '0.8' },
|
|
51
|
-
},
|
|
52
|
-
'gradient-rotate': {
|
|
53
|
-
'0%': { filter: 'hue-rotate(0deg)' },
|
|
54
|
-
'100%': { filter: 'hue-rotate(360deg)' },
|
|
55
|
-
},
|
|
56
|
-
'gradient-flow': {
|
|
57
|
-
'0%': { 'background-position': '0% 50%' },
|
|
58
|
-
'50%': { 'background-position': '100% 50%' },
|
|
59
|
-
'100%': { 'background-position': '0% 50%' },
|
|
60
|
-
},
|
|
61
|
-
'gradient-zoom': {
|
|
62
|
-
'0%, 100%': { 'background-size': '100% 100%' },
|
|
63
|
-
'50%': { 'background-size': '200% 200%' },
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
});
|