@mci-ui/mci-ui 0.0.7 → 0.0.8
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.css +1 -0
- package/dist/index.es.js +4254 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +160 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/types/index.d.ts +205 -0
- package/dist/vite.svg +1 -0
- package/package.json +13 -16
- package/dist/index.cjs +0 -43
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -188
- package/dist/index.d.ts +0 -188
- package/dist/index.js +0 -43
- package/dist/index.js.map +0 -1
- package/src/App.tsx +0 -5
- package/src/index.ts +0 -13
- package/src/main.tsx +0 -10
- package/src/shared/hooks/toast.ts +0 -32
- package/src/shared/lib/utils.ts +0 -37
- package/src/shared/types/MciTableType.ts +0 -10
- package/src/shared/ui/breadcrumb/Breadcrumb.tsx +0 -68
- package/src/shared/ui/button/Button.tsx +0 -105
- package/src/shared/ui/collapse/Collapse.tsx +0 -98
- package/src/shared/ui/inputMain/InputMain.tsx +0 -241
- package/src/shared/ui/mciTable/MciTable.tsx +0 -166
- package/src/shared/ui/modal/Modal.tsx +0 -92
- package/src/shared/ui/pagination/Pagination.tsx +0 -141
- package/src/shared/ui/skeleton/Skeleton.tsx +0 -33
- package/src/shared/ui/tabs/Tabs.tsx +0 -192
- package/src/shared/ui/tag/Tag.tsx +0 -92
- package/src/shared/ui/textarea/Textarea.tsx +0 -72
- package/src/shared/ui/toast/Toast.tsx +0 -150
- package/src/shared/ui/toast/ToastContainer.tsx +0 -19
- package/src/shared/ui/tooltip/Tooltip.tsx +0 -58
- package/src/styles/index.css +0 -328
package/src/styles/index.css
DELETED
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
@import 'tailwindcss';
|
|
2
|
-
@variant dark (&:where(.dark, .dark *));
|
|
3
|
-
|
|
4
|
-
* {
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
html,
|
|
9
|
-
body {
|
|
10
|
-
font-family: system-ui, Avenir, sans-serif;
|
|
11
|
-
-webkit-font-smoothing: antialiased;
|
|
12
|
-
-moz-osx-font-smoothing: grayscale;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
button {
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
a {
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
color: inherit;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
ul,
|
|
26
|
-
ol {
|
|
27
|
-
list-style: none;
|
|
28
|
-
padding: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
input,
|
|
32
|
-
textarea,
|
|
33
|
-
button,
|
|
34
|
-
select {
|
|
35
|
-
font: inherit;
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@theme {
|
|
40
|
-
/* Main colors */
|
|
41
|
-
--color-secondary-base: #d4af37;
|
|
42
|
-
--color-secondary-50: #faf6ea;
|
|
43
|
-
--color-secondary-100: #f5edd5;
|
|
44
|
-
--color-secondary-200: #fdebd0;
|
|
45
|
-
--color-secondary-300: #e1c981;
|
|
46
|
-
--color-secondary-400: #d7b757;
|
|
47
|
-
--color-secondary-500: #d4af37;
|
|
48
|
-
--color-secondary-600: #b8951e;
|
|
49
|
-
--color-secondary-700: #8a7016;
|
|
50
|
-
--color-secondary-800: #5c4b0f;
|
|
51
|
-
--color-secondary-900: #2e2607;
|
|
52
|
-
|
|
53
|
-
/* Green colors */
|
|
54
|
-
--color-accent-base: #00a651;
|
|
55
|
-
--color-accent-50: #e6f7ee;
|
|
56
|
-
--color-accent-100: #ccefdd;
|
|
57
|
-
--color-accent-200: #99dfbb;
|
|
58
|
-
--color-accent-300: #66cf99;
|
|
59
|
-
--color-accent-400: #33bf77;
|
|
60
|
-
--color-accent-500: #00a651;
|
|
61
|
-
--color-accent-600: #008541;
|
|
62
|
-
--color-accent-700: #006431;
|
|
63
|
-
--color-accent-800: #004320;
|
|
64
|
-
--color-accent-900: #002110;
|
|
65
|
-
|
|
66
|
-
/* Error colors */
|
|
67
|
-
--color-error-50: #fef2f2;
|
|
68
|
-
--color-error-100: #fee2e2;
|
|
69
|
-
--color-error-200: #fecaca;
|
|
70
|
-
--color-error-300: #fca5a5;
|
|
71
|
-
--color-error-400: #f87171;
|
|
72
|
-
--color-error-500: #ef4444;
|
|
73
|
-
--color-error-600: #dc2626;
|
|
74
|
-
--color-error-700: #b91c1c;
|
|
75
|
-
--color-error-800: #991b1b;
|
|
76
|
-
--color-error-900: #7f1d1d;
|
|
77
|
-
|
|
78
|
-
/* Success colors */
|
|
79
|
-
--color-success-50: #f0fdf4;
|
|
80
|
-
--color-success-100: #dcfce7;
|
|
81
|
-
--color-success-200: #bbf7d0;
|
|
82
|
-
--color-success-300: #86efac;
|
|
83
|
-
--color-success-400: #4ade80;
|
|
84
|
-
--color-success-500: #22c55e;
|
|
85
|
-
--color-success-600: #16a34a;
|
|
86
|
-
--color-success-700: #15803d;
|
|
87
|
-
--color-success-800: #166534;
|
|
88
|
-
--color-success-900: #14532d;
|
|
89
|
-
|
|
90
|
-
/* Info colors */
|
|
91
|
-
--color-info-50: #eff6ff;
|
|
92
|
-
--color-info-100: #dbeafe;
|
|
93
|
-
--color-info-200: #bfdbfe;
|
|
94
|
-
--color-info-300: #93c5fd;
|
|
95
|
-
--color-info-400: #60a5fa;
|
|
96
|
-
--color-info-500: #3b82f6;
|
|
97
|
-
--color-info-600: #2563eb;
|
|
98
|
-
--color-info-700: #1d4ed8;
|
|
99
|
-
--color-info-800: #1e40af;
|
|
100
|
-
--color-info-900: #1e3a8a;
|
|
101
|
-
|
|
102
|
-
/* Sarlavhalar */
|
|
103
|
-
--text-display-2xl: 72px;
|
|
104
|
-
--text-display-2xl--line-height: 90px;
|
|
105
|
-
--text-display-2xl--font-weight: 700;
|
|
106
|
-
--text-display-2xl--letter-spacing: -0.02em;
|
|
107
|
-
|
|
108
|
-
--text-display-xl: 60px;
|
|
109
|
-
--text-display-xl--line-height: 72px;
|
|
110
|
-
--text-display-xl--font-weight: 700;
|
|
111
|
-
--text-display-xl--letter-spacing: -0.02em;
|
|
112
|
-
|
|
113
|
-
--text-display-lg: 48px;
|
|
114
|
-
--text-display-lg--line-height: 60px;
|
|
115
|
-
--text-display-lg--font-weight: 700;
|
|
116
|
-
--text-display-lg--letter-spacing: -0.01em;
|
|
117
|
-
|
|
118
|
-
--text-display-md: 36px;
|
|
119
|
-
--text-display-md--line-height: 44px;
|
|
120
|
-
--text-display-md--font-weight: 700;
|
|
121
|
-
--text-display-md--letter-spacing: -0.01em;
|
|
122
|
-
|
|
123
|
-
--text-display-sm: 30px;
|
|
124
|
-
--text-display-sm--line-height: 38px;
|
|
125
|
-
--text-display-sm--font-weight: 700;
|
|
126
|
-
|
|
127
|
-
--text-H1: 48px;
|
|
128
|
-
--text-H1--line-height: 60px;
|
|
129
|
-
--text-H1--font-weight: 700;
|
|
130
|
-
--text-H1--letter-spacing: -0.01em;
|
|
131
|
-
|
|
132
|
-
--text-H2: 40px;
|
|
133
|
-
--text-H2--line-height: 50px;
|
|
134
|
-
--text-H2--font-weight: 700;
|
|
135
|
-
--text-H2--letter-spacing: -0.01em;
|
|
136
|
-
|
|
137
|
-
--text-H3: 32px;
|
|
138
|
-
--text-H3--line-height: 40px;
|
|
139
|
-
--text-H3--font-weight: 700;
|
|
140
|
-
|
|
141
|
-
--text-H4: 24px;
|
|
142
|
-
--text-H4--line-height: 32px;
|
|
143
|
-
--text-H4--font-weight: 700;
|
|
144
|
-
|
|
145
|
-
--text-H5: 20px;
|
|
146
|
-
--text-H5--line-height: 28px;
|
|
147
|
-
--text-H5--font-weight: 600;
|
|
148
|
-
|
|
149
|
-
--text-H6: 18px;
|
|
150
|
-
--text-H6--line-height: 26px;
|
|
151
|
-
--text-H6--font-weight: 600;
|
|
152
|
-
|
|
153
|
-
/* Animatsiyalar */
|
|
154
|
-
--animate-fade-in: fadeIn 0.5s ease-in-out;
|
|
155
|
-
--animate-fade-out: fadeOut 0.5s ease-in-out;
|
|
156
|
-
--animate-slide-up: slideUp 0.5s ease-out;
|
|
157
|
-
--animate-slide-down: slideDown 0.5s ease-out;
|
|
158
|
-
--animate-slide-left: slideLeft 0.5s ease-out;
|
|
159
|
-
--animate-slide-right: slideRight 0.5s ease-out;
|
|
160
|
-
--animate-scale-up: scaleUp 0.3s ease-out;
|
|
161
|
-
--animate-scale-down: scaleDown 0.3s ease-out;
|
|
162
|
-
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
163
|
-
--animate-spin: spin 0.3s linear infinite;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/* Animatsiya keyframes */
|
|
167
|
-
@keyframes fadeIn {
|
|
168
|
-
from {
|
|
169
|
-
opacity: 0;
|
|
170
|
-
}
|
|
171
|
-
to {
|
|
172
|
-
opacity: 1;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
@keyframes fadeOut {
|
|
177
|
-
from {
|
|
178
|
-
opacity: 1;
|
|
179
|
-
}
|
|
180
|
-
to {
|
|
181
|
-
opacity: 0;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@keyframes slideUp {
|
|
186
|
-
from {
|
|
187
|
-
transform: translateY(20px);
|
|
188
|
-
opacity: 0;
|
|
189
|
-
}
|
|
190
|
-
to {
|
|
191
|
-
transform: translateY(0);
|
|
192
|
-
opacity: 1;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
@keyframes slideDown {
|
|
197
|
-
from {
|
|
198
|
-
transform: translateY(-20px);
|
|
199
|
-
opacity: 0;
|
|
200
|
-
}
|
|
201
|
-
to {
|
|
202
|
-
transform: translateY(0);
|
|
203
|
-
opacity: 1;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
@keyframes slideLeft {
|
|
208
|
-
from {
|
|
209
|
-
transform: translateX(20px);
|
|
210
|
-
opacity: 0;
|
|
211
|
-
}
|
|
212
|
-
to {
|
|
213
|
-
transform: translateX(0);
|
|
214
|
-
opacity: 1;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
@keyframes slideRight {
|
|
219
|
-
from {
|
|
220
|
-
transform: translateX(-20px);
|
|
221
|
-
opacity: 0;
|
|
222
|
-
}
|
|
223
|
-
to {
|
|
224
|
-
transform: translateX(0);
|
|
225
|
-
opacity: 1;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
@keyframes scaleUp {
|
|
230
|
-
from {
|
|
231
|
-
transform: scale(0.95);
|
|
232
|
-
opacity: 0;
|
|
233
|
-
}
|
|
234
|
-
to {
|
|
235
|
-
transform: scale(1);
|
|
236
|
-
opacity: 1;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
@keyframes scaleDown {
|
|
241
|
-
from {
|
|
242
|
-
transform: scale(1.05);
|
|
243
|
-
opacity: 0;
|
|
244
|
-
}
|
|
245
|
-
to {
|
|
246
|
-
transform: scale(1);
|
|
247
|
-
opacity: 1;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
@keyframes pulse {
|
|
252
|
-
0%,
|
|
253
|
-
100% {
|
|
254
|
-
opacity: 1;
|
|
255
|
-
}
|
|
256
|
-
50% {
|
|
257
|
-
opacity: 0.5;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
@keyframes spin {
|
|
262
|
-
from {
|
|
263
|
-
transform: rotate(0deg);
|
|
264
|
-
}
|
|
265
|
-
to {
|
|
266
|
-
transform: rotate(360deg);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
@keyframes smooth-shimmer {
|
|
271
|
-
0% {
|
|
272
|
-
transform: translateX(-100%);
|
|
273
|
-
}
|
|
274
|
-
100% {
|
|
275
|
-
transform: translateX(100%);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
@keyframes float {
|
|
280
|
-
0%,
|
|
281
|
-
100% {
|
|
282
|
-
transform: translateY(0);
|
|
283
|
-
}
|
|
284
|
-
50% {
|
|
285
|
-
transform: translateY(-6px);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
@keyframes fadeUp {
|
|
290
|
-
from {
|
|
291
|
-
opacity: 0;
|
|
292
|
-
transform: translateY(8px);
|
|
293
|
-
}
|
|
294
|
-
to {
|
|
295
|
-
opacity: 1;
|
|
296
|
-
transform: translateY(0);
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.shimmer-mask {
|
|
301
|
-
background: linear-gradient(
|
|
302
|
-
90deg,
|
|
303
|
-
transparent 0%,
|
|
304
|
-
rgba(255, 255, 255, 0.35) 50%,
|
|
305
|
-
transparent 100%
|
|
306
|
-
);
|
|
307
|
-
animation: smooth-shimmer 1.8s ease-in-out infinite;
|
|
308
|
-
will-change: transform;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
/* Modal Fade In / Out */
|
|
312
|
-
.modal-fade-in {
|
|
313
|
-
animation: fadeIn 0.3s ease-in-out forwards;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.modal-fade-out {
|
|
317
|
-
animation: fadeOut 0.3s ease-in-out forwards;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/* Modal Scale */
|
|
321
|
-
.modal-scale-in {
|
|
322
|
-
animation: scaleUp 0.3s ease-out forwards;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/* Close icon aylanish animatsiyasi */
|
|
326
|
-
.rotate-icon {
|
|
327
|
-
animation: spin 0.3s ease-in-out;
|
|
328
|
-
}
|