@visns-studio/visns-components 5.14.0 → 5.14.2

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.
@@ -417,6 +417,9 @@
417
417
  font-size: 13px;
418
418
  color: #555;
419
419
  text-align: center;
420
+ vertical-align: middle;
421
+ max-width: 200px;
422
+ word-wrap: break-word;
420
423
  }
421
424
 
422
425
  .table-container th {
@@ -436,6 +439,46 @@
436
439
  text-align: left;
437
440
  font-weight: bold;
438
441
  padding-left: 20px;
442
+ width: 15%;
443
+ min-width: 120px;
444
+ }
445
+
446
+ // Template column styling
447
+ .table-container th:nth-child(2),
448
+ .table-container td:nth-child(2) {
449
+ width: 20%;
450
+ min-width: 140px;
451
+ }
452
+
453
+ // Processed At column styling
454
+ .table-container th:nth-child(3),
455
+ .table-container td:nth-child(3) {
456
+ width: 20%;
457
+ min-width: 160px;
458
+ font-family: monospace;
459
+ font-size: 12px;
460
+ }
461
+
462
+ // Status column styling
463
+ .table-container th:nth-child(4),
464
+ .table-container td:nth-child(4) {
465
+ width: 20%;
466
+ min-width: 180px;
467
+ }
468
+
469
+ // File size column styling
470
+ .table-container th:nth-child(5),
471
+ .table-container td:nth-child(5) {
472
+ width: 15%;
473
+ min-width: 100px;
474
+ }
475
+
476
+ // Actions column styling
477
+ .table-container th:nth-child(6),
478
+ .table-container td:nth-child(6) {
479
+ width: 15%;
480
+ min-width: 120px;
481
+ text-align: center;
439
482
  }
440
483
 
441
484
  .table-container td:last-child {
@@ -446,12 +489,205 @@
446
489
  border-right: none;
447
490
  }
448
491
 
492
+ // Additional status column styling
493
+ .table-container td:nth-child(4) {
494
+ font-style: italic;
495
+ color: #666;
496
+ }
497
+
498
+ // Additional file size column styling
499
+ .table-container td:nth-child(5) {
500
+ font-family: monospace;
501
+ color: #888;
502
+ text-align: right;
503
+ padding-right: 20px;
504
+ }
505
+
506
+ // Additional actions column styling
507
+ .table-container td:nth-child(6) {
508
+ text-align: center;
509
+ padding: 8px;
510
+ }
511
+
512
+ // Improve responsive behavior
513
+ @media (max-width: 768px) {
514
+ .table-container {
515
+ font-size: 12px;
516
+ }
517
+
518
+ .table-container th,
519
+ .table-container td {
520
+ padding: 8px 10px;
521
+ }
522
+
523
+ .table-container td {
524
+ max-width: 120px;
525
+ }
526
+ }
527
+
449
528
  // Indicates that the widget is in edit mode with a glowing dashed border.
450
529
  .editModeWidget {
451
530
  border: 2px dashed var(--primary-color);
452
531
  box-shadow: 0 0 10px var(--primary-color);
453
532
  }
454
533
 
