uibee 1.4.1 → 1.5.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 +28 -2
- package/dist/globals.css +467 -0
- package/dist/src/components/index.d.ts +3 -0
- package/dist/src/components/index.js +4 -0
- package/dist/src/components/inputs/erase.d.ts +3 -0
- package/dist/src/components/inputs/erase.js +5 -0
- package/dist/src/components/inputs/input.d.ts +14 -0
- package/dist/src/components/inputs/input.js +11 -0
- package/dist/src/components/inputs/label.d.ts +10 -0
- package/dist/src/components/inputs/label.js +13 -0
- package/dist/src/components/inputs/switch.d.ts +10 -0
- package/dist/src/components/inputs/switch.js +7 -0
- package/dist/src/components/inputs/tag.d.ts +11 -0
- package/dist/src/components/inputs/tag.js +44 -0
- package/dist/src/components/inputs/tooltip.d.ts +4 -0
- package/dist/src/components/inputs/tooltip.js +4 -0
- package/dist/src/components/toast/toaster.d.ts +2 -2
- package/dist/src/components/toast/toaster.js +28 -14
- package/dist/src/utils/LogoConsoleOutput/LogoConsoleOutput.d.ts +1 -0
- package/dist/src/utils/LogoConsoleOutput/LogoConsoleOutput.js +44 -0
- package/dist/src/utils/cookies/cookies.d.ts +4 -0
- package/dist/src/utils/cookies/cookies.js +28 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/utils/index.js +2 -0
- package/package.json +1 -1
- package/src/components/index.ts +6 -1
- package/src/components/inputs/erase.tsx +13 -0
- package/src/components/inputs/input.tsx +52 -0
- package/src/components/inputs/label.tsx +31 -0
- package/src/components/inputs/switch.tsx +39 -0
- package/src/components/inputs/tag.tsx +137 -0
- package/src/components/inputs/tooltip.tsx +12 -0
- package/src/components/toast/toaster.tsx +37 -17
- package/src/types/components.d.ts +7 -4
- package/src/utils/LogoConsoleOutput/LogoConsoleOutput.ts +61 -0
- package/src/utils/cookies/cookies.ts +38 -0
- package/src/utils/index.ts +2 -0
package/Readme.md
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
|
|
2
|
+
# Uibee
|
|
3
3
|
|
|
4
4
|
This package includes shared components, functions and hooks for reuse across Login projects.
|
|
5
|
+
|
|
6
|
+
## Getting Started
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
# Install dependencies
|
|
10
|
+
npm install
|
|
11
|
+
|
|
12
|
+
# Build the project
|
|
13
|
+
npm run build
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Folder Structure
|
|
17
|
+
```
|
|
18
|
+
.
|
|
19
|
+
├── src/
|
|
20
|
+
│ ├── components/ # Reusable NextJS components
|
|
21
|
+
│ ├── hooks/ # Custom React hooks
|
|
22
|
+
│ ├── scripts/ # Build and utility scripts
|
|
23
|
+
│ ├── types/ # TypeScript type definitions
|
|
24
|
+
│ ├── utils/ # Utility functions
|
|
25
|
+
│ └── globals.css # Global styles
|
|
26
|
+
├── images/ # Project images and SVGs
|
|
27
|
+
├── package.json # Project metadata and scripts
|
|
28
|
+
├── tailwind.config.ts # Tailwind CSS configuration
|
|
29
|
+
├── tsconfig.json # TypeScript configuration
|
|
30
|
+
```
|
package/dist/globals.css
CHANGED
|
@@ -7,7 +7,15 @@
|
|
|
7
7
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
8
8
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
9
|
"Courier New", monospace;
|
|
10
|
+
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
11
|
+
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
12
|
+
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
13
|
+
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
14
|
+
--color-yellow-300: oklch(90.5% 0.182 98.111);
|
|
15
|
+
--color-green-300: oklch(87.1% 0.15 154.449);
|
|
16
|
+
--color-blue-300: oklch(80.9% 0.105 251.813);
|
|
10
17
|
--spacing: 0.25rem;
|
|
18
|
+
--container-3xs: 16rem;
|
|
11
19
|
--container-xs: 20rem;
|
|
12
20
|
--container-sm: 24rem;
|
|
13
21
|
--container-md: 28rem;
|
|
@@ -21,6 +29,8 @@
|
|
|
21
29
|
--font-weight-bold: 700;
|
|
22
30
|
--font-weight-extrabold: 800;
|
|
23
31
|
--tracking-tight: -0.025em;
|
|
32
|
+
--radius-sm: 0.25rem;
|
|
33
|
+
--radius-md: 0.375rem;
|
|
24
34
|
--radius-lg: 0.5rem;
|
|
25
35
|
--radius-xl: 0.75rem;
|
|
26
36
|
--default-transition-duration: 150ms;
|
|
@@ -32,6 +42,7 @@
|
|
|
32
42
|
--color-login-800: #181818;
|
|
33
43
|
--color-login-700: #1a1a1a;
|
|
34
44
|
--color-login-600: #212121;
|
|
45
|
+
--color-login-200: #727272;
|
|
35
46
|
--color-login-100: #b0b0b0;
|
|
36
47
|
--color-login-50: #ededed;
|
|
37
48
|
}
|
|
@@ -185,6 +196,20 @@
|
|
|
185
196
|
}
|
|
186
197
|
}
|
|
187
198
|
@layer utilities {
|
|
199
|
+
.pointer-events-none {
|
|
200
|
+
pointer-events: none;
|
|
201
|
+
}
|
|
202
|
+
.sr-only {
|
|
203
|
+
position: absolute;
|
|
204
|
+
width: 1px;
|
|
205
|
+
height: 1px;
|
|
206
|
+
padding: 0;
|
|
207
|
+
margin: -1px;
|
|
208
|
+
overflow: hidden;
|
|
209
|
+
clip-path: inset(50%);
|
|
210
|
+
white-space: nowrap;
|
|
211
|
+
border-width: 0;
|
|
212
|
+
}
|
|
188
213
|
.absolute {
|
|
189
214
|
position: absolute;
|
|
190
215
|
}
|
|
@@ -194,12 +219,42 @@
|
|
|
194
219
|
.relative {
|
|
195
220
|
position: relative;
|
|
196
221
|
}
|
|
222
|
+
.start-2 {
|
|
223
|
+
inset-inline-start: calc(var(--spacing) * 2);
|
|
224
|
+
}
|
|
225
|
+
.top-1\/2 {
|
|
226
|
+
top: calc(1/2 * 100%);
|
|
227
|
+
}
|
|
228
|
+
.top-2 {
|
|
229
|
+
top: calc(var(--spacing) * 2);
|
|
230
|
+
}
|
|
231
|
+
.right-0 {
|
|
232
|
+
right: calc(var(--spacing) * 0);
|
|
233
|
+
}
|
|
234
|
+
.right-1 {
|
|
235
|
+
right: calc(var(--spacing) * 1);
|
|
236
|
+
}
|
|
197
237
|
.right-4 {
|
|
198
238
|
right: calc(var(--spacing) * 4);
|
|
199
239
|
}
|
|
200
240
|
.bottom-4 {
|
|
201
241
|
bottom: calc(var(--spacing) * 4);
|
|
202
242
|
}
|
|
243
|
+
.left-2 {
|
|
244
|
+
left: calc(var(--spacing) * 2);
|
|
245
|
+
}
|
|
246
|
+
.left-12 {
|
|
247
|
+
left: calc(var(--spacing) * 12);
|
|
248
|
+
}
|
|
249
|
+
.z-10 {
|
|
250
|
+
z-index: 10;
|
|
251
|
+
}
|
|
252
|
+
.z-19 {
|
|
253
|
+
z-index: 19;
|
|
254
|
+
}
|
|
255
|
+
.z-20 {
|
|
256
|
+
z-index: 20;
|
|
257
|
+
}
|
|
203
258
|
.z-50 {
|
|
204
259
|
z-index: 50;
|
|
205
260
|
}
|
|
@@ -209,15 +264,36 @@
|
|
|
209
264
|
.mb-2 {
|
|
210
265
|
margin-bottom: calc(var(--spacing) * 2);
|
|
211
266
|
}
|
|
267
|
+
.ml-1 {
|
|
268
|
+
margin-left: calc(var(--spacing) * 1);
|
|
269
|
+
}
|
|
270
|
+
.ml-3 {
|
|
271
|
+
margin-left: calc(var(--spacing) * 3);
|
|
272
|
+
}
|
|
273
|
+
.line-clamp-3 {
|
|
274
|
+
overflow: hidden;
|
|
275
|
+
display: -webkit-box;
|
|
276
|
+
-webkit-box-orient: vertical;
|
|
277
|
+
-webkit-line-clamp: 3;
|
|
278
|
+
}
|
|
279
|
+
.block {
|
|
280
|
+
display: block;
|
|
281
|
+
}
|
|
212
282
|
.flex {
|
|
213
283
|
display: flex;
|
|
214
284
|
}
|
|
285
|
+
.hidden {
|
|
286
|
+
display: none;
|
|
287
|
+
}
|
|
215
288
|
.inline {
|
|
216
289
|
display: inline;
|
|
217
290
|
}
|
|
218
291
|
.aspect-\[3\/1\] {
|
|
219
292
|
aspect-ratio: 3/1;
|
|
220
293
|
}
|
|
294
|
+
.h-4 {
|
|
295
|
+
height: calc(var(--spacing) * 4);
|
|
296
|
+
}
|
|
221
297
|
.h-6 {
|
|
222
298
|
height: calc(var(--spacing) * 6);
|
|
223
299
|
}
|
|
@@ -227,36 +303,96 @@
|
|
|
227
303
|
.min-h-screen {
|
|
228
304
|
min-height: 100vh;
|
|
229
305
|
}
|
|
306
|
+
.w-4 {
|
|
307
|
+
width: calc(var(--spacing) * 4);
|
|
308
|
+
}
|
|
309
|
+
.w-5 {
|
|
310
|
+
width: calc(var(--spacing) * 5);
|
|
311
|
+
}
|
|
230
312
|
.w-6 {
|
|
231
313
|
width: calc(var(--spacing) * 6);
|
|
232
314
|
}
|
|
233
315
|
.w-10 {
|
|
234
316
|
width: calc(var(--spacing) * 10);
|
|
235
317
|
}
|
|
318
|
+
.w-\[calc\(100\%-10px\)\] {
|
|
319
|
+
width: calc(100% - 10px);
|
|
320
|
+
}
|
|
321
|
+
.w-fit {
|
|
322
|
+
width: fit-content;
|
|
323
|
+
}
|
|
236
324
|
.w-full {
|
|
237
325
|
width: 100%;
|
|
238
326
|
}
|
|
327
|
+
.w-max {
|
|
328
|
+
width: max-content;
|
|
329
|
+
}
|
|
239
330
|
.w-sm {
|
|
240
331
|
width: var(--container-sm);
|
|
241
332
|
}
|
|
333
|
+
.max-w-3xs {
|
|
334
|
+
max-width: var(--container-3xs);
|
|
335
|
+
}
|
|
242
336
|
.max-w-md {
|
|
243
337
|
max-width: var(--container-md);
|
|
244
338
|
}
|
|
245
339
|
.max-w-xs {
|
|
246
340
|
max-width: var(--container-xs);
|
|
247
341
|
}
|
|
342
|
+
.min-w-\[6ch\] {
|
|
343
|
+
min-width: 6ch;
|
|
344
|
+
}
|
|
345
|
+
.flex-1 {
|
|
346
|
+
flex: 1;
|
|
347
|
+
}
|
|
248
348
|
.flex-shrink-0 {
|
|
249
349
|
flex-shrink: 0;
|
|
250
350
|
}
|
|
351
|
+
.origin-\[0\] {
|
|
352
|
+
transform-origin: 0;
|
|
353
|
+
}
|
|
354
|
+
.translate-x-4 {
|
|
355
|
+
--tw-translate-x: calc(var(--spacing) * 4);
|
|
356
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
357
|
+
}
|
|
358
|
+
.-translate-y-1\/2 {
|
|
359
|
+
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
360
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
361
|
+
}
|
|
362
|
+
.-translate-y-5 {
|
|
363
|
+
--tw-translate-y: calc(var(--spacing) * -5);
|
|
364
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
365
|
+
}
|
|
366
|
+
.scale-75 {
|
|
367
|
+
--tw-scale-x: 75%;
|
|
368
|
+
--tw-scale-y: 75%;
|
|
369
|
+
--tw-scale-z: 75%;
|
|
370
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
371
|
+
}
|
|
372
|
+
.scale-100 {
|
|
373
|
+
--tw-scale-x: 100%;
|
|
374
|
+
--tw-scale-y: 100%;
|
|
375
|
+
--tw-scale-z: 100%;
|
|
376
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
377
|
+
}
|
|
251
378
|
.transform {
|
|
252
379
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
253
380
|
}
|
|
381
|
+
.cursor-pointer {
|
|
382
|
+
cursor: pointer;
|
|
383
|
+
}
|
|
384
|
+
.appearance-none {
|
|
385
|
+
appearance: none;
|
|
386
|
+
}
|
|
254
387
|
.flex-col {
|
|
255
388
|
flex-direction: column;
|
|
256
389
|
}
|
|
257
390
|
.flex-col-reverse {
|
|
258
391
|
flex-direction: column-reverse;
|
|
259
392
|
}
|
|
393
|
+
.flex-wrap {
|
|
394
|
+
flex-wrap: wrap;
|
|
395
|
+
}
|
|
260
396
|
.items-center {
|
|
261
397
|
align-items: center;
|
|
262
398
|
}
|
|
@@ -266,6 +402,12 @@
|
|
|
266
402
|
.justify-center {
|
|
267
403
|
justify-content: center;
|
|
268
404
|
}
|
|
405
|
+
.gap-0\.5 {
|
|
406
|
+
gap: calc(var(--spacing) * 0.5);
|
|
407
|
+
}
|
|
408
|
+
.gap-1 {
|
|
409
|
+
gap: calc(var(--spacing) * 1);
|
|
410
|
+
}
|
|
269
411
|
.gap-2 {
|
|
270
412
|
gap: calc(var(--spacing) * 2);
|
|
271
413
|
}
|
|
@@ -275,18 +417,49 @@
|
|
|
275
417
|
.gap-4 {
|
|
276
418
|
gap: calc(var(--spacing) * 4);
|
|
277
419
|
}
|
|
420
|
+
.truncate {
|
|
421
|
+
overflow: hidden;
|
|
422
|
+
text-overflow: ellipsis;
|
|
423
|
+
white-space: nowrap;
|
|
424
|
+
}
|
|
278
425
|
.rounded {
|
|
279
426
|
border-radius: 0.25rem;
|
|
280
427
|
}
|
|
428
|
+
.rounded-full {
|
|
429
|
+
border-radius: calc(infinity * 1px);
|
|
430
|
+
}
|
|
281
431
|
.rounded-lg {
|
|
282
432
|
border-radius: var(--radius-lg);
|
|
283
433
|
}
|
|
434
|
+
.rounded-md {
|
|
435
|
+
border-radius: var(--radius-md);
|
|
436
|
+
}
|
|
437
|
+
.rounded-sm {
|
|
438
|
+
border-radius: var(--radius-sm);
|
|
439
|
+
}
|
|
284
440
|
.rounded-xl {
|
|
285
441
|
border-radius: var(--radius-xl);
|
|
286
442
|
}
|
|
443
|
+
.border {
|
|
444
|
+
border-style: var(--tw-border-style);
|
|
445
|
+
border-width: 1px;
|
|
446
|
+
}
|
|
447
|
+
.border-\[0\.10rem\] {
|
|
448
|
+
border-style: var(--tw-border-style);
|
|
449
|
+
border-width: 0.10rem;
|
|
450
|
+
}
|
|
451
|
+
.border-login-200 {
|
|
452
|
+
border-color: var(--color-login-200);
|
|
453
|
+
}
|
|
287
454
|
.bg-login {
|
|
288
455
|
background-color: var(--color-login);
|
|
289
456
|
}
|
|
457
|
+
.bg-login-50 {
|
|
458
|
+
background-color: var(--color-login-50);
|
|
459
|
+
}
|
|
460
|
+
.bg-login-200 {
|
|
461
|
+
background-color: var(--color-login-200);
|
|
462
|
+
}
|
|
290
463
|
.bg-login-600 {
|
|
291
464
|
background-color: var(--color-login-600);
|
|
292
465
|
}
|
|
@@ -299,15 +472,33 @@
|
|
|
299
472
|
.bg-login-900 {
|
|
300
473
|
background-color: var(--color-login-900);
|
|
301
474
|
}
|
|
475
|
+
.bg-transparent {
|
|
476
|
+
background-color: transparent;
|
|
477
|
+
}
|
|
478
|
+
.stroke-3 {
|
|
479
|
+
stroke-width: 3;
|
|
480
|
+
}
|
|
302
481
|
.object-contain {
|
|
303
482
|
object-fit: contain;
|
|
304
483
|
}
|
|
484
|
+
.p-1 {
|
|
485
|
+
padding: calc(var(--spacing) * 1);
|
|
486
|
+
}
|
|
305
487
|
.p-2 {
|
|
306
488
|
padding: calc(var(--spacing) * 2);
|
|
307
489
|
}
|
|
308
490
|
.p-8 {
|
|
309
491
|
padding: calc(var(--spacing) * 8);
|
|
310
492
|
}
|
|
493
|
+
.px-1 {
|
|
494
|
+
padding-inline: calc(var(--spacing) * 1);
|
|
495
|
+
}
|
|
496
|
+
.px-2 {
|
|
497
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
498
|
+
}
|
|
499
|
+
.px-2\.5 {
|
|
500
|
+
padding-inline: calc(var(--spacing) * 2.5);
|
|
501
|
+
}
|
|
311
502
|
.px-3 {
|
|
312
503
|
padding-inline: calc(var(--spacing) * 3);
|
|
313
504
|
}
|
|
@@ -317,6 +508,12 @@
|
|
|
317
508
|
.px-6 {
|
|
318
509
|
padding-inline: calc(var(--spacing) * 6);
|
|
319
510
|
}
|
|
511
|
+
.py-0\.5 {
|
|
512
|
+
padding-block: calc(var(--spacing) * 0.5);
|
|
513
|
+
}
|
|
514
|
+
.py-1 {
|
|
515
|
+
padding-block: calc(var(--spacing) * 1);
|
|
516
|
+
}
|
|
320
517
|
.py-2 {
|
|
321
518
|
padding-block: calc(var(--spacing) * 2);
|
|
322
519
|
}
|
|
@@ -326,6 +523,24 @@
|
|
|
326
523
|
.py-12 {
|
|
327
524
|
padding-block: calc(var(--spacing) * 12);
|
|
328
525
|
}
|
|
526
|
+
.pt-1 {
|
|
527
|
+
padding-top: calc(var(--spacing) * 1);
|
|
528
|
+
}
|
|
529
|
+
.pt-3 {
|
|
530
|
+
padding-top: calc(var(--spacing) * 3);
|
|
531
|
+
}
|
|
532
|
+
.pt-4 {
|
|
533
|
+
padding-top: calc(var(--spacing) * 4);
|
|
534
|
+
}
|
|
535
|
+
.pr-1 {
|
|
536
|
+
padding-right: calc(var(--spacing) * 1);
|
|
537
|
+
}
|
|
538
|
+
.pb-1 {
|
|
539
|
+
padding-bottom: calc(var(--spacing) * 1);
|
|
540
|
+
}
|
|
541
|
+
.pb-2\.5 {
|
|
542
|
+
padding-bottom: calc(var(--spacing) * 2.5);
|
|
543
|
+
}
|
|
329
544
|
.text-center {
|
|
330
545
|
text-align: center;
|
|
331
546
|
}
|
|
@@ -357,6 +572,18 @@
|
|
|
357
572
|
--tw-tracking: var(--tracking-tight);
|
|
358
573
|
letter-spacing: var(--tracking-tight);
|
|
359
574
|
}
|
|
575
|
+
.text-blue-300\/70 {
|
|
576
|
+
color: color-mix(in srgb, oklch(80.9% 0.105 251.813) 70%, transparent);
|
|
577
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
578
|
+
color: color-mix(in oklab, var(--color-blue-300) 70%, transparent);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
.text-green-300\/70 {
|
|
582
|
+
color: color-mix(in srgb, oklch(87.1% 0.15 154.449) 70%, transparent);
|
|
583
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
584
|
+
color: color-mix(in oklab, var(--color-green-300) 70%, transparent);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
360
587
|
.text-login {
|
|
361
588
|
color: var(--color-login);
|
|
362
589
|
}
|
|
@@ -366,6 +593,36 @@
|
|
|
366
593
|
.text-login-100 {
|
|
367
594
|
color: var(--color-login-100);
|
|
368
595
|
}
|
|
596
|
+
.text-red-300\/70 {
|
|
597
|
+
color: color-mix(in srgb, oklch(80.8% 0.114 19.571) 70%, transparent);
|
|
598
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
599
|
+
color: color-mix(in oklab, var(--color-red-300) 70%, transparent);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
.text-red-500\/50 {
|
|
603
|
+
color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 50%, transparent);
|
|
604
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
605
|
+
color: color-mix(in oklab, var(--color-red-500) 50%, transparent);
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
.text-red-700 {
|
|
609
|
+
color: var(--color-red-700);
|
|
610
|
+
}
|
|
611
|
+
.text-yellow-300\/70 {
|
|
612
|
+
color: color-mix(in srgb, oklch(90.5% 0.182 98.111) 70%, transparent);
|
|
613
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
614
|
+
color: color-mix(in oklab, var(--color-yellow-300) 70%, transparent);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
.shadow-md {
|
|
618
|
+
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
619
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
620
|
+
}
|
|
621
|
+
.transition {
|
|
622
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
623
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
624
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
625
|
+
}
|
|
369
626
|
.transition-all {
|
|
370
627
|
transition-property: all;
|
|
371
628
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -375,6 +632,71 @@
|
|
|
375
632
|
--tw-duration: 200ms;
|
|
376
633
|
transition-duration: 200ms;
|
|
377
634
|
}
|
|
635
|
+
.duration-300 {
|
|
636
|
+
--tw-duration: 300ms;
|
|
637
|
+
transition-duration: 300ms;
|
|
638
|
+
}
|
|
639
|
+
.outline-none {
|
|
640
|
+
--tw-outline-style: none;
|
|
641
|
+
outline-style: none;
|
|
642
|
+
}
|
|
643
|
+
.group-\[\.submitPressed\]\:text-red-500\/50 {
|
|
644
|
+
&:is(:where(.group):is(.submitPressed) *) {
|
|
645
|
+
color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 50%, transparent);
|
|
646
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
647
|
+
color: color-mix(in oklab, var(--color-red-500) 50%, transparent);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
.peer-hover\:block {
|
|
652
|
+
&:is(:where(.peer):hover ~ *) {
|
|
653
|
+
@media (hover: hover) {
|
|
654
|
+
display: block;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
.peer-focus\:top-2 {
|
|
659
|
+
&:is(:where(.peer):focus ~ *) {
|
|
660
|
+
top: calc(var(--spacing) * 2);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
.peer-focus\:w-fit {
|
|
664
|
+
&:is(:where(.peer):focus ~ *) {
|
|
665
|
+
width: fit-content;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
.peer-focus\:-translate-y-5 {
|
|
669
|
+
&:is(:where(.peer):focus ~ *) {
|
|
670
|
+
--tw-translate-y: calc(var(--spacing) * -5);
|
|
671
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
.peer-focus\:scale-75 {
|
|
675
|
+
&:is(:where(.peer):focus ~ *) {
|
|
676
|
+
--tw-scale-x: 75%;
|
|
677
|
+
--tw-scale-y: 75%;
|
|
678
|
+
--tw-scale-z: 75%;
|
|
679
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
.peer-focus\:px-2 {
|
|
683
|
+
&:is(:where(.peer):focus ~ *) {
|
|
684
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
.after\:content-\[\"_\*\"\] {
|
|
688
|
+
&::after {
|
|
689
|
+
--tw-content: " *";
|
|
690
|
+
content: var(--tw-content);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
.hover\:bg-login-600 {
|
|
694
|
+
&:hover {
|
|
695
|
+
@media (hover: hover) {
|
|
696
|
+
background-color: var(--color-login-600);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
378
700
|
.hover\:bg-login\/80 {
|
|
379
701
|
&:hover {
|
|
380
702
|
@media (hover: hover) {
|
|
@@ -385,6 +707,24 @@
|
|
|
385
707
|
}
|
|
386
708
|
}
|
|
387
709
|
}
|
|
710
|
+
.hover\:text-red-800 {
|
|
711
|
+
&:hover {
|
|
712
|
+
@media (hover: hover) {
|
|
713
|
+
color: var(--color-red-800);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
.focus\:border-login-50 {
|
|
718
|
+
&:focus {
|
|
719
|
+
border-color: var(--color-login-50);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
.focus\:ring-0 {
|
|
723
|
+
&:focus {
|
|
724
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
725
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
726
|
+
}
|
|
727
|
+
}
|
|
388
728
|
.focus\:outline-none {
|
|
389
729
|
&:focus {
|
|
390
730
|
--tw-outline-style: none;
|
|
@@ -443,6 +783,36 @@ body {
|
|
|
443
783
|
background: var(--background);
|
|
444
784
|
font-family: Arial, Helvetica, sans-serif;
|
|
445
785
|
}
|
|
786
|
+
@property --tw-translate-x {
|
|
787
|
+
syntax: "*";
|
|
788
|
+
inherits: false;
|
|
789
|
+
initial-value: 0;
|
|
790
|
+
}
|
|
791
|
+
@property --tw-translate-y {
|
|
792
|
+
syntax: "*";
|
|
793
|
+
inherits: false;
|
|
794
|
+
initial-value: 0;
|
|
795
|
+
}
|
|
796
|
+
@property --tw-translate-z {
|
|
797
|
+
syntax: "*";
|
|
798
|
+
inherits: false;
|
|
799
|
+
initial-value: 0;
|
|
800
|
+
}
|
|
801
|
+
@property --tw-scale-x {
|
|
802
|
+
syntax: "*";
|
|
803
|
+
inherits: false;
|
|
804
|
+
initial-value: 1;
|
|
805
|
+
}
|
|
806
|
+
@property --tw-scale-y {
|
|
807
|
+
syntax: "*";
|
|
808
|
+
inherits: false;
|
|
809
|
+
initial-value: 1;
|
|
810
|
+
}
|
|
811
|
+
@property --tw-scale-z {
|
|
812
|
+
syntax: "*";
|
|
813
|
+
inherits: false;
|
|
814
|
+
initial-value: 1;
|
|
815
|
+
}
|
|
446
816
|
@property --tw-rotate-x {
|
|
447
817
|
syntax: "*";
|
|
448
818
|
inherits: false;
|
|
@@ -463,6 +833,11 @@ body {
|
|
|
463
833
|
syntax: "*";
|
|
464
834
|
inherits: false;
|
|
465
835
|
}
|
|
836
|
+
@property --tw-border-style {
|
|
837
|
+
syntax: "*";
|
|
838
|
+
inherits: false;
|
|
839
|
+
initial-value: solid;
|
|
840
|
+
}
|
|
466
841
|
@property --tw-font-weight {
|
|
467
842
|
syntax: "*";
|
|
468
843
|
inherits: false;
|
|
@@ -471,21 +846,113 @@ body {
|
|
|
471
846
|
syntax: "*";
|
|
472
847
|
inherits: false;
|
|
473
848
|
}
|
|
849
|
+
@property --tw-shadow {
|
|
850
|
+
syntax: "*";
|
|
851
|
+
inherits: false;
|
|
852
|
+
initial-value: 0 0 #0000;
|
|
853
|
+
}
|
|
854
|
+
@property --tw-shadow-color {
|
|
855
|
+
syntax: "*";
|
|
856
|
+
inherits: false;
|
|
857
|
+
}
|
|
858
|
+
@property --tw-shadow-alpha {
|
|
859
|
+
syntax: "<percentage>";
|
|
860
|
+
inherits: false;
|
|
861
|
+
initial-value: 100%;
|
|
862
|
+
}
|
|
863
|
+
@property --tw-inset-shadow {
|
|
864
|
+
syntax: "*";
|
|
865
|
+
inherits: false;
|
|
866
|
+
initial-value: 0 0 #0000;
|
|
867
|
+
}
|
|
868
|
+
@property --tw-inset-shadow-color {
|
|
869
|
+
syntax: "*";
|
|
870
|
+
inherits: false;
|
|
871
|
+
}
|
|
872
|
+
@property --tw-inset-shadow-alpha {
|
|
873
|
+
syntax: "<percentage>";
|
|
874
|
+
inherits: false;
|
|
875
|
+
initial-value: 100%;
|
|
876
|
+
}
|
|
877
|
+
@property --tw-ring-color {
|
|
878
|
+
syntax: "*";
|
|
879
|
+
inherits: false;
|
|
880
|
+
}
|
|
881
|
+
@property --tw-ring-shadow {
|
|
882
|
+
syntax: "*";
|
|
883
|
+
inherits: false;
|
|
884
|
+
initial-value: 0 0 #0000;
|
|
885
|
+
}
|
|
886
|
+
@property --tw-inset-ring-color {
|
|
887
|
+
syntax: "*";
|
|
888
|
+
inherits: false;
|
|
889
|
+
}
|
|
890
|
+
@property --tw-inset-ring-shadow {
|
|
891
|
+
syntax: "*";
|
|
892
|
+
inherits: false;
|
|
893
|
+
initial-value: 0 0 #0000;
|
|
894
|
+
}
|
|
895
|
+
@property --tw-ring-inset {
|
|
896
|
+
syntax: "*";
|
|
897
|
+
inherits: false;
|
|
898
|
+
}
|
|
899
|
+
@property --tw-ring-offset-width {
|
|
900
|
+
syntax: "<length>";
|
|
901
|
+
inherits: false;
|
|
902
|
+
initial-value: 0px;
|
|
903
|
+
}
|
|
904
|
+
@property --tw-ring-offset-color {
|
|
905
|
+
syntax: "*";
|
|
906
|
+
inherits: false;
|
|
907
|
+
initial-value: #fff;
|
|
908
|
+
}
|
|
909
|
+
@property --tw-ring-offset-shadow {
|
|
910
|
+
syntax: "*";
|
|
911
|
+
inherits: false;
|
|
912
|
+
initial-value: 0 0 #0000;
|
|
913
|
+
}
|
|
474
914
|
@property --tw-duration {
|
|
475
915
|
syntax: "*";
|
|
476
916
|
inherits: false;
|
|
477
917
|
}
|
|
918
|
+
@property --tw-content {
|
|
919
|
+
syntax: "*";
|
|
920
|
+
initial-value: "";
|
|
921
|
+
inherits: false;
|
|
922
|
+
}
|
|
478
923
|
@layer properties {
|
|
479
924
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
480
925
|
*, ::before, ::after, ::backdrop {
|
|
926
|
+
--tw-translate-x: 0;
|
|
927
|
+
--tw-translate-y: 0;
|
|
928
|
+
--tw-translate-z: 0;
|
|
929
|
+
--tw-scale-x: 1;
|
|
930
|
+
--tw-scale-y: 1;
|
|
931
|
+
--tw-scale-z: 1;
|
|
481
932
|
--tw-rotate-x: initial;
|
|
482
933
|
--tw-rotate-y: initial;
|
|
483
934
|
--tw-rotate-z: initial;
|
|
484
935
|
--tw-skew-x: initial;
|
|
485
936
|
--tw-skew-y: initial;
|
|
937
|
+
--tw-border-style: solid;
|
|
486
938
|
--tw-font-weight: initial;
|
|
487
939
|
--tw-tracking: initial;
|
|
940
|
+
--tw-shadow: 0 0 #0000;
|
|
941
|
+
--tw-shadow-color: initial;
|
|
942
|
+
--tw-shadow-alpha: 100%;
|
|
943
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
944
|
+
--tw-inset-shadow-color: initial;
|
|
945
|
+
--tw-inset-shadow-alpha: 100%;
|
|
946
|
+
--tw-ring-color: initial;
|
|
947
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
948
|
+
--tw-inset-ring-color: initial;
|
|
949
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
950
|
+
--tw-ring-inset: initial;
|
|
951
|
+
--tw-ring-offset-width: 0px;
|
|
952
|
+
--tw-ring-offset-color: #fff;
|
|
953
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
488
954
|
--tw-duration: initial;
|
|
955
|
+
--tw-content: "";
|
|
489
956
|
}
|
|
490
957
|
}
|
|
491
958
|
}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export { default as LoginPage } from './login/loginPage';
|
|
2
2
|
export { default as Toaster, addToast } from './toast/toaster';
|
|
3
|
+
export { default as Input } from './inputs/input';
|
|
4
|
+
export { default as SwitchInput } from './inputs/switch';
|
|
5
|
+
export { default as TagInput } from './inputs/tag';
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export { default as LoginPage } from './login/loginPage';
|
|
2
2
|
export { default as Toaster, addToast } from './toast/toaster';
|
|
3
|
+
// Input components
|
|
4
|
+
export { default as Input } from './inputs/input';
|
|
5
|
+
export { default as SwitchInput } from './inputs/switch';
|
|
6
|
+
export { default as TagInput } from './inputs/tag';
|