optimized-react-component-library-xyz123 0.0.8 → 0.0.9
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 +329 -0
- package/package.json +1 -1
- package/src/global.css +773 -368
package/dist/index.css
CHANGED
|
@@ -590,6 +590,335 @@ textarea:focus-visible,
|
|
|
590
590
|
.errorSummary-text {
|
|
591
591
|
color: #8e0039;
|
|
592
592
|
}
|
|
593
|
+
.files-upload {
|
|
594
|
+
width: 100%;
|
|
595
|
+
max-width: 800px;
|
|
596
|
+
margin: 0 auto;
|
|
597
|
+
font-family:
|
|
598
|
+
"Segoe UI",
|
|
599
|
+
Tahoma,
|
|
600
|
+
Geneva,
|
|
601
|
+
Verdana,
|
|
602
|
+
sans-serif;
|
|
603
|
+
}
|
|
604
|
+
.files-drop-zone {
|
|
605
|
+
border: 2px dashed #6e3282;
|
|
606
|
+
border-radius: 12px;
|
|
607
|
+
padding: 3rem 2rem;
|
|
608
|
+
text-align: center;
|
|
609
|
+
transition: all 0.3s ease;
|
|
610
|
+
background-color: #fafafa;
|
|
611
|
+
cursor: pointer;
|
|
612
|
+
position: relative;
|
|
613
|
+
overflow: hidden;
|
|
614
|
+
}
|
|
615
|
+
.files-drop-zone:hover {
|
|
616
|
+
border-color: #6e3282;
|
|
617
|
+
background-color: #f5ebf8;
|
|
618
|
+
transform: translateY(-2px);
|
|
619
|
+
box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
|
|
620
|
+
}
|
|
621
|
+
.files-drop-zone.drag-active {
|
|
622
|
+
border-color: #6e3282;
|
|
623
|
+
background-color: #f5ebf8;
|
|
624
|
+
transform: scale(1.02);
|
|
625
|
+
box-shadow: 0 8px 25px rgba(30, 167, 253, 0.2);
|
|
626
|
+
}
|
|
627
|
+
.files-drop-zone:focus {
|
|
628
|
+
border: 0.2rem solid #6e3282;
|
|
629
|
+
}
|
|
630
|
+
.files-drop-zone:focus-visible {
|
|
631
|
+
outline-offset: 0 !important;
|
|
632
|
+
outline-style: solid !important;
|
|
633
|
+
outline-color: #fff !important;
|
|
634
|
+
outline-width: 2px !important;
|
|
635
|
+
box-shadow: 0 0 0 4px #000 !important;
|
|
636
|
+
}
|
|
637
|
+
.files-drop-content {
|
|
638
|
+
pointer-events: none;
|
|
639
|
+
}
|
|
640
|
+
.files-icon {
|
|
641
|
+
font-size: 4rem;
|
|
642
|
+
margin-bottom: 1rem;
|
|
643
|
+
opacity: 0.7;
|
|
644
|
+
animation: float 3s ease-in-out infinite;
|
|
645
|
+
}
|
|
646
|
+
@keyframes float {
|
|
647
|
+
0%, 100% {
|
|
648
|
+
transform: translateY(0px);
|
|
649
|
+
}
|
|
650
|
+
50% {
|
|
651
|
+
transform: translateY(-10px);
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
.files-drop-text {
|
|
655
|
+
font-size: 1.2rem;
|
|
656
|
+
margin-bottom: 0.5rem;
|
|
657
|
+
color: #333;
|
|
658
|
+
font-weight: 500;
|
|
659
|
+
}
|
|
660
|
+
.files-drop-info {
|
|
661
|
+
font-size: 0.9rem;
|
|
662
|
+
color: #666;
|
|
663
|
+
margin: 0;
|
|
664
|
+
}
|
|
665
|
+
.files-allowed-types {
|
|
666
|
+
font-size: 0.85rem;
|
|
667
|
+
color: #555;
|
|
668
|
+
margin: 0.75rem 0 0 0;
|
|
669
|
+
padding: 0.5rem;
|
|
670
|
+
background-color: rgba(146, 64, 252, 0.1);
|
|
671
|
+
border-radius: 6px;
|
|
672
|
+
border-left: 3px solid #ce95e0;
|
|
673
|
+
}
|
|
674
|
+
.files-allowed-types strong {
|
|
675
|
+
color: #6e3282;
|
|
676
|
+
}
|
|
677
|
+
.files-input-hidden {
|
|
678
|
+
display: none;
|
|
679
|
+
}
|
|
680
|
+
.files-summary {
|
|
681
|
+
margin: 1.5rem 0;
|
|
682
|
+
padding: 1rem;
|
|
683
|
+
background-color: #f8f9fa;
|
|
684
|
+
border-radius: 8px;
|
|
685
|
+
border: 1px solid #e9ecef;
|
|
686
|
+
}
|
|
687
|
+
.files-summary-stats {
|
|
688
|
+
display: flex;
|
|
689
|
+
gap: 1rem;
|
|
690
|
+
margin-bottom: 1rem;
|
|
691
|
+
flex-wrap: wrap;
|
|
692
|
+
}
|
|
693
|
+
.stat {
|
|
694
|
+
padding: 0.5rem 1rem;
|
|
695
|
+
border-radius: 20px;
|
|
696
|
+
background-color: #e9ecef;
|
|
697
|
+
font-size: 0.9rem;
|
|
698
|
+
display: flex;
|
|
699
|
+
align-items: center;
|
|
700
|
+
gap: 0.5rem;
|
|
701
|
+
}
|
|
702
|
+
.stat.pending {
|
|
703
|
+
background-color: #fff3cd;
|
|
704
|
+
color: #856404;
|
|
705
|
+
}
|
|
706
|
+
.stat.completed {
|
|
707
|
+
background-color: #d1e7dd;
|
|
708
|
+
color: #0a3622;
|
|
709
|
+
}
|
|
710
|
+
.stat.error {
|
|
711
|
+
background-color: #f8d7da;
|
|
712
|
+
color: #721c24;
|
|
713
|
+
}
|
|
714
|
+
.files-summary-actions {
|
|
715
|
+
display: flex;
|
|
716
|
+
gap: 0.5rem;
|
|
717
|
+
flex-wrap: wrap;
|
|
718
|
+
}
|
|
719
|
+
.action-button {
|
|
720
|
+
padding: 0.75rem 1.5rem;
|
|
721
|
+
border: none;
|
|
722
|
+
border-radius: 6px;
|
|
723
|
+
cursor: pointer;
|
|
724
|
+
font-weight: 500;
|
|
725
|
+
transition: all 0.2s ease;
|
|
726
|
+
display: flex;
|
|
727
|
+
align-items: center;
|
|
728
|
+
gap: 0.5rem;
|
|
729
|
+
}
|
|
730
|
+
.action-button.primary {
|
|
731
|
+
background-color: #1ea7fd;
|
|
732
|
+
color: white;
|
|
733
|
+
}
|
|
734
|
+
.action-button.primary:hover {
|
|
735
|
+
background-color: #1890ff;
|
|
736
|
+
transform: translateY(-1px);
|
|
737
|
+
}
|
|
738
|
+
.action-button.secondary {
|
|
739
|
+
background-color: #6c757d;
|
|
740
|
+
color: white;
|
|
741
|
+
}
|
|
742
|
+
.action-button.secondary:hover {
|
|
743
|
+
background-color: #5a6268;
|
|
744
|
+
transform: translateY(-1px);
|
|
745
|
+
}
|
|
746
|
+
.files-list {
|
|
747
|
+
margin-top: 1.5rem;
|
|
748
|
+
}
|
|
749
|
+
.files-list h4 {
|
|
750
|
+
margin-bottom: 1rem;
|
|
751
|
+
color: #333;
|
|
752
|
+
font-size: 1.1rem;
|
|
753
|
+
font-weight: 600;
|
|
754
|
+
}
|
|
755
|
+
.files-items {
|
|
756
|
+
list-style: none;
|
|
757
|
+
padding: 0;
|
|
758
|
+
margin: 0;
|
|
759
|
+
}
|
|
760
|
+
.file-item {
|
|
761
|
+
display: flex;
|
|
762
|
+
align-items: center;
|
|
763
|
+
gap: 1rem;
|
|
764
|
+
padding: 1rem;
|
|
765
|
+
border: 1px solid #e9ecef;
|
|
766
|
+
border-radius: 8px;
|
|
767
|
+
margin-bottom: 0.75rem;
|
|
768
|
+
background-color: white;
|
|
769
|
+
transition: all 0.2s ease;
|
|
770
|
+
position: relative;
|
|
771
|
+
}
|
|
772
|
+
.file-item:hover {
|
|
773
|
+
background-color: #f8f9fa;
|
|
774
|
+
border-color: #dee2e6;
|
|
775
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
776
|
+
}
|
|
777
|
+
.file-item.uploading {
|
|
778
|
+
background-color: #e6f7ff;
|
|
779
|
+
border-color: #91d5ff;
|
|
780
|
+
}
|
|
781
|
+
.file-item.completed {
|
|
782
|
+
background-color: #f6ffed;
|
|
783
|
+
border-color: #b7eb8f;
|
|
784
|
+
}
|
|
785
|
+
.file-item.error {
|
|
786
|
+
background-color: #fff2f0;
|
|
787
|
+
border-color: #ffccc7;
|
|
788
|
+
}
|
|
789
|
+
.file-icon-status {
|
|
790
|
+
font-size: 1.5rem;
|
|
791
|
+
min-width: 2rem;
|
|
792
|
+
text-align: center;
|
|
793
|
+
}
|
|
794
|
+
.file-info {
|
|
795
|
+
flex: 1;
|
|
796
|
+
min-width: 0;
|
|
797
|
+
}
|
|
798
|
+
.file-name {
|
|
799
|
+
font-weight: 500;
|
|
800
|
+
color: #333;
|
|
801
|
+
margin-bottom: 0.5rem;
|
|
802
|
+
word-break: break-word;
|
|
803
|
+
}
|
|
804
|
+
.file-details {
|
|
805
|
+
display: flex;
|
|
806
|
+
gap: 1rem;
|
|
807
|
+
font-size: 0.85rem;
|
|
808
|
+
color: #666;
|
|
809
|
+
flex-wrap: wrap;
|
|
810
|
+
}
|
|
811
|
+
.file-size {
|
|
812
|
+
color: #666;
|
|
813
|
+
}
|
|
814
|
+
.file-status {
|
|
815
|
+
color: #1ea7fd;
|
|
816
|
+
font-weight: 500;
|
|
817
|
+
}
|
|
818
|
+
.file-error {
|
|
819
|
+
color: #dc3545;
|
|
820
|
+
font-weight: 500;
|
|
821
|
+
}
|
|
822
|
+
.progress-bar {
|
|
823
|
+
width: 100%;
|
|
824
|
+
height: 4px;
|
|
825
|
+
background-color: #e9ecef;
|
|
826
|
+
border-radius: 2px;
|
|
827
|
+
margin-top: 0.5rem;
|
|
828
|
+
overflow: hidden;
|
|
829
|
+
}
|
|
830
|
+
.progress-fill {
|
|
831
|
+
height: 100%;
|
|
832
|
+
background-color: #1ea7fd;
|
|
833
|
+
transition: width 0.3s ease;
|
|
834
|
+
border-radius: 2px;
|
|
835
|
+
}
|
|
836
|
+
.file-actions {
|
|
837
|
+
display: flex;
|
|
838
|
+
gap: 0.5rem;
|
|
839
|
+
}
|
|
840
|
+
.action-btn {
|
|
841
|
+
background: none;
|
|
842
|
+
border: 1px solid transparent;
|
|
843
|
+
padding: 0.5rem;
|
|
844
|
+
border-radius: 6px;
|
|
845
|
+
cursor: pointer;
|
|
846
|
+
font-size: 1rem;
|
|
847
|
+
transition: all 0.2s ease;
|
|
848
|
+
min-width: 2.5rem;
|
|
849
|
+
height: 2.5rem;
|
|
850
|
+
display: flex;
|
|
851
|
+
align-items: center;
|
|
852
|
+
justify-content: center;
|
|
853
|
+
}
|
|
854
|
+
.action-btn.upload {
|
|
855
|
+
color: #1ea7fd;
|
|
856
|
+
border-color: #1ea7fd;
|
|
857
|
+
}
|
|
858
|
+
.action-btn.upload:hover {
|
|
859
|
+
background-color: #1ea7fd;
|
|
860
|
+
color: white;
|
|
861
|
+
}
|
|
862
|
+
.action-btn.retry {
|
|
863
|
+
color: #fd7e14;
|
|
864
|
+
border-color: #fd7e14;
|
|
865
|
+
}
|
|
866
|
+
.action-btn.retry:hover {
|
|
867
|
+
background-color: #fd7e14;
|
|
868
|
+
color: white;
|
|
869
|
+
}
|
|
870
|
+
.action-btn.remove {
|
|
871
|
+
color: #6e3282;
|
|
872
|
+
border-color: #6e3282;
|
|
873
|
+
}
|
|
874
|
+
.action-btn.remove:hover {
|
|
875
|
+
background-color: #6e3282;
|
|
876
|
+
color: white;
|
|
877
|
+
}
|
|
878
|
+
@media (max-width: 768px) {
|
|
879
|
+
.files-drop-zone {
|
|
880
|
+
padding: 2rem 1rem;
|
|
881
|
+
}
|
|
882
|
+
.files-icon {
|
|
883
|
+
font-size: 3rem;
|
|
884
|
+
}
|
|
885
|
+
.files-drop-text {
|
|
886
|
+
font-size: 1rem;
|
|
887
|
+
}
|
|
888
|
+
.files-summary-stats {
|
|
889
|
+
flex-direction: column;
|
|
890
|
+
gap: 0.5rem;
|
|
891
|
+
}
|
|
892
|
+
.files-summary-actions {
|
|
893
|
+
flex-direction: column;
|
|
894
|
+
}
|
|
895
|
+
.action-button {
|
|
896
|
+
justify-content: center;
|
|
897
|
+
}
|
|
898
|
+
.file-item {
|
|
899
|
+
flex-direction: column;
|
|
900
|
+
align-items: flex-start;
|
|
901
|
+
gap: 0.75rem;
|
|
902
|
+
}
|
|
903
|
+
.file-details {
|
|
904
|
+
flex-direction: column;
|
|
905
|
+
gap: 0.25rem;
|
|
906
|
+
}
|
|
907
|
+
.file-actions {
|
|
908
|
+
align-self: flex-end;
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
@media (max-width: 480px) {
|
|
912
|
+
.files-upload {
|
|
913
|
+
padding: 0 0.5rem;
|
|
914
|
+
}
|
|
915
|
+
.files-drop-zone {
|
|
916
|
+
padding: 1.5rem 1rem;
|
|
917
|
+
}
|
|
918
|
+
.file-item {
|
|
919
|
+
padding: 0.75rem;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
593
922
|
|
|
594
923
|
/* src/NewInputComponentStandard/RadioMultipleStandard/RadioMultipleStandard.css */
|
|
595
924
|
|