galadrim-feedback 0.0.10 → 0.0.12
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 +15 -0
- package/dist/index.cjs.css +402 -30
- package/dist/index.cjs.js +460 -180
- package/dist/index.es.css +402 -30
- package/dist/index.es.js +463 -183
- package/dist/types/libs/backend-client/src/lib/api.d.ts +3 -3
- package/dist/types/src/App.d.ts +3 -1
- package/dist/types/src/components/atoms/avatars/Avatar.d.ts +3 -0
- package/dist/types/src/components/atoms/buttons/Button.d.ts +6 -0
- package/dist/types/src/components/atoms/buttons/CloseButton.d.ts +4 -0
- package/dist/types/src/components/atoms/buttons/CollapseButton.d.ts +4 -0
- package/dist/types/src/components/atoms/buttons/OpenFeedbackButton.d.ts +1 -0
- package/dist/types/src/components/atoms/buttons/PlusButton.d.ts +5 -0
- package/dist/types/src/components/atoms/icons/CommentIcon.d.ts +3 -0
- package/dist/types/src/components/atoms/inputs/Input.d.ts +7 -0
- package/dist/types/src/components/atoms/inputs/SearchInput.d.ts +4 -0
- package/dist/types/src/components/atoms/modals/ConnectionModal.d.ts +4 -0
- package/dist/types/src/components/atoms/modals/Modal.d.ts +6 -0
- package/dist/types/src/components/molecules/feedbacks/group/FeedbackList.d.ts +1 -0
- package/dist/types/src/components/molecules/feedbacks/group/FeedbackPins.d.ts +1 -0
- package/dist/types/src/components/molecules/feedbacks/item/FeedbackInput.d.ts +1 -0
- package/dist/types/src/components/molecules/feedbacks/item/FeedbackItemHovered.d.ts +4 -0
- package/dist/types/src/components/molecules/feedbacks/item/FeedbackItemSelected.d.ts +6 -0
- package/dist/types/src/components/molecules/feedbacks/item/FeedbackListItem.d.ts +4 -0
- package/dist/types/src/components/molecules/feedbacks/item/FeedbackPin.d.ts +4 -0
- package/dist/types/src/components/molecules/feedbacks/menu/MenuButton.d.ts +5 -0
- package/dist/types/src/components/molecules/feedbacks/menu/MenuItem.d.ts +4 -0
- package/dist/types/src/components/molecules/feedbacks/shared/FeedbackPositioner.d.ts +10 -0
- package/dist/types/src/components/molecules/feedbacks/shared/FeedbackTextArea.d.ts +8 -0
- package/dist/types/src/components/molecules/forms/SignInForm.d.ts +5 -0
- package/dist/types/src/components/molecules/forms/SignUpForm.d.ts +4 -0
- package/dist/types/src/components/molecules/replies/ReplyItem.d.ts +4 -0
- package/dist/types/src/components/organisms/Connection.d.ts +3 -0
- package/dist/types/src/components/organisms/Root.d.ts +2 -0
- package/dist/types/src/components/organisms/SideBar.d.ts +1 -0
- package/dist/types/src/contexts/FeedbackContext.d.ts +29 -0
- package/dist/types/src/services/auth.d.ts +5 -5
- package/dist/types/src/services/feedback.d.ts +10 -2
- package/dist/types/src/utils/getInitials.d.ts +4 -0
- package/libs/backend-client/src/lib/.openapi-generator/FILES +0 -1
- package/libs/backend-client/src/lib/api.ts +3 -3
- package/package.json +12 -10
- package/rollup.config.js +14 -0
- package/src/App.tsx +6 -3
- package/src/assets/dots-horizontal.svg +5 -0
- package/src/components/atoms/buttons/Button.tsx +37 -0
- package/src/components/atoms/buttons/CloseButton.tsx +20 -0
- package/src/components/atoms/buttons/CollapseButton.tsx +25 -0
- package/src/components/atoms/buttons/OpenFeedbackButton.tsx +25 -0
- package/src/components/atoms/icons/CommentIcon.tsx +7 -0
- package/src/{atoms → components/atoms}/inputs/Input.tsx +4 -2
- package/src/components/atoms/inputs/SearchInput.tsx +19 -0
- package/src/components/atoms/modals/ConnectionModal.tsx +16 -0
- package/src/components/molecules/feedbacks/group/FeedbackList.tsx +28 -0
- package/src/components/molecules/feedbacks/group/FeedbackPins.tsx +14 -0
- package/src/components/molecules/feedbacks/item/FeedbackInput.tsx +54 -0
- package/src/components/molecules/feedbacks/item/FeedbackItemHovered.tsx +24 -0
- package/src/components/molecules/feedbacks/item/FeedbackItemSelected.tsx +73 -0
- package/src/components/molecules/feedbacks/item/FeedbackListItem.tsx +46 -0
- package/src/components/molecules/feedbacks/item/FeedbackPin.tsx +49 -0
- package/src/components/molecules/feedbacks/menu/MenuButton.tsx +73 -0
- package/src/components/molecules/feedbacks/menu/MenuItem.tsx +16 -0
- package/src/components/molecules/feedbacks/shared/FeedbackPositioner.tsx +168 -0
- package/src/components/molecules/feedbacks/shared/FeedbackTextArea.tsx +100 -0
- package/src/components/molecules/forms/SignInForm.tsx +79 -0
- package/src/components/molecules/forms/SignUpForm.tsx +85 -0
- package/src/components/molecules/replies/ReplyItem.tsx +20 -0
- package/src/components/organisms/Connection.tsx +17 -0
- package/src/components/organisms/Root.tsx +15 -0
- package/src/components/organisms/SideBar.tsx +63 -0
- package/src/contexts/FeedbackContext.tsx +188 -0
- package/src/index.css +81 -17
- package/src/services/api.ts +6 -6
- package/src/services/auth.ts +10 -5
- package/src/services/feedback.ts +25 -2
- package/src/types/types.d.ts +13 -0
- package/src/utils/getInitials.ts +6 -0
- package/tailwind.config.js +27 -11
- package/dist/src/index.css +0 -123
- package/src/atoms/buttons/IconButton.tsx +0 -27
- package/src/atoms/buttons/PlusButton.tsx +0 -20
- package/src/atoms/icons/CommentIcon.tsx +0 -16
- package/src/molecules/feedbacks/FeedbackInput.tsx +0 -145
- package/src/molecules/feedbacks/FeedbackItem.tsx +0 -28
- package/src/molecules/feedbacks/FeedbackWrapper.tsx +0 -64
- package/src/molecules/forms/SignInForm.tsx +0 -26
- package/src/molecules/forms/SignUpForm.tsx +0 -42
- package/src/organism/Connection.tsx +0 -9
- package/src/organism/FeedbackRoot.tsx +0 -3
- package/src/organism/FeedbacksCanvas.tsx +0 -38
- package/src/organism/Overlay.tsx +0 -26
- package/src/organism/Root.tsx +0 -138
- package/src/organism/SideBar.tsx +0 -30
- /package/src/{atoms → components/atoms}/avatars/Avatar.tsx +0 -0
- /package/src/{atoms → components/atoms}/modals/Modal.tsx +0 -0
package/README.md
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Installation
|
|
2
|
+
|
|
3
|
+
yarn add galadrim-feedback
|
|
4
|
+
|
|
5
|
+
ajouter à tailwind.config.js ou le créer
|
|
6
|
+
"./node\*modules/galadrim-feedback/\*\*/\_.{js,ts,jsx,tsx}",
|
|
7
|
+
|
|
8
|
+
ajouter "babel-plugin-react-generate-property"
|
|
9
|
+
|
|
10
|
+
patch package babel-plugin-react-generate-property
|
|
11
|
+
|
|
12
|
+
const feedbackConfig = require("galadrim-feedback/tailwind.config");
|
|
13
|
+
const { merge } = require("lodash"); // Install lodash if not already installed
|
|
14
|
+
|
|
15
|
+
merge(feedbackConfig, {
|
package/dist/index.cjs.css
CHANGED
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
box-sizing: border-box; /* 1 */
|
|
118
118
|
border-width: 0; /* 2 */
|
|
119
119
|
border-style: solid; /* 2 */
|
|
120
|
-
border-color: #
|
|
120
|
+
border-color: #e5e7eb; /* 2 */
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
::before,
|
|
@@ -442,13 +442,13 @@ textarea {
|
|
|
442
442
|
|
|
443
443
|
input::-moz-placeholder, textarea::-moz-placeholder {
|
|
444
444
|
opacity: 1; /* 1 */
|
|
445
|
-
color: #
|
|
445
|
+
color: #9ca3af; /* 2 */
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
input::placeholder,
|
|
449
449
|
textarea::placeholder {
|
|
450
450
|
opacity: 1; /* 1 */
|
|
451
|
-
color: #
|
|
451
|
+
color: #9ca3af; /* 2 */
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
/*
|
|
@@ -505,36 +505,136 @@ video {
|
|
|
505
505
|
.absolute {
|
|
506
506
|
position: absolute;
|
|
507
507
|
}
|
|
508
|
+
.relative {
|
|
509
|
+
position: relative;
|
|
510
|
+
}
|
|
511
|
+
.bottom-4 {
|
|
512
|
+
bottom: 1rem;
|
|
513
|
+
}
|
|
514
|
+
.left-\[-32px\] {
|
|
515
|
+
left: -32px;
|
|
516
|
+
}
|
|
508
517
|
.right-0 {
|
|
509
518
|
right: 0px;
|
|
510
519
|
}
|
|
520
|
+
.right-2 {
|
|
521
|
+
right: 0.5rem;
|
|
522
|
+
}
|
|
523
|
+
.right-\[-320px\] {
|
|
524
|
+
right: -320px;
|
|
525
|
+
}
|
|
511
526
|
.top-0 {
|
|
512
527
|
top: 0px;
|
|
513
528
|
}
|
|
529
|
+
.top-8 {
|
|
530
|
+
top: 2rem;
|
|
531
|
+
}
|
|
532
|
+
.z-10 {
|
|
533
|
+
z-index: 10;
|
|
534
|
+
}
|
|
535
|
+
.z-20 {
|
|
536
|
+
z-index: 20;
|
|
537
|
+
}
|
|
514
538
|
.z-\[10000000\] {
|
|
515
539
|
z-index: 10000000;
|
|
516
540
|
}
|
|
541
|
+
.m-1 {
|
|
542
|
+
margin: 0.25rem;
|
|
543
|
+
}
|
|
544
|
+
.m-3 {
|
|
545
|
+
margin: 0.75rem;
|
|
546
|
+
}
|
|
547
|
+
.mb-12 {
|
|
548
|
+
margin-bottom: 3rem;
|
|
549
|
+
}
|
|
550
|
+
.mb-3 {
|
|
551
|
+
margin-bottom: 0.75rem;
|
|
552
|
+
}
|
|
553
|
+
.mb-4 {
|
|
554
|
+
margin-bottom: 1rem;
|
|
555
|
+
}
|
|
556
|
+
.mb-\[6px\] {
|
|
557
|
+
margin-bottom: 6px;
|
|
558
|
+
}
|
|
559
|
+
.mt-1 {
|
|
560
|
+
margin-top: 0.25rem;
|
|
561
|
+
}
|
|
562
|
+
.mt-2 {
|
|
563
|
+
margin-top: 0.5rem;
|
|
564
|
+
}
|
|
565
|
+
.mt-4 {
|
|
566
|
+
margin-top: 1rem;
|
|
567
|
+
}
|
|
568
|
+
.line-clamp-2 {
|
|
569
|
+
overflow: hidden;
|
|
570
|
+
display: -webkit-box;
|
|
571
|
+
-webkit-box-orient: vertical;
|
|
572
|
+
-webkit-line-clamp: 2;
|
|
573
|
+
}
|
|
517
574
|
.flex {
|
|
518
575
|
display: flex;
|
|
519
576
|
}
|
|
520
577
|
.h-10 {
|
|
521
578
|
height: 2.5rem;
|
|
522
579
|
}
|
|
580
|
+
.h-16 {
|
|
581
|
+
height: 4rem;
|
|
582
|
+
}
|
|
583
|
+
.h-4 {
|
|
584
|
+
height: 1rem;
|
|
585
|
+
}
|
|
586
|
+
.h-5 {
|
|
587
|
+
height: 1.25rem;
|
|
588
|
+
}
|
|
523
589
|
.h-6 {
|
|
524
590
|
height: 1.5rem;
|
|
525
591
|
}
|
|
592
|
+
.h-\[43px\] {
|
|
593
|
+
height: 43px;
|
|
594
|
+
}
|
|
595
|
+
.h-full {
|
|
596
|
+
height: 100%;
|
|
597
|
+
}
|
|
526
598
|
.h-screen {
|
|
527
599
|
height: 100vh;
|
|
528
600
|
}
|
|
601
|
+
.max-h-\[220px\] {
|
|
602
|
+
max-height: 220px;
|
|
603
|
+
}
|
|
529
604
|
.w-10 {
|
|
530
605
|
width: 2.5rem;
|
|
531
606
|
}
|
|
607
|
+
.w-16 {
|
|
608
|
+
width: 4rem;
|
|
609
|
+
}
|
|
610
|
+
.w-4 {
|
|
611
|
+
width: 1rem;
|
|
612
|
+
}
|
|
613
|
+
.w-5 {
|
|
614
|
+
width: 1.25rem;
|
|
615
|
+
}
|
|
532
616
|
.w-6 {
|
|
533
617
|
width: 1.5rem;
|
|
534
618
|
}
|
|
619
|
+
.w-\[240px\] {
|
|
620
|
+
width: 240px;
|
|
621
|
+
}
|
|
622
|
+
.w-\[320px\] {
|
|
623
|
+
width: 320px;
|
|
624
|
+
}
|
|
535
625
|
.w-\[400px\] {
|
|
536
626
|
width: 400px;
|
|
537
627
|
}
|
|
628
|
+
.w-full {
|
|
629
|
+
width: 100%;
|
|
630
|
+
}
|
|
631
|
+
.w-min {
|
|
632
|
+
width: -moz-min-content;
|
|
633
|
+
width: min-content;
|
|
634
|
+
}
|
|
635
|
+
.flex-1 {
|
|
636
|
+
flex: 1 1 0%;
|
|
637
|
+
}
|
|
538
638
|
.flex-shrink-0 {
|
|
539
639
|
flex-shrink: 0;
|
|
540
640
|
}
|
|
@@ -547,17 +647,53 @@ video {
|
|
|
547
647
|
.flex-col {
|
|
548
648
|
flex-direction: column;
|
|
549
649
|
}
|
|
650
|
+
.items-start {
|
|
651
|
+
align-items: flex-start;
|
|
652
|
+
}
|
|
550
653
|
.items-center {
|
|
551
654
|
align-items: center;
|
|
552
655
|
}
|
|
656
|
+
.items-baseline {
|
|
657
|
+
align-items: baseline;
|
|
658
|
+
}
|
|
659
|
+
.justify-start {
|
|
660
|
+
justify-content: flex-start;
|
|
661
|
+
}
|
|
662
|
+
.justify-center {
|
|
663
|
+
justify-content: center;
|
|
664
|
+
}
|
|
553
665
|
.justify-between {
|
|
554
666
|
justify-content: space-between;
|
|
555
667
|
}
|
|
668
|
+
.gap-1 {
|
|
669
|
+
gap: 0.25rem;
|
|
670
|
+
}
|
|
556
671
|
.gap-2 {
|
|
557
672
|
gap: 0.5rem;
|
|
558
673
|
}
|
|
559
|
-
.
|
|
560
|
-
|
|
674
|
+
.gap-3 {
|
|
675
|
+
gap: 0.75rem;
|
|
676
|
+
}
|
|
677
|
+
.gap-4 {
|
|
678
|
+
gap: 1rem;
|
|
679
|
+
}
|
|
680
|
+
.overflow-hidden {
|
|
681
|
+
overflow: hidden;
|
|
682
|
+
}
|
|
683
|
+
.overflow-y-auto {
|
|
684
|
+
overflow-y: auto;
|
|
685
|
+
}
|
|
686
|
+
.overflow-x-hidden {
|
|
687
|
+
overflow-x: hidden;
|
|
688
|
+
}
|
|
689
|
+
.whitespace-nowrap {
|
|
690
|
+
white-space: nowrap;
|
|
691
|
+
}
|
|
692
|
+
.rounded {
|
|
693
|
+
border-radius: 0.25rem;
|
|
694
|
+
}
|
|
695
|
+
.rounded-\[12px\] {
|
|
696
|
+
border-radius: 12px;
|
|
561
697
|
}
|
|
562
698
|
.rounded-full {
|
|
563
699
|
border-radius: 9999px;
|
|
@@ -565,20 +701,40 @@ video {
|
|
|
565
701
|
.rounded-lg {
|
|
566
702
|
border-radius: 0.5rem;
|
|
567
703
|
}
|
|
568
|
-
.
|
|
569
|
-
border-
|
|
704
|
+
.border {
|
|
705
|
+
border-width: 1px;
|
|
706
|
+
}
|
|
707
|
+
.border-none {
|
|
708
|
+
border-style: none;
|
|
570
709
|
}
|
|
571
|
-
.border-
|
|
572
|
-
border-
|
|
710
|
+
.border-gray-feedback-400 {
|
|
711
|
+
--tw-border-opacity: 1;
|
|
712
|
+
border-color: rgb(164 167 174 / var(--tw-border-opacity));
|
|
573
713
|
}
|
|
574
|
-
.border-gray-
|
|
714
|
+
.border-gray-feedback-500 {
|
|
575
715
|
--tw-border-opacity: 1;
|
|
576
|
-
border-color: rgb(
|
|
716
|
+
border-color: rgb(113 118 128 / var(--tw-border-opacity));
|
|
717
|
+
}
|
|
718
|
+
.bg-blue-500 {
|
|
719
|
+
--tw-bg-opacity: 1;
|
|
720
|
+
background-color: rgb(0 133 255 / var(--tw-bg-opacity));
|
|
577
721
|
}
|
|
578
|
-
.bg-gray-
|
|
722
|
+
.bg-gray-feedback-700 {
|
|
723
|
+
--tw-bg-opacity: 1;
|
|
724
|
+
background-color: rgb(65 70 81 / var(--tw-bg-opacity));
|
|
725
|
+
}
|
|
726
|
+
.bg-gray-feedback-750 {
|
|
579
727
|
--tw-bg-opacity: 1;
|
|
580
728
|
background-color: rgb(52 61 75 / var(--tw-bg-opacity));
|
|
581
729
|
}
|
|
730
|
+
.bg-gray-feedback-800 {
|
|
731
|
+
--tw-bg-opacity: 1;
|
|
732
|
+
background-color: rgb(37 43 55 / var(--tw-bg-opacity));
|
|
733
|
+
}
|
|
734
|
+
.bg-primary-feedback-600 {
|
|
735
|
+
--tw-bg-opacity: 1;
|
|
736
|
+
background-color: rgb(2 106 208 / var(--tw-bg-opacity));
|
|
737
|
+
}
|
|
582
738
|
.bg-white {
|
|
583
739
|
--tw-bg-opacity: 1;
|
|
584
740
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -586,55 +742,196 @@ video {
|
|
|
586
742
|
.p-2 {
|
|
587
743
|
padding: 0.5rem;
|
|
588
744
|
}
|
|
745
|
+
.p-3 {
|
|
746
|
+
padding: 0.75rem;
|
|
747
|
+
}
|
|
748
|
+
.p-8 {
|
|
749
|
+
padding: 2rem;
|
|
750
|
+
}
|
|
751
|
+
.px-2 {
|
|
752
|
+
padding-left: 0.5rem;
|
|
753
|
+
padding-right: 0.5rem;
|
|
754
|
+
}
|
|
755
|
+
.px-3 {
|
|
756
|
+
padding-left: 0.75rem;
|
|
757
|
+
padding-right: 0.75rem;
|
|
758
|
+
}
|
|
589
759
|
.px-4 {
|
|
590
760
|
padding-left: 1rem;
|
|
591
761
|
padding-right: 1rem;
|
|
592
762
|
}
|
|
763
|
+
.py-1 {
|
|
764
|
+
padding-top: 0.25rem;
|
|
765
|
+
padding-bottom: 0.25rem;
|
|
766
|
+
}
|
|
593
767
|
.py-2 {
|
|
594
768
|
padding-top: 0.5rem;
|
|
595
769
|
padding-bottom: 0.5rem;
|
|
596
770
|
}
|
|
597
|
-
.
|
|
771
|
+
.py-4 {
|
|
772
|
+
padding-top: 1rem;
|
|
773
|
+
padding-bottom: 1rem;
|
|
774
|
+
}
|
|
775
|
+
.pr-6 {
|
|
776
|
+
padding-right: 1.5rem;
|
|
777
|
+
}
|
|
778
|
+
.pt-8 {
|
|
779
|
+
padding-top: 2rem;
|
|
780
|
+
}
|
|
781
|
+
.text-center {
|
|
782
|
+
text-align: center;
|
|
783
|
+
}
|
|
784
|
+
.text-3xl {
|
|
785
|
+
font-size: 1.875rem;
|
|
786
|
+
line-height: 2.25rem;
|
|
787
|
+
}
|
|
788
|
+
.text-\[10px\] {
|
|
789
|
+
font-size: 10px;
|
|
790
|
+
}
|
|
791
|
+
.text-\[14px\] {
|
|
792
|
+
font-size: 14px;
|
|
793
|
+
}
|
|
794
|
+
.text-\[16px\] {
|
|
795
|
+
font-size: 16px;
|
|
796
|
+
}
|
|
797
|
+
.text-base {
|
|
798
|
+
font-size: 1rem;
|
|
799
|
+
line-height: 1.5rem;
|
|
800
|
+
}
|
|
801
|
+
.text-sm {
|
|
802
|
+
font-size: 0.875rem;
|
|
803
|
+
line-height: 1.25rem;
|
|
804
|
+
}
|
|
805
|
+
.text-xs {
|
|
806
|
+
font-size: 0.75rem;
|
|
807
|
+
line-height: 1rem;
|
|
808
|
+
}
|
|
809
|
+
.font-bold {
|
|
810
|
+
font-weight: 700;
|
|
811
|
+
}
|
|
812
|
+
.font-medium {
|
|
598
813
|
font-weight: 500;
|
|
599
814
|
}
|
|
815
|
+
.font-semibold {
|
|
816
|
+
font-weight: 600;
|
|
817
|
+
}
|
|
818
|
+
.leading-5 {
|
|
819
|
+
line-height: 1.25rem;
|
|
820
|
+
}
|
|
821
|
+
.leading-\[12px\] {
|
|
822
|
+
line-height: 12px;
|
|
823
|
+
}
|
|
824
|
+
.text-black {
|
|
825
|
+
--tw-text-opacity: 1;
|
|
826
|
+
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
827
|
+
}
|
|
828
|
+
.text-gray-feedback-200 {
|
|
829
|
+
--tw-text-opacity: 1;
|
|
830
|
+
color: rgb(233 234 235 / var(--tw-text-opacity));
|
|
831
|
+
}
|
|
832
|
+
.text-gray-feedback-300 {
|
|
833
|
+
--tw-text-opacity: 1;
|
|
834
|
+
color: rgb(213 215 218 / var(--tw-text-opacity));
|
|
835
|
+
}
|
|
836
|
+
.text-gray-feedback-400 {
|
|
837
|
+
--tw-text-opacity: 1;
|
|
838
|
+
color: rgb(164 167 174 / var(--tw-text-opacity));
|
|
839
|
+
}
|
|
840
|
+
.text-gray-feedback-900 {
|
|
841
|
+
--tw-text-opacity: 1;
|
|
842
|
+
color: rgb(24 29 39 / var(--tw-text-opacity));
|
|
843
|
+
}
|
|
844
|
+
.text-primary-feedback-400 {
|
|
845
|
+
--tw-text-opacity: 1;
|
|
846
|
+
color: rgb(46 153 255 / var(--tw-text-opacity));
|
|
847
|
+
}
|
|
848
|
+
.text-red-500 {
|
|
849
|
+
--tw-text-opacity: 1;
|
|
850
|
+
color: rgb(255 36 98 / var(--tw-text-opacity));
|
|
851
|
+
}
|
|
600
852
|
.text-white {
|
|
601
853
|
--tw-text-opacity: 1;
|
|
602
854
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
603
855
|
}
|
|
856
|
+
.opacity-50 {
|
|
857
|
+
opacity: 0.5;
|
|
858
|
+
}
|
|
859
|
+
.outline-none {
|
|
860
|
+
outline: 2px solid transparent;
|
|
861
|
+
outline-offset: 2px;
|
|
862
|
+
}
|
|
604
863
|
.filter {
|
|
605
864
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
606
865
|
}
|
|
866
|
+
.transition {
|
|
867
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
868
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
869
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
870
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
871
|
+
transition-duration: 150ms;
|
|
872
|
+
}
|
|
873
|
+
.transition-all {
|
|
874
|
+
transition-property: all;
|
|
875
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
876
|
+
transition-duration: 150ms;
|
|
877
|
+
}
|
|
878
|
+
.ease-in-out {
|
|
879
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
880
|
+
}
|
|
607
881
|
|
|
608
|
-
.comment-cursor
|
|
609
|
-
|
|
882
|
+
body.comment-cursor,
|
|
883
|
+
body.comment-cursor
|
|
884
|
+
*:not(#feedback-sidebar):not(#feedback-sidebar *):not(.feedback-item):not(
|
|
885
|
+
.feedback-item *
|
|
886
|
+
):not(.comment-container *) {
|
|
887
|
+
/* cursor: url("https://galadrim-dashboard-client.s3.eu-west-3.amazonaws.com/comment.svg")
|
|
610
888
|
0 24,
|
|
611
|
-
auto !important;
|
|
612
|
-
|
|
889
|
+
auto !important; */
|
|
890
|
+
cursor: url("/feedback/comment.svg") 0 24, auto !important;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
body.comment-cursor .feedback-sidebar,
|
|
894
|
+
body.comment-cursor .comment-container div {
|
|
895
|
+
cursor: auto !important;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.scrollbar-hide {
|
|
899
|
+
-ms-overflow-style: none;
|
|
900
|
+
scrollbar-width: none;
|
|
901
|
+
}
|
|
902
|
+
.scrollbar-hide::-webkit-scrollbar {
|
|
903
|
+
display: none;
|
|
613
904
|
}
|
|
614
905
|
|
|
906
|
+
.scrollbar-dark {
|
|
907
|
+
scrollbar-color: #717680 #343d4b;
|
|
908
|
+
scrollbar-width: thin;
|
|
909
|
+
}
|
|
615
910
|
.comment-icon {
|
|
616
911
|
fill: #343d4b;
|
|
617
912
|
animation: iconOpening 0.3s ease forwards;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
.comment-icon-active {
|
|
621
|
-
transform: scale(2) translate(6px, 6px) !important;
|
|
913
|
+
background-color: #0085ff;
|
|
914
|
+
border-radius: 50% 50% 50% 4px;
|
|
622
915
|
}
|
|
623
916
|
|
|
624
917
|
@keyframes iconOpening {
|
|
625
918
|
from {
|
|
626
|
-
|
|
919
|
+
width: 24px;
|
|
920
|
+
height: 24px;
|
|
627
921
|
}
|
|
628
922
|
to {
|
|
629
|
-
|
|
923
|
+
width: 48px;
|
|
924
|
+
height: 48px;
|
|
630
925
|
}
|
|
631
926
|
}
|
|
632
927
|
|
|
633
928
|
.comment-container {
|
|
929
|
+
position: relative;
|
|
634
930
|
display: flex;
|
|
635
931
|
flex-direction: row;
|
|
932
|
+
align-items: start;
|
|
636
933
|
min-height: 48px;
|
|
637
|
-
width:
|
|
934
|
+
width: 348px;
|
|
638
935
|
gap: 32px;
|
|
639
936
|
}
|
|
640
937
|
|
|
@@ -645,7 +942,7 @@ video {
|
|
|
645
942
|
background-color: #343d4b;
|
|
646
943
|
border-radius: 8px;
|
|
647
944
|
min-height: 48px;
|
|
648
|
-
|
|
945
|
+
flex-grow: 1;
|
|
649
946
|
}
|
|
650
947
|
|
|
651
948
|
.comment-input-container-opening {
|
|
@@ -665,7 +962,7 @@ video {
|
|
|
665
962
|
background-color: #343d4b;
|
|
666
963
|
border-radius: 8px;
|
|
667
964
|
min-height: 64px;
|
|
668
|
-
|
|
965
|
+
flex-grow: 1;
|
|
669
966
|
}
|
|
670
967
|
|
|
671
968
|
textarea {
|
|
@@ -684,7 +981,7 @@ textarea {
|
|
|
684
981
|
}
|
|
685
982
|
|
|
686
983
|
.comment-input-filled {
|
|
687
|
-
width:
|
|
984
|
+
width: 100%;
|
|
688
985
|
min-height: 60px;
|
|
689
986
|
padding: 14px 14px;
|
|
690
987
|
}
|
|
@@ -723,12 +1020,87 @@ textarea {
|
|
|
723
1020
|
|
|
724
1021
|
.feedback-item {
|
|
725
1022
|
display: flex;
|
|
726
|
-
align-items:
|
|
727
|
-
gap:
|
|
728
|
-
|
|
1023
|
+
align-items: start;
|
|
1024
|
+
gap: 12px;
|
|
1025
|
+
width: 48px;
|
|
1026
|
+
height: auto;
|
|
1027
|
+
max-height: 48px;
|
|
729
1028
|
background-color: #343d4b;
|
|
1029
|
+
border-radius: 24px 24px 24px 4px;
|
|
1030
|
+
overflow: hidden;
|
|
1031
|
+
cursor: pointer !important;
|
|
1032
|
+
transition: all 0.25s ease-in-out;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.feedback-item:hover:not(.feedback-item.selected) {
|
|
1036
|
+
width: 264px;
|
|
1037
|
+
max-height: 96px;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.feedback-item.selected {
|
|
1041
|
+
width: 264px;
|
|
1042
|
+
max-height: 400px;
|
|
1043
|
+
border-radius: 24px;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.kumbh-regular {
|
|
1047
|
+
font-family: "Kumbh Sans", sans-serif;
|
|
1048
|
+
font-weight: 400;
|
|
1049
|
+
font-style: normal;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.kumbh-medium {
|
|
1053
|
+
font-family: "Kumbh Sans", sans-serif;
|
|
1054
|
+
font-weight: 500;
|
|
1055
|
+
font-style: normal;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.kumbh-semibold {
|
|
1059
|
+
font-family: "Kumbh Sans", sans-serif;
|
|
1060
|
+
font-weight: 600;
|
|
1061
|
+
font-style: normal;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.kumbh-bold {
|
|
1065
|
+
font-family: "Kumbh Sans", sans-serif;
|
|
1066
|
+
font-weight: 700;
|
|
1067
|
+
font-style: normal;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
.placeholder\:text-gray-feedback-300::-moz-placeholder {
|
|
1071
|
+
--tw-text-opacity: 1;
|
|
1072
|
+
color: rgb(213 215 218 / var(--tw-text-opacity));
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.placeholder\:text-gray-feedback-300::placeholder {
|
|
1076
|
+
--tw-text-opacity: 1;
|
|
1077
|
+
color: rgb(213 215 218 / var(--tw-text-opacity));
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.hover\:bg-gray-feedback-700:hover {
|
|
1081
|
+
--tw-bg-opacity: 1;
|
|
1082
|
+
background-color: rgb(65 70 81 / var(--tw-bg-opacity));
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.hover\:bg-primary-feedback-400:hover {
|
|
1086
|
+
--tw-bg-opacity: 1;
|
|
1087
|
+
background-color: rgb(46 153 255 / var(--tw-bg-opacity));
|
|
730
1088
|
}
|
|
731
1089
|
|
|
732
1090
|
.hover\:bg-opacity-80:hover {
|
|
733
1091
|
--tw-bg-opacity: 0.8;
|
|
734
1092
|
}
|
|
1093
|
+
|
|
1094
|
+
.hover\:opacity-100:hover {
|
|
1095
|
+
opacity: 1;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.disabled\:bg-blue-100:disabled {
|
|
1099
|
+
--tw-bg-opacity: 1;
|
|
1100
|
+
background-color: rgb(235 245 255 / var(--tw-bg-opacity));
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.disabled\:text-blue-300:disabled {
|
|
1104
|
+
--tw-text-opacity: 1;
|
|
1105
|
+
color: rgb(147 197 253 / var(--tw-text-opacity));
|
|
1106
|
+
}
|