teraprox-ui-kit 0.1.7 → 0.1.10

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 CHANGED
@@ -1,3 +1,51 @@
1
+ /* src/styles/BonusButton.css */
2
+ .bonus-button {
3
+ background-color: #28a745;
4
+ color: #fff;
5
+ padding: 12px 24px;
6
+ font-size: 1.1rem;
7
+ font-weight: bold;
8
+ border: none;
9
+ border-radius: 8px;
10
+ cursor: pointer;
11
+ outline: none;
12
+ position: relative;
13
+ overflow: hidden;
14
+ z-index: 1;
15
+ transition: transform 0.3s ease;
16
+ }
17
+ .bonus-button:hover {
18
+ transform: scale(1.05);
19
+ }
20
+ .bonus-button::before {
21
+ content: "";
22
+ position: absolute;
23
+ top: 0;
24
+ left: 0;
25
+ width: 100%;
26
+ height: 100%;
27
+ border-radius: 8px;
28
+ background: rgba(0, 255, 0, 0.5);
29
+ opacity: 0.7;
30
+ filter: blur(12px);
31
+ z-index: -1;
32
+ animation: glow 1s infinite;
33
+ }
34
+ @keyframes glow {
35
+ 0% {
36
+ transform: scale(1);
37
+ opacity: 0.5;
38
+ }
39
+ 50% {
40
+ transform: scale(1.2);
41
+ opacity: 1;
42
+ }
43
+ 100% {
44
+ transform: scale(1);
45
+ opacity: 0.5;
46
+ }
47
+ }
48
+
1
49
  /* src/styles/LoadingButton.css */
2
50
  .loading-button {
3
51
  display: flex;
@@ -37,6 +85,24 @@
37
85
  transform: scale(1.1);
38
86
  }
39
87
 
88
+ /* src/styles/ExpandableCard.css */
89
+ .expandable-card {
90
+ border-radius: 8px;
91
+ overflow: hidden;
92
+ }
93
+ .expandable-card .card-header {
94
+ cursor: pointer;
95
+ display: flex;
96
+ align-items: center;
97
+ justify-content: space-between;
98
+ }
99
+ .expandable-card .chevron-icon {
100
+ transition: transform 0.2s ease;
101
+ }
102
+ .expandable-card .chevron-icon.rotated {
103
+ transform: rotate(180deg);
104
+ }
105
+
40
106
  /* src/styles/StatusIndicator.css */
41
107
  .status-flag {
42
108
  border-radius: 8px;
@@ -76,6 +142,272 @@
76
142
  background-color: #35cbe5;
77
143
  }
78
144
 