534
+ // Global modal styling improvements (for Popup component modals)
535
+ :global(.modalwrap) {
536
+ position: fixed !important;
537
+ top: 0 !important;
538
+ left: 0 !important;
539
+ right: 0 !important;
540
+ bottom: 0 !important;
541
+ width: 100vw !important;
542
+ height: 100vh !important;
543
+ background: rgba(var(--dark-rgb, 0, 0, 0), 0.75) !important;
544
+ backdrop-filter: blur(6px) !important;
545
+ z-index: 10000 !important;
546
+ display: flex !important;
547
+ align-items: center !important;
548
+ justify-content: center !important;
549
+ padding: 20px !important;
550
+ box-sizing: border-box !important;
551
+
552
+ .modal {
553
+ background: var(--background-color, #ffffff) !important;
554
+ border-radius: 16px !important;
555
+ box-shadow: 0 25px 80px rgba(var(--dark-rgb, 0, 0, 0), 0.4) !important;
556
+ max-width: 95vw !important;
557
+ max-height: 90vh !important;
558
+ width: 1200px !important;
559
+ display: flex !important;
560
+ flex-direction: column !important;
561
+ overflow: hidden !important;
562
+ animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
563
+ margin: 0 !important;
564
+ position: relative !important;
565
+ border: 1px solid rgba(var(--primary-rgb, 0, 123, 255), 0.1) !important;
566
+ }
567
+ }
568
+
569
+ :global(.modal__header) {
570
+ background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, var(--secondary-color, #6c757d) 100%) !important;
571
+ color: var(--light-color, #ffffff) !important;
572
+ padding: 24px 28px !important;
573
+ border-radius: 16px 16px 0 0 !important;
574
+ display: flex !important;
575
+ justify-content: space-between !important;
576
+ align-items: center !important;
577
+ border-bottom: 1px solid rgba(var(--light-rgb, 255, 255, 255), 0.1) !important;
578
+
579
+ h1 {
580
+ margin: 0 !important;
581
+ font-size: 20px !important;
582
+ font-weight: 600 !important;
583
+ color: var(--light-color, #ffffff) !important;
584
+ text-shadow: 0 1px 2px rgba(var(--dark-rgb, 0, 0, 0), 0.1) !important;
585
+ }
586
+ }
587
+
588
+ :global(.modal__close) {
589
+ background: rgba(var(--light-rgb, 255, 255, 255), 0.2) !important;
590
+ border: none !important;
591
+ color: var(--light-color, #ffffff) !important;
592
+ width: 32px !important;
593
+ height: 32px !important;
594
+ border-radius: 50% !important;
595
+ display: flex !important;
596
+ align-items: center !important;
597
+ justify-content: center !important;
598
+ cursor: pointer !important;
599
+ transition: background-color 0.2s !important;
600
+
601
+ &:hover {
602
+ background: rgba(var(--light-rgb, 255, 255, 255), 0.3) !important;
603
+ }
604
+ }
605
+
606
+ :global(.modal__content) {
607
+ max-height: 70vh !important;
608
+ overflow-y: auto !important;
609
+ padding: 25px !important;
610
+ flex: 1 !important;
611
+
612
+ .table-container {
613
+ margin-top: 0 !important;
614
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
615
+
616
+ table {
617
+ font-size: 13px !important;
618
+ }
619
+
620
+ th {
621
+ background: var(--item-color, #f8f9fa) !important;
622
+ color: var(--paragraph-color, #333) !important;
623
+ font-weight: 600 !important;
624
+ padding: 12px 15px !important;
625
+ font-size: 12px !important;
626
+ text-transform: uppercase !important;
627
+ letter-spacing: 0.5px !important;
628
+ border-bottom: 1px solid rgba(var(--primary-rgb, 0, 123, 255), 0.1) !important;
629
+ }
630
+
631
+ td {
632
+ padding: 12px 15px !important;
633
+ vertical-align: middle !important;
634
+ color: var(--paragraph-color, #555) !important;
635
+ border-bottom: 1px solid rgba(var(--item-color-rgb, 234, 236, 240), 0.5) !important;
636
+ }
637
+
638
+ tbody tr {
639
+ transition: background-color 0.15s ease !important;
640
+
641
+ &:hover {
642
+ background-color: rgba(var(--primary-rgb, 0, 123, 255), 0.05) !important;
643
+ }
644
+ }
645
+ }
646
+ }
647
+
648
+ @keyframes modalFadeIn {
649
+ from {
650
+ opacity: 0;
651
+ transform: scale(0.9) translateY(-20px);
652
+ }
653
+ to {
654
+ opacity: 1;
655
+ transform: scale(1) translateY(0);
656
+ }
657
+ }
658
+
659
+ // Responsive modal behavior
660
+ @media (max-width: 768px) {
661
+ .modalwrap {
662
+ padding: 10px;
663
+
664
+ .modal {
665
+ width: 100%;
666
+ max-height: 95vh;
667
+
668
+ .modal__header {
669
+ padding: 15px 20px;
670
+
671
+ h1 {
672
+ font-size: 18px;
673
+ }
674
+ }
675
+
676
+ .modal__content {
677
+ padding: 20px;
678
+
679
+ .table-container {
680
+ font-size: 12px;
681
+
682
+ th, td {
683
+ padding: 8px 10px;
684
+ }
685
+ }
686
+ }
687
+ }
688
+ }
689
+ }
690
+
455
691
  // Container for the edit mode toggle button.
456
692
  .editButtonContainer {
457
693
  position: fixed;
package/src/index.js CHANGED
@@ -70,6 +70,7 @@ import GenericQuote from './components/generic/GenericQuote';
70
70
  import GenericReport from './components/generic/GenericReport';
71
71
  import GenericSort from './components/generic/GenericSort';
72
72
  import NotificationList from './components/generic/NotificationList';
73
+ import OcrTemplateEnhanced from './components/generic/OcrTemplateEnhanced';
73
74
  import StagePopupModal from './components/generic/StagePopupModal';
74
75
 
75
76
  /** Proposal Components */
@@ -132,6 +133,7 @@ export {
132
133
  Navigation,
133
134
  Notification,
134
135
  NotificationList,
136
+ OcrTemplateEnhanced,
135
137
  Profile,
136
138
  ProposalTemplateSectionManager,
137
139
  ProposalTemplatePreview,