@authdog/react-elements 0.0.10 → 0.0.11
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/.turbo/turbo-build.log +42 -24
- package/CHANGELOG.md +6 -0
- package/dist/components/ui/avatar.d.mts +9 -0
- package/dist/components/ui/avatar.d.ts +9 -0
- package/dist/components/ui/avatar.js +2 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/avatar.mjs +2 -0
- package/dist/components/ui/avatar.mjs.map +1 -0
- package/dist/components/ui/dropdown-menu.d.mts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.js +2 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/dropdown-menu.mjs +2 -0
- package/dist/components/ui/dropdown-menu.mjs.map +1 -0
- package/dist/components/ui/sheet.d.mts +16 -0
- package/dist/components/ui/sheet.d.ts +16 -0
- package/dist/components/ui/sheet.js +2 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/sheet.mjs +2 -0
- package/dist/components/ui/sheet.mjs.map +1 -0
- package/dist/index.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +499 -0
- package/package.json +5 -2
- package/src/components/core/navbar.tsx +154 -0
- package/src/components/ui/avatar.tsx +53 -0
- package/src/components/ui/dropdown-menu.tsx +262 -0
- package/src/components/ui/sheet.tsx +142 -0
- package/src/index.ts +1 -0
package/dist/styles.css
CHANGED
|
@@ -539,51 +539,302 @@ video {
|
|
|
539
539
|
color: hsl(var(--foreground));
|
|
540
540
|
font-feature-settings: "rlig" 1, "calt" 1;
|
|
541
541
|
}
|
|
542
|
+
.container {
|
|
543
|
+
width: 100%;
|
|
544
|
+
margin-right: auto;
|
|
545
|
+
margin-left: auto;
|
|
546
|
+
padding-right: 2rem;
|
|
547
|
+
padding-left: 2rem;
|
|
548
|
+
}
|
|
549
|
+
@media (min-width: 1400px) {
|
|
550
|
+
|
|
551
|
+
.container {
|
|
552
|
+
max-width: 1400px;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
.sr-only {
|
|
556
|
+
position: absolute;
|
|
557
|
+
width: 1px;
|
|
558
|
+
height: 1px;
|
|
559
|
+
padding: 0;
|
|
560
|
+
margin: -1px;
|
|
561
|
+
overflow: hidden;
|
|
562
|
+
clip: rect(0, 0, 0, 0);
|
|
563
|
+
white-space: nowrap;
|
|
564
|
+
border-width: 0;
|
|
565
|
+
}
|
|
566
|
+
.pointer-events-none {
|
|
567
|
+
pointer-events: none;
|
|
568
|
+
}
|
|
569
|
+
.fixed {
|
|
570
|
+
position: fixed;
|
|
571
|
+
}
|
|
572
|
+
.absolute {
|
|
573
|
+
position: absolute;
|
|
574
|
+
}
|
|
575
|
+
.relative {
|
|
576
|
+
position: relative;
|
|
577
|
+
}
|
|
578
|
+
.inset-0 {
|
|
579
|
+
inset: 0px;
|
|
580
|
+
}
|
|
581
|
+
.inset-x-0 {
|
|
582
|
+
left: 0px;
|
|
583
|
+
right: 0px;
|
|
584
|
+
}
|
|
585
|
+
.inset-y-0 {
|
|
586
|
+
top: 0px;
|
|
587
|
+
bottom: 0px;
|
|
588
|
+
}
|
|
589
|
+
.bottom-0 {
|
|
590
|
+
bottom: 0px;
|
|
591
|
+
}
|
|
592
|
+
.left-0 {
|
|
593
|
+
left: 0px;
|
|
594
|
+
}
|
|
595
|
+
.left-2 {
|
|
596
|
+
left: 0.5rem;
|
|
597
|
+
}
|
|
598
|
+
.right-0 {
|
|
599
|
+
right: 0px;
|
|
600
|
+
}
|
|
601
|
+
.right-4 {
|
|
602
|
+
right: 1rem;
|
|
603
|
+
}
|
|
604
|
+
.top-0 {
|
|
605
|
+
top: 0px;
|
|
606
|
+
}
|
|
607
|
+
.top-4 {
|
|
608
|
+
top: 1rem;
|
|
609
|
+
}
|
|
610
|
+
.z-50 {
|
|
611
|
+
z-index: 50;
|
|
612
|
+
}
|
|
613
|
+
.-mx-1 {
|
|
614
|
+
margin-left: -0.25rem;
|
|
615
|
+
margin-right: -0.25rem;
|
|
616
|
+
}
|
|
617
|
+
.my-1 {
|
|
618
|
+
margin-top: 0.25rem;
|
|
619
|
+
margin-bottom: 0.25rem;
|
|
620
|
+
}
|
|
621
|
+
.ml-auto {
|
|
622
|
+
margin-left: auto;
|
|
623
|
+
}
|
|
624
|
+
.mr-2 {
|
|
625
|
+
margin-right: 0.5rem;
|
|
626
|
+
}
|
|
627
|
+
.mt-auto {
|
|
628
|
+
margin-top: auto;
|
|
629
|
+
}
|
|
630
|
+
.flex {
|
|
631
|
+
display: flex;
|
|
632
|
+
}
|
|
542
633
|
.inline-flex {
|
|
543
634
|
display: inline-flex;
|
|
544
635
|
}
|
|
636
|
+
.grid {
|
|
637
|
+
display: grid;
|
|
638
|
+
}
|
|
639
|
+
.hidden {
|
|
640
|
+
display: none;
|
|
641
|
+
}
|
|
642
|
+
.aspect-square {
|
|
643
|
+
aspect-ratio: 1 / 1;
|
|
644
|
+
}
|
|
645
|
+
.size-2 {
|
|
646
|
+
width: 0.5rem;
|
|
647
|
+
height: 0.5rem;
|
|
648
|
+
}
|
|
649
|
+
.size-3\.5 {
|
|
650
|
+
width: 0.875rem;
|
|
651
|
+
height: 0.875rem;
|
|
652
|
+
}
|
|
653
|
+
.size-4 {
|
|
654
|
+
width: 1rem;
|
|
655
|
+
height: 1rem;
|
|
656
|
+
}
|
|
657
|
+
.size-8 {
|
|
658
|
+
width: 2rem;
|
|
659
|
+
height: 2rem;
|
|
660
|
+
}
|
|
661
|
+
.size-full {
|
|
662
|
+
width: 100%;
|
|
663
|
+
height: 100%;
|
|
664
|
+
}
|
|
545
665
|
.h-10 {
|
|
546
666
|
height: 2.5rem;
|
|
547
667
|
}
|
|
548
668
|
.h-11 {
|
|
549
669
|
height: 2.75rem;
|
|
550
670
|
}
|
|
671
|
+
.h-16 {
|
|
672
|
+
height: 4rem;
|
|
673
|
+
}
|
|
674
|
+
.h-4 {
|
|
675
|
+
height: 1rem;
|
|
676
|
+
}
|
|
677
|
+
.h-5 {
|
|
678
|
+
height: 1.25rem;
|
|
679
|
+
}
|
|
680
|
+
.h-8 {
|
|
681
|
+
height: 2rem;
|
|
682
|
+
}
|
|
551
683
|
.h-9 {
|
|
552
684
|
height: 2.25rem;
|
|
553
685
|
}
|
|
686
|
+
.h-auto {
|
|
687
|
+
height: auto;
|
|
688
|
+
}
|
|
689
|
+
.h-full {
|
|
690
|
+
height: 100%;
|
|
691
|
+
}
|
|
692
|
+
.h-px {
|
|
693
|
+
height: 1px;
|
|
694
|
+
}
|
|
554
695
|
.w-10 {
|
|
555
696
|
width: 2.5rem;
|
|
556
697
|
}
|
|
698
|
+
.w-3\/4 {
|
|
699
|
+
width: 75%;
|
|
700
|
+
}
|
|
701
|
+
.w-4 {
|
|
702
|
+
width: 1rem;
|
|
703
|
+
}
|
|
704
|
+
.w-5 {
|
|
705
|
+
width: 1.25rem;
|
|
706
|
+
}
|
|
707
|
+
.w-56 {
|
|
708
|
+
width: 14rem;
|
|
709
|
+
}
|
|
710
|
+
.w-8 {
|
|
711
|
+
width: 2rem;
|
|
712
|
+
}
|
|
713
|
+
.w-full {
|
|
714
|
+
width: 100%;
|
|
715
|
+
}
|
|
716
|
+
.min-w-\[8rem\] {
|
|
717
|
+
min-width: 8rem;
|
|
718
|
+
}
|
|
719
|
+
.shrink-0 {
|
|
720
|
+
flex-shrink: 0;
|
|
721
|
+
}
|
|
722
|
+
.cursor-default {
|
|
723
|
+
cursor: default;
|
|
724
|
+
}
|
|
725
|
+
.cursor-not-allowed {
|
|
726
|
+
cursor: not-allowed;
|
|
727
|
+
}
|
|
728
|
+
.select-none {
|
|
729
|
+
-webkit-user-select: none;
|
|
730
|
+
-moz-user-select: none;
|
|
731
|
+
user-select: none;
|
|
732
|
+
}
|
|
733
|
+
.flex-col {
|
|
734
|
+
flex-direction: column;
|
|
735
|
+
}
|
|
557
736
|
.items-center {
|
|
558
737
|
align-items: center;
|
|
559
738
|
}
|
|
560
739
|
.justify-center {
|
|
561
740
|
justify-content: center;
|
|
562
741
|
}
|
|
742
|
+
.justify-between {
|
|
743
|
+
justify-content: space-between;
|
|
744
|
+
}
|
|
745
|
+
.gap-1\.5 {
|
|
746
|
+
gap: 0.375rem;
|
|
747
|
+
}
|
|
748
|
+
.gap-2 {
|
|
749
|
+
gap: 0.5rem;
|
|
750
|
+
}
|
|
751
|
+
.gap-4 {
|
|
752
|
+
gap: 1rem;
|
|
753
|
+
}
|
|
754
|
+
.gap-6 {
|
|
755
|
+
gap: 1.5rem;
|
|
756
|
+
}
|
|
757
|
+
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
|
|
758
|
+
--tw-space-y-reverse: 0;
|
|
759
|
+
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
|
760
|
+
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|
|
761
|
+
}
|
|
762
|
+
.overflow-hidden {
|
|
763
|
+
overflow: hidden;
|
|
764
|
+
}
|
|
765
|
+
.overflow-y-auto {
|
|
766
|
+
overflow-y: auto;
|
|
767
|
+
}
|
|
768
|
+
.overflow-x-hidden {
|
|
769
|
+
overflow-x: hidden;
|
|
770
|
+
}
|
|
563
771
|
.whitespace-nowrap {
|
|
564
772
|
white-space: nowrap;
|
|
565
773
|
}
|
|
774
|
+
.rounded-full {
|
|
775
|
+
border-radius: 9999px;
|
|
776
|
+
}
|
|
566
777
|
.rounded-md {
|
|
567
778
|
border-radius: calc(var(--radius) - 2px);
|
|
568
779
|
}
|
|
780
|
+
.rounded-sm {
|
|
781
|
+
border-radius: calc(var(--radius) - 4px);
|
|
782
|
+
}
|
|
569
783
|
.border {
|
|
570
784
|
border-width: 1px;
|
|
571
785
|
}
|
|
786
|
+
.border-b {
|
|
787
|
+
border-bottom-width: 1px;
|
|
788
|
+
}
|
|
789
|
+
.border-l {
|
|
790
|
+
border-left-width: 1px;
|
|
791
|
+
}
|
|
792
|
+
.border-r {
|
|
793
|
+
border-right-width: 1px;
|
|
794
|
+
}
|
|
795
|
+
.border-t {
|
|
796
|
+
border-top-width: 1px;
|
|
797
|
+
}
|
|
572
798
|
.border-input {
|
|
573
799
|
border-color: hsl(var(--input));
|
|
574
800
|
}
|
|
575
801
|
.bg-background {
|
|
576
802
|
background-color: hsl(var(--background));
|
|
577
803
|
}
|
|
804
|
+
.bg-black\/50 {
|
|
805
|
+
background-color: rgb(0 0 0 / 0.5);
|
|
806
|
+
}
|
|
807
|
+
.bg-border {
|
|
808
|
+
background-color: hsl(var(--border));
|
|
809
|
+
}
|
|
578
810
|
.bg-destructive {
|
|
579
811
|
background-color: hsl(var(--destructive));
|
|
580
812
|
}
|
|
813
|
+
.bg-muted {
|
|
814
|
+
background-color: hsl(var(--muted));
|
|
815
|
+
}
|
|
816
|
+
.bg-popover {
|
|
817
|
+
background-color: hsl(var(--popover));
|
|
818
|
+
}
|
|
581
819
|
.bg-primary {
|
|
582
820
|
background-color: hsl(var(--primary));
|
|
583
821
|
}
|
|
584
822
|
.bg-secondary {
|
|
585
823
|
background-color: hsl(var(--secondary));
|
|
586
824
|
}
|
|
825
|
+
.fill-current {
|
|
826
|
+
fill: currentColor;
|
|
827
|
+
}
|
|
828
|
+
.p-1 {
|
|
829
|
+
padding: 0.25rem;
|
|
830
|
+
}
|
|
831
|
+
.p-4 {
|
|
832
|
+
padding: 1rem;
|
|
833
|
+
}
|
|
834
|
+
.px-2 {
|
|
835
|
+
padding-left: 0.5rem;
|
|
836
|
+
padding-right: 0.5rem;
|
|
837
|
+
}
|
|
587
838
|
.px-3 {
|
|
588
839
|
padding-left: 0.75rem;
|
|
589
840
|
padding-right: 0.75rem;
|
|
@@ -596,20 +847,69 @@ video {
|
|
|
596
847
|
padding-left: 2rem;
|
|
597
848
|
padding-right: 2rem;
|
|
598
849
|
}
|
|
850
|
+
.py-1\.5 {
|
|
851
|
+
padding-top: 0.375rem;
|
|
852
|
+
padding-bottom: 0.375rem;
|
|
853
|
+
}
|
|
599
854
|
.py-2 {
|
|
600
855
|
padding-top: 0.5rem;
|
|
601
856
|
padding-bottom: 0.5rem;
|
|
602
857
|
}
|
|
858
|
+
.py-6 {
|
|
859
|
+
padding-top: 1.5rem;
|
|
860
|
+
padding-bottom: 1.5rem;
|
|
861
|
+
}
|
|
862
|
+
.pl-8 {
|
|
863
|
+
padding-left: 2rem;
|
|
864
|
+
}
|
|
865
|
+
.pr-0 {
|
|
866
|
+
padding-right: 0px;
|
|
867
|
+
}
|
|
868
|
+
.pr-2 {
|
|
869
|
+
padding-right: 0.5rem;
|
|
870
|
+
}
|
|
603
871
|
.text-sm {
|
|
604
872
|
font-size: 0.875rem;
|
|
605
873
|
line-height: 1.25rem;
|
|
606
874
|
}
|
|
875
|
+
.text-xl {
|
|
876
|
+
font-size: 1.25rem;
|
|
877
|
+
line-height: 1.75rem;
|
|
878
|
+
}
|
|
879
|
+
.text-xs {
|
|
880
|
+
font-size: 0.75rem;
|
|
881
|
+
line-height: 1rem;
|
|
882
|
+
}
|
|
883
|
+
.font-bold {
|
|
884
|
+
font-weight: 700;
|
|
885
|
+
}
|
|
607
886
|
.font-medium {
|
|
608
887
|
font-weight: 500;
|
|
609
888
|
}
|
|
889
|
+
.font-normal {
|
|
890
|
+
font-weight: 400;
|
|
891
|
+
}
|
|
892
|
+
.font-semibold {
|
|
893
|
+
font-weight: 600;
|
|
894
|
+
}
|
|
895
|
+
.leading-none {
|
|
896
|
+
line-height: 1;
|
|
897
|
+
}
|
|
898
|
+
.tracking-widest {
|
|
899
|
+
letter-spacing: 0.1em;
|
|
900
|
+
}
|
|
610
901
|
.text-destructive-foreground {
|
|
611
902
|
color: hsl(var(--destructive-foreground));
|
|
612
903
|
}
|
|
904
|
+
.text-foreground {
|
|
905
|
+
color: hsl(var(--foreground));
|
|
906
|
+
}
|
|
907
|
+
.text-muted-foreground {
|
|
908
|
+
color: hsl(var(--muted-foreground));
|
|
909
|
+
}
|
|
910
|
+
.text-popover-foreground {
|
|
911
|
+
color: hsl(var(--popover-foreground));
|
|
912
|
+
}
|
|
613
913
|
.text-primary {
|
|
614
914
|
color: hsl(var(--primary));
|
|
615
915
|
}
|
|
@@ -622,17 +922,48 @@ video {
|
|
|
622
922
|
.underline-offset-4 {
|
|
623
923
|
text-underline-offset: 4px;
|
|
624
924
|
}
|
|
925
|
+
.opacity-70 {
|
|
926
|
+
opacity: 0.7;
|
|
927
|
+
}
|
|
928
|
+
.opacity-80 {
|
|
929
|
+
opacity: 0.8;
|
|
930
|
+
}
|
|
931
|
+
.shadow-lg {
|
|
932
|
+
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
933
|
+
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
934
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
935
|
+
}
|
|
936
|
+
.shadow-md {
|
|
937
|
+
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
938
|
+
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
|
|
939
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
940
|
+
}
|
|
625
941
|
.outline {
|
|
626
942
|
outline-style: solid;
|
|
627
943
|
}
|
|
628
944
|
.ring-offset-background {
|
|
629
945
|
--tw-ring-offset-color: hsl(var(--background));
|
|
630
946
|
}
|
|
947
|
+
.transition {
|
|
948
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
949
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
950
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
951
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
952
|
+
transition-duration: 150ms;
|
|
953
|
+
}
|
|
631
954
|
.transition-colors {
|
|
632
955
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
633
956
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
634
957
|
transition-duration: 150ms;
|
|
635
958
|
}
|
|
959
|
+
.transition-opacity {
|
|
960
|
+
transition-property: opacity;
|
|
961
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
962
|
+
transition-duration: 150ms;
|
|
963
|
+
}
|
|
964
|
+
.ease-in-out {
|
|
965
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
966
|
+
}
|
|
636
967
|
@keyframes enter {
|
|
637
968
|
|
|
638
969
|
from {
|
|
@@ -647,6 +978,9 @@ video {
|
|
|
647
978
|
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
|
|
648
979
|
}
|
|
649
980
|
}
|
|
981
|
+
.ease-in-out {
|
|
982
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
983
|
+
}
|
|
650
984
|
.hover\:bg-accent:hover {
|
|
651
985
|
background-color: hsl(var(--accent));
|
|
652
986
|
}
|
|
@@ -662,9 +996,32 @@ video {
|
|
|
662
996
|
.hover\:text-accent-foreground:hover {
|
|
663
997
|
color: hsl(var(--accent-foreground));
|
|
664
998
|
}
|
|
999
|
+
.hover\:text-primary:hover {
|
|
1000
|
+
color: hsl(var(--primary));
|
|
1001
|
+
}
|
|
665
1002
|
.hover\:underline:hover {
|
|
666
1003
|
text-decoration-line: underline;
|
|
667
1004
|
}
|
|
1005
|
+
.hover\:opacity-100:hover {
|
|
1006
|
+
opacity: 1;
|
|
1007
|
+
}
|
|
1008
|
+
.focus\:bg-accent:focus {
|
|
1009
|
+
background-color: hsl(var(--accent));
|
|
1010
|
+
}
|
|
1011
|
+
.focus\:text-accent-foreground:focus {
|
|
1012
|
+
color: hsl(var(--accent-foreground));
|
|
1013
|
+
}
|
|
1014
|
+
.focus\:ring-2:focus {
|
|
1015
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1016
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1017
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1018
|
+
}
|
|
1019
|
+
.focus\:ring-ring:focus {
|
|
1020
|
+
--tw-ring-color: hsl(var(--ring));
|
|
1021
|
+
}
|
|
1022
|
+
.focus\:ring-offset-2:focus {
|
|
1023
|
+
--tw-ring-offset-width: 2px;
|
|
1024
|
+
}
|
|
668
1025
|
.focus-visible\:outline-none:focus-visible {
|
|
669
1026
|
outline: 2px solid transparent;
|
|
670
1027
|
outline-offset: 2px;
|
|
@@ -685,4 +1042,146 @@ video {
|
|
|
685
1042
|
}
|
|
686
1043
|
.disabled\:opacity-50:disabled {
|
|
687
1044
|
opacity: 0.5;
|
|
1045
|
+
}
|
|
1046
|
+
.data-\[disabled\]\:pointer-events-none[data-disabled] {
|
|
1047
|
+
pointer-events: none;
|
|
1048
|
+
}
|
|
1049
|
+
.data-\[state\=open\]\:bg-accent[data-state="open"] {
|
|
1050
|
+
background-color: hsl(var(--accent));
|
|
1051
|
+
}
|
|
1052
|
+
.data-\[state\=open\]\:bg-secondary[data-state="open"] {
|
|
1053
|
+
background-color: hsl(var(--secondary));
|
|
1054
|
+
}
|
|
1055
|
+
.data-\[inset\]\:pl-8[data-inset] {
|
|
1056
|
+
padding-left: 2rem;
|
|
1057
|
+
}
|
|
1058
|
+
.data-\[state\=open\]\:text-accent-foreground[data-state="open"] {
|
|
1059
|
+
color: hsl(var(--accent-foreground));
|
|
1060
|
+
}
|
|
1061
|
+
.data-\[variant\=destructive\]\:text-destructive[data-variant="destructive"] {
|
|
1062
|
+
color: hsl(var(--destructive));
|
|
1063
|
+
}
|
|
1064
|
+
.data-\[disabled\]\:opacity-50[data-disabled] {
|
|
1065
|
+
opacity: 0.5;
|
|
1066
|
+
}
|
|
1067
|
+
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
1068
|
+
transition-duration: 300ms;
|
|
1069
|
+
}
|
|
1070
|
+
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
1071
|
+
transition-duration: 500ms;
|
|
1072
|
+
}
|
|
1073
|
+
.data-\[state\=open\]\:animate-in[data-state="open"] {
|
|
1074
|
+
animation-name: enter;
|
|
1075
|
+
animation-duration: 150ms;
|
|
1076
|
+
--tw-enter-opacity: initial;
|
|
1077
|
+
--tw-enter-scale: initial;
|
|
1078
|
+
--tw-enter-rotate: initial;
|
|
1079
|
+
--tw-enter-translate-x: initial;
|
|
1080
|
+
--tw-enter-translate-y: initial;
|
|
1081
|
+
}
|
|
1082
|
+
.data-\[state\=closed\]\:animate-out[data-state="closed"] {
|
|
1083
|
+
animation-name: exit;
|
|
1084
|
+
animation-duration: 150ms;
|
|
1085
|
+
--tw-exit-opacity: initial;
|
|
1086
|
+
--tw-exit-scale: initial;
|
|
1087
|
+
--tw-exit-rotate: initial;
|
|
1088
|
+
--tw-exit-translate-x: initial;
|
|
1089
|
+
--tw-exit-translate-y: initial;
|
|
1090
|
+
}
|
|
1091
|
+
.data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
|
|
1092
|
+
--tw-exit-opacity: 0;
|
|
1093
|
+
}
|
|
1094
|
+
.data-\[state\=open\]\:fade-in-0[data-state="open"] {
|
|
1095
|
+
--tw-enter-opacity: 0;
|
|
1096
|
+
}
|
|
1097
|
+
.data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
|
|
1098
|
+
--tw-exit-scale: .95;
|
|
1099
|
+
}
|
|
1100
|
+
.data-\[state\=open\]\:zoom-in-95[data-state="open"] {
|
|
1101
|
+
--tw-enter-scale: .95;
|
|
1102
|
+
}
|
|
1103
|
+
.data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] {
|
|
1104
|
+
--tw-enter-translate-y: -0.5rem;
|
|
1105
|
+
}
|
|
1106
|
+
.data-\[side\=left\]\:slide-in-from-right-2[data-side="left"] {
|
|
1107
|
+
--tw-enter-translate-x: 0.5rem;
|
|
1108
|
+
}
|
|
1109
|
+
.data-\[side\=right\]\:slide-in-from-left-2[data-side="right"] {
|
|
1110
|
+
--tw-enter-translate-x: -0.5rem;
|
|
1111
|
+
}
|
|
1112
|
+
.data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"] {
|
|
1113
|
+
--tw-enter-translate-y: 0.5rem;
|
|
1114
|
+
}
|
|
1115
|
+
.data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
|
|
1116
|
+
--tw-exit-translate-y: 100%;
|
|
1117
|
+
}
|
|
1118
|
+
.data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
|
|
1119
|
+
--tw-exit-translate-x: -100%;
|
|
1120
|
+
}
|
|
1121
|
+
.data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
|
|
1122
|
+
--tw-exit-translate-x: 100%;
|
|
1123
|
+
}
|
|
1124
|
+
.data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
|
|
1125
|
+
--tw-exit-translate-y: -100%;
|
|
1126
|
+
}
|
|
1127
|
+
.data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
|
|
1128
|
+
--tw-enter-translate-y: 100%;
|
|
1129
|
+
}
|
|
1130
|
+
.data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
|
|
1131
|
+
--tw-enter-translate-x: -100%;
|
|
1132
|
+
}
|
|
1133
|
+
.data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
|
|
1134
|
+
--tw-enter-translate-x: 100%;
|
|
1135
|
+
}
|
|
1136
|
+
.data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
|
|
1137
|
+
--tw-enter-translate-y: -100%;
|
|
1138
|
+
}
|
|
1139
|
+
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
1140
|
+
animation-duration: 300ms;
|
|
1141
|
+
}
|
|
1142
|
+
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
1143
|
+
animation-duration: 500ms;
|
|
1144
|
+
}
|
|
1145
|
+
.data-\[variant\=destructive\]\:focus\:bg-destructive\/10:focus[data-variant="destructive"] {
|
|
1146
|
+
background-color: hsl(var(--destructive) / 0.1);
|
|
1147
|
+
}
|
|
1148
|
+
.data-\[variant\=destructive\]\:focus\:text-destructive:focus[data-variant="destructive"] {
|
|
1149
|
+
color: hsl(var(--destructive));
|
|
1150
|
+
}
|
|
1151
|
+
.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:focus[data-variant="destructive"]:is(.dark *) {
|
|
1152
|
+
background-color: hsl(var(--destructive) / 0.2);
|
|
1153
|
+
}
|
|
1154
|
+
@media (min-width: 640px) {
|
|
1155
|
+
|
|
1156
|
+
.sm\:max-w-sm {
|
|
1157
|
+
max-width: 24rem;
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
@media (min-width: 768px) {
|
|
1161
|
+
|
|
1162
|
+
.md\:flex {
|
|
1163
|
+
display: flex;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
.md\:hidden {
|
|
1167
|
+
display: none;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.md\:px-6 {
|
|
1171
|
+
padding-left: 1.5rem;
|
|
1172
|
+
padding-right: 1.5rem;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*='size-']) {
|
|
1176
|
+
width: 1rem;
|
|
1177
|
+
height: 1rem;
|
|
1178
|
+
}
|
|
1179
|
+
.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*='text-']) {
|
|
1180
|
+
color: hsl(var(--muted-foreground));
|
|
1181
|
+
}
|
|
1182
|
+
.\[\&_svg\]\:pointer-events-none svg {
|
|
1183
|
+
pointer-events: none;
|
|
1184
|
+
}
|
|
1185
|
+
.\[\&_svg\]\:shrink-0 svg {
|
|
1186
|
+
flex-shrink: 0;
|
|
688
1187
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authdog/react-elements",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "^18.3.1"
|
|
6
6
|
},
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"@authdog/typescript-config": "0.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@radix-ui/react-
|
|
20
|
+
"@radix-ui/react-avatar": "^1.1.9",
|
|
21
|
+
"@radix-ui/react-dialog": "^1.1.13",
|
|
22
|
+
"@radix-ui/react-dropdown-menu": "^2.1.14",
|
|
23
|
+
"@radix-ui/react-slot": "^1.2.2",
|
|
21
24
|
"class-variance-authority": "^0.7.0",
|
|
22
25
|
"clsx": "^2.1.1",
|
|
23
26
|
"lucide-react": "^0.451.0",
|