145
+ /* src/styles/timerDisplay.css */
146
+ .timer-display-container {
147
+ border-radius: 8px;
148
+ border: 1px solid #d3d3d3;
149
+ padding: 8px;
150
+ display: flex;
151
+ align-items: center;
152
+ justify-content: center;
153
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
154
+ min-width: 150px;
155
+ max-width: 260px;
156
+ margin: auto;
157
+ transition: all 0.3s ease;
158
+ background-color: #fff;
159
+ }
160
+ .timer-display-container:hover {
161
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
162
+ }
163
+ .timer-display-content {
164
+ display: flex;
165
+ align-items: center;
166
+ gap: 8px;
167
+ }
168
+ .timer-icon {
169
+ color: #555;
170
+ }
171
+ .timer-icon-action {
172
+ cursor: pointer;
173
+ transition: transform 0.2s ease, color 0.2s ease;
174
+ }
175
+ .timer-icon-action:hover {
176
+ transform: scale(1.2);
177
+ color: #007bff;
178
+ }
179
+ .timer-display-time {
180
+ font-weight: bold;
181
+ font-size: 1.2em;
182
+ color: #333;
183
+ }
184
+ .timer-display-message {
185
+ font-size: 0.9rem;
186
+ color: #777;
187
+ font-style: italic;
188
+ }
189
+
190
+ /* src/styles/RecursoDisplayer.css */
191
+ .recurso-displayer {
192
+ display: flex;
193
+ flex-wrap: wrap;
194
+ gap: 6px;
195
+ }
196
+ .recurso-displayer .recurso-badge {
197
+ display: inline-flex;
198
+ align-items: center;
199
+ gap: 4px;
200
+ padding: 4px 10px;
201
+ border-radius: 16px;
202
+ font-size: 0.85rem;
203
+ background-color: #e9ecef;
204
+ color: #495057;
205
+ }
206
+ .recurso-displayer .recurso-badge .remove-btn {
207
+ cursor: pointer;
208
+ font-size: 0.75rem;
209
+ opacity: 0.6;
210
+ }
211
+ .recurso-displayer .recurso-badge .remove-btn:hover {
212
+ opacity: 1;
213
+ }
214
+
215
+ /* src/styles/StatusPills.css */
216
+ .status-pills-container {
217
+ display: flex;
218
+ flex-wrap: wrap;
219
+ gap: 8px;
220
+ padding: 4px 0;
221
+ }
222
+ .status-pill {
223
+ display: flex;
224
+ align-items: center;
225
+ gap: 6px;
226
+ padding: 4px 12px;
227
+ border-radius: 50px;
228
+ border: 1px solid #dee2e6;
229
+ background-color: #fff;
230
+ cursor: pointer;
231
+ transition: all 0.2s ease;
232
+ font-size: 0.85rem;
233
+ font-weight: 500;
234
+ color: #495057;
235
+ user-select: none;
236
+ }
237
+ .status-pill:hover {
238
+ border-color: var(--status-color, #adb5bd);
239
+ background-color: #f8f9fa;
240
+ transform: translateY(-1px);
241
+ }
242
+ .status-pill.active {
243
+ background-color: var(--status-color, #007bff);
244
+ border-color: var(--status-color, #007bff);
245
+ color: white;
246
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
247
+ }
248
+ .status-pill__swatch {
249
+ width: 10px;
250
+ height: 10px;
251
+ border-radius: 50%;
252
+ background-color: var(--status-color, #adb5bd);
253
+ transition: background-color 0.2s ease;
254
+ }
255
+ .status-pill.active .status-pill__swatch {
256
+ background-color: #fff;
257
+ }
258
+ .status-pill__count {
259
+ font-size: 0.75rem;
260
+ background-color: #e9ecef;
261
+ color: #495057;
262
+ padding: 0 6px;
263
+ border-radius: 10px;
264
+ min-width: 20px;
265
+ text-align: center;
266
+ }
267
+ .status-pill.active .status-pill__count {
268
+ background-color: rgba(255, 255, 255, 0.2);
269
+ color: white;
270
+ }
271
+
272
+ /* src/styles/PeriodSelector.css */
273
+ .period-selector-card {
274
+ border-radius: 8px;
275
+ border: 1px solid #dee2e6;
276
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
277
+ transition: all 0.3s ease;
278
+ background-color: #fff;
279
+ width: 100%;
280
+ }
281
+ .period-selector-card.expanded {
282
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
283
+ border-color: #007bff;
284
+ }
285
+ .compact-row {
286
+ display: flex;
287
+ align-items: center;
288
+ justify-content: space-between;
289
+ padding: 8px 12px;
290
+ cursor: pointer;
291
+ }
292
+ .date-range-text {
293
+ font-size: 0.95rem;
294
+ font-weight: 500;
295
+ color: #212529;
296
+ }
297
+ .period-icon-btn {
298
+ color: #007bff;
299
+ transition: transform 0.2s ease;
300
+ }
301
+ .compact-row:hover .period-icon-btn {
302
+ transform: scale(1.1);
303
+ }
304
+ .expanded-content {
305
+ padding: 16px;
306
+ border-top: 1px solid #f8f9fa;
307
+ animation: slideDown 0.2s ease-out;
308
+ }
309
+ .presets-container {
310
+ display: flex;
311
+ flex-wrap: wrap;
312
+ gap: 6px;
313
+ margin-bottom: 16px;
314
+ }
315
+ .preset-btn {
316
+ padding: 2px 10px;
317
+ font-size: 0.8rem;
318
+ border-radius: 12px;
319
+ }
320
+ .date-inputs-grid {
321
+ display: grid;
322
+ grid-template-columns: 1fr 1fr;
323
+ gap: 12px;
324
+ }
325
+ @keyframes slideDown {
326
+ from {
327
+ opacity: 0;
328
+ transform: translateY(-10px);
329
+ }
330
+ to {
331
+ opacity: 1;
332
+ transform: translateY(0);
333
+ }
334
+ }
335
+ @media (max-width: 576px) {
336
+ .date-inputs-grid {
337
+ grid-template-columns: 1fr;
338
+ }
339
+ }
340
+
341
+ /* src/styles/AdvancedFilterBar.css */
342
+ .advanced-filter-bar {
343
+ background-color: #fcfcfc;
344
+ border: 1px solid #eee;
345
+ border-radius: 12px;
346
+ overflow: hidden;
347
+ margin-bottom: 1rem;
348
+ transition: all 0.3s ease;
349
+ }
350
+ .filter-bar-header {
351
+ display: flex;
352
+ align-items: center;
353
+ justify-content: space-between;
354
+ padding: 12px 20px;
355
+ cursor: pointer;
356
+ background-color: #fff;
357
+ }
358
+ .filter-bar-header:hover {
359
+ background-color: #fafafa;
360
+ }
361
+ .filter-title-group {
362
+ display: flex;
363
+ align-items: center;
364
+ gap: 12px;
365
+ }
366
+ .filter-title {
367
+ font-size: 1rem;
368
+ font-weight: 600;
369
+ color: #333;
370
+ margin: 0;
371
+ }
372
+ .filter-count-badge {
373
+ background-color: #e3f2fd;
374
+ color: #0d6efd;
375
+ font-size: 0.75rem;
376
+ padding: 2px 8px;
377
+ border-radius: 10px;
378
+ font-weight: bold;
379
+ }
380
+ .filter-bar-content {
381
+ padding: 20px;
382
+ border-top: 1px solid #f0f0f0;
383
+ background-color: #fcfcfc;
384
+ }
385
+ .filter-grid {
386
+ display: grid;
387
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
388
+ gap: 20px;
389
+ }
390
+ .filter-section {
391
+ display: flex;
392
+ flex-direction: column;
393
+ gap: 8px;
394
+ }
395
+ .filter-section-label {
396
+ font-size: 0.75rem;
397
+ text-transform: uppercase;
398
+ color: #6c757d;
399
+ font-weight: bold;
400
+ letter-spacing: 0.5px;
401
+ }
402
+ .filter-actions {
403
+ display: flex;
404
+ justify-content: flex-end;
405
+ gap: 12px;
406
+ margin-top: 20px;
407
+ padding-top: 15px;
408
+ border-top: 1px dashed #dee2e6;
409
+ }
410
+
79
411
  /* src/styles/UploadArea.css */
80
412
  .upload-area {
81
413
  border: 3px dashed #ccc;
@@ -124,6 +456,67 @@
124
456
  font-size: 0.9rem;
125
457
  }
126
458
 
459
+ /* src/styles/SectorSelector.css */
460
+ .sector-selector-floating {
461
+ position: relative;
462
+ }
463
+ .custom-select-container {
464
+ position: relative;
465
+ display: flex;
466
+ align-items: center;
467
+ cursor: pointer;
468
+ border: none;
469
+ border-bottom: 1px solid #000;
470
+ background-color: transparent;
471
+ padding: 0.375rem 0;
472
+ width: 100%;
473
+ transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
474
+ }
475
+ .custom-select-container:focus-within {
476
+ border-color: #ced4da;
477
+ }
478
+ .selected-sector-label {
479
+ line-height: 1.2;
480
+ font-size: 1rem;
481
+ color: #495057;
482
+ width: 100%;
483
+ padding-left: 0.375rem;
484
+ }
485
+ .custom-dropdown-menu {
486
+ position: absolute;
487
+ width: 100%;
488
+ z-index: 1000;
489
+ background-color: #fff;
490
+ border-bottom: 1px solid #000;
491
+ border-radius: 0;
492
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
493
+ margin-top: 0.5rem;
494
+ max-height: 300px;
495
+ overflow-y: auto;
496
+ }
497
+ .dropdown-option {
498
+ padding: 0.375rem 0;
499
+ cursor: pointer;
500
+ transition: background-color 0.2s ease-in-out;
501
+ padding: 8px 12px;
502
+ }
503
+ .dropdown-option:hover {
504
+ background-color: #f8f9fa;
505
+ }
506
+ .selected-option {
507
+ font-weight: bold;
508
+ background-color: #d8e3ff;
509
+ }
510
+ .sector-selector-floating label {
511
+ position: absolute;
512
+ top: -0.75rem;
513
+ left: 0;
514
+ font-size: 0.85rem;
515
+ color: #6c757d;
516
+ transition: all 0.2s ease-in-out;
517
+ pointer-events: none;
518
+ }
519
+
127
520
  /* src/styles/IconLabelList.css */
128
521
  .icon-label-list {
129
522
  display: flex;
@@ -150,3 +543,183 @@
150
543
  color: #495057;
151
544
  text-align: center;
152
545
  }
546
+
547
+ /* src/styles/NotificationItem.css */
548
+ .notification-item-modern {
549
+ display: flex;
550
+ align-items: flex-start;
551
+ padding: 16px 20px;
552
+ margin: 0;
553
+ cursor: pointer;
554
+ transition: all 0.2s ease;
555
+ border-bottom: 1px solid #f0f0f0;
556
+ background: white;
557
+ position: relative;
558
+ }
559
+ .notification-item-modern:hover {
560
+ background: #f8f9fa;
561
+ transform: translateX(4px);
562
+ }
563
+ .notification-item-modern:active {
564
+ transform: translateX(2px);
565
+ background: #e9ecef;
566
+ }
567
+ .notification-item-modern.unread {
568
+ background:
569
+ linear-gradient(
570
+ 90deg,
571
+ rgba(0, 123, 255, 0.02) 0%,
572
+ rgba(255, 255, 255, 1) 8%);
573
+ border-left: 3px solid #007bff;
574
+ }
575
+ .notification-item-modern.unread:hover {
576
+ background:
577
+ linear-gradient(
578
+ 90deg,
579
+ rgba(0, 123, 255, 0.05) 0%,
580
+ rgba(248, 249, 250, 1) 8%);
581
+ }
582
+ .notification-status-indicator {
583
+ flex-shrink: 0;
584
+ width: 24px;
585
+ height: 24px;
586
+ border-radius: 50%;
587
+ display: flex;
588
+ align-items: center;
589
+ justify-content: center;
590
+ margin-right: 12px;
591
+ margin-top: 2px;
592
+ }
593
+ .notification-status-indicator.unread {
594
+ background: #e3f2fd;
595
+ color: #1976d2;
596
+ }
597
+ .notification-status-indicator.read {
598
+ background: #e8f5e8;
599
+ color: #2e7d32;
600
+ }
601
+ .notification-main-content {
602
+ flex: 1;
603
+ min-width: 0;
604
+ }
605
+ .notification-header-row {
606
+ display: flex;
607
+ align-items: flex-start;
608
+ justify-content: space-between;
609
+ margin-bottom: 8px;
610
+ }
611
+ .notification-title-modern {
612
+ display: flex;
613
+ align-items: center;
614
+ gap: 6px;
615
+ flex: 1;
616
+ min-width: 0;
617
+ }
618
+ .notification-context {
619
+ font-size: 14px;
620
+ font-weight: 600;
621
+ color: #212529;
622
+ white-space: nowrap;
623
+ overflow: hidden;
624
+ text-overflow: ellipsis;
625
+ }
626
+ .notification-separator {
627
+ color: #6c757d;
628
+ font-weight: normal;
629
+ }
630
+ .notification-context-id {
631
+ font-size: 14px;
632
+ font-weight: 500;
633
+ color: #495057;
634
+ white-space: nowrap;
635
+ overflow: hidden;
636
+ text-overflow: ellipsis;
637
+ }
638
+ .notification-preview {
639
+ margin-bottom: 8px;
640
+ }
641
+ .notification-content-preview {
642
+ font-size: 13px;
643
+ line-height: 1.4;
644
+ color: #6c757d;
645
+ margin: 0;
646
+ display: -webkit-box;
647
+ -webkit-line-clamp: 2;
648
+ -webkit-box-orient: vertical;
649
+ overflow: hidden;
650
+ }
651
+ .notification-meta {
652
+ display: flex;
653
+ align-items: center;
654
+ gap: 12px;
655
+ flex-wrap: wrap;
656
+ }
657
+ .notification-timestamp {
658
+ display: flex;
659
+ align-items: center;
660
+ color: #868e96;
661
+ font-size: 11px;
662
+ }
663
+ .notification-read-time {
664
+ display: flex;
665
+ align-items: center;
666
+ color: #28a745;
667
+ font-size: 11px;
668
+ }
669
+ .notification-quick-actions {
670
+ display: flex;
671
+ flex-direction: column;
672
+ gap: 4px;
673
+ margin-left: 8px;
674
+ opacity: 0;
675
+ transition: opacity 0.2s ease;
676
+ }
677
+ .notification-item-modern:hover .notification-quick-actions {
678
+ opacity: 1;
679
+ }
680
+ .notification-action-btn {
681
+ width: 28px;
682
+ height: 28px;
683
+ border: none;
684
+ border-radius: 50%;
685
+ display: flex;
686
+ align-items: center;
687
+ justify-content: center;
688
+ transition: all 0.2s ease;
689
+ cursor: pointer;
690
+ }
691
+ .notification-dismiss-btn {
692
+ background: #fff5f5;
693
+ color: #e53e3e;
694
+ }
695
+ .notification-dismiss-btn:hover {
696
+ background: #fed7d7;
697
+ color: #c53030;
698
+ transform: scale(1.1);
699
+ }
700
+ .notification-modal .modal-content {
701
+ border-radius: 12px;
702
+ border: none;
703
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
704
+ }
705
+ .notification-modal-header {
706
+ background:
707
+ linear-gradient(
708
+ 135deg,
709
+ #f8f9fa 0%,
710
+ #e9ecef 100%);
711
+ border-bottom: 1px solid #dee2e6;
712
+ border-radius: 12px 12px 0 0;
713
+ padding: 20px;
714
+ }
715
+ .notification-modal-message {
716
+ background: #f8f9fa;
717
+ padding: 16px;
718
+ border-radius: 8px;
719
+ border-left: 4px solid #007bff;
720
+ }
721
+ @media (max-width: 576px) {
722
+ .notification-item-modern {
723
+ padding: 12px 16px;
724
+ }
725
+ }