@igamingcareer/igaming-components 1.0.13 → 1.0.14
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/dist/index.js +266 -266
- package/dist/index.mjs +4339 -4280
- package/package.json +19 -15
- package/styles/globals.css +2 -2
- package/styles/courses.css +0 -128
- /package/dist/{style.css → styles.css} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igamingcareer/igaming-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Reusable React component library for the iGamingCareer platform",
|
|
5
5
|
"author": "iGamingCareer <info@igamingcareer.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
"types": "./dist/types/index.d.ts"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
"files": [
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"styles"
|
|
27
|
+
],
|
|
25
28
|
"scripts": {
|
|
26
29
|
"dev": "vite",
|
|
27
30
|
"build": "vite build",
|
|
@@ -55,22 +58,23 @@
|
|
|
55
58
|
"zod": "^3.23.8"
|
|
56
59
|
},
|
|
57
60
|
"devDependencies": {
|
|
58
|
-
"
|
|
59
|
-
"react
|
|
60
|
-
"
|
|
61
|
-
"vite": "^5.4.1",
|
|
62
|
-
"@vitejs/plugin-react": "^4.3.1",
|
|
63
|
-
"autoprefixer": "^10.4.20",
|
|
64
|
-
"postcss": "^8.4.47",
|
|
65
|
-
"tailwindcss": "^3.4.13",
|
|
66
|
-
"shadcn-ui": "^0.9.2",
|
|
67
|
-
"sass": "^1.77.8",
|
|
61
|
+
"@testing-library/jest-dom": "^6.4.8",
|
|
62
|
+
"@testing-library/react": "^16.0.0",
|
|
63
|
+
"@types/jest": "^29.5.12",
|
|
68
64
|
"@types/react": "^18.3.11",
|
|
69
65
|
"@types/react-dom": "^18.3.0",
|
|
70
|
-
"@
|
|
66
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
67
|
+
"autoprefixer": "^10.4.20",
|
|
71
68
|
"jest": "^29.7.0",
|
|
72
69
|
"jest-environment-jsdom": "^29.7.0",
|
|
73
|
-
"
|
|
74
|
-
"
|
|
70
|
+
"postcss": "^8.5.4",
|
|
71
|
+
"postcss-cli": "^11.0.1",
|
|
72
|
+
"react": "^18.3.1",
|
|
73
|
+
"react-dom": "^18.3.1",
|
|
74
|
+
"sass": "^1.77.8",
|
|
75
|
+
"shadcn-ui": "^0.9.2",
|
|
76
|
+
"tailwindcss": "^3.4.13",
|
|
77
|
+
"typescript": "^5.6.3",
|
|
78
|
+
"vite": "^5.4.1"
|
|
75
79
|
}
|
|
76
80
|
}
|
package/styles/globals.css
CHANGED
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
--tw-contain-size: ;
|
|
314
314
|
--tw-contain-layout: ;
|
|
315
315
|
--tw-contain-paint: ;
|
|
316
|
-
--tw-contain-style:
|
|
316
|
+
--tw-contain-style: none;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
::backdrop {
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
--tw-contain-size: ;
|
|
368
368
|
--tw-contain-layout: ;
|
|
369
369
|
--tw-contain-paint: ;
|
|
370
|
-
--tw-contain-style:
|
|
370
|
+
--tw-contain-style: none ;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
.container {
|
package/styles/courses.css
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
@tailwind base;
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
/* Custom styles for the IGaming course platform */
|
|
6
|
-
.line-clamp-2 {
|
|
7
|
-
display: -webkit-box;
|
|
8
|
-
-webkit-line-clamp: 2;
|
|
9
|
-
-webkit-box-orient: vertical;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.course-card {
|
|
14
|
-
transition: all 0.3s ease;
|
|
15
|
-
animation: fadeIn 0.5s ease-out;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.course-card:hover {
|
|
19
|
-
transform: translateY(-4px);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.course-navigation {
|
|
23
|
-
max-height: calc(100vh - 2rem);
|
|
24
|
-
overflow-y: auto;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.course-navigation::-webkit-scrollbar {
|
|
28
|
-
width: 4px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.course-navigation::-webkit-scrollbar-track {
|
|
32
|
-
background: #f1f1f1;
|
|
33
|
-
border-radius: 2px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.course-navigation::-webkit-scrollbar-thumb {
|
|
37
|
-
background: #c1c1c1;
|
|
38
|
-
border-radius: 2px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.course-navigation::-webkit-scrollbar-thumb:hover {
|
|
42
|
-
background: #a1a1a1;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* Smooth animations */
|
|
46
|
-
@keyframes fadeIn {
|
|
47
|
-
from {
|
|
48
|
-
opacity: 0;
|
|
49
|
-
transform: translateY(10px);
|
|
50
|
-
}
|
|
51
|
-
to {
|
|
52
|
-
opacity: 1;
|
|
53
|
-
transform: translateY(0);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* Custom gradient backgrounds */
|
|
58
|
-
.gradient-purple {
|
|
59
|
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.gradient-blue {
|
|
63
|
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.gradient-orange {
|
|
67
|
-
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* Responsive design improvements */
|
|
71
|
-
@media (max-width: 768px) {
|
|
72
|
-
.course-navigation {
|
|
73
|
-
max-height: none;
|
|
74
|
-
}
|
|
75
|
-
\
|
|
76
|
-
.featured-courses .w-1/3 {
|
|
77
|
-
width: 100%;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Focus styles for accessibility */
|
|
82
|
-
button:focus,
|
|
83
|
-
input:focus,
|
|
84
|
-
select:focus {
|
|
85
|
-
outline: 2px solid #8b5cf6;
|
|
86
|
-
outline-offset: 2px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Custom checkbox and radio styles */
|
|
90
|
-
input[type="checkbox"]:checked,
|
|
91
|
-
input[type="radio"]:checked {
|
|
92
|
-
background-color: #8b5cf6;
|
|
93
|
-
border-color: #8b5cf6;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* Loading states */
|
|
97
|
-
.loading-skeleton {
|
|
98
|
-
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
|
|
99
|
-
background-size: 200% 100%;
|
|
100
|
-
animation: loading 1.5s infinite;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@keyframes loading {
|
|
104
|
-
0% {
|
|
105
|
-
background-position: 200% 0;
|
|
106
|
-
}
|
|
107
|
-
100% {
|
|
108
|
-
background-position: -200% 0;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Custom scrollbar for the entire page */
|
|
113
|
-
::-webkit-scrollbar {
|
|
114
|
-
width: 8px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
::-webkit-scrollbar-track {
|
|
118
|
-
background: #f1f1f1;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
::-webkit-scrollbar-thumb {
|
|
122
|
-
background: #c1c1c1;
|
|
123
|
-
border-radius: 4px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
::-webkit-scrollbar-thumb:hover {
|
|
127
|
-
background: #a1a1a1;
|
|
128
|
-
}
|
|
File without changes
|