feedback-vos 1.0.0 → 1.0.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.
package/dist/styles.css CHANGED
@@ -498,327 +498,332 @@ video {
498
498
  /* Make elements with the HTML hidden attribute stay hidden by default */
499
499
  [hidden]:where(:not([hidden="until-found"])) {
500
500
  display: none;
501
- }
501
+ }
502
502
  .absolute {
503
503
  position: absolute;
504
- }
504
+ }
505
505
  .relative {
506
506
  position: relative;
507
- }
507
+ }
508
508
  .bottom-4 {
509
509
  bottom: 1rem;
510
- }
510
+ }
511
511
  .left-4 {
512
512
  left: 1rem;
513
- }
513
+ }
514
514
  .left-5 {
515
515
  left: 1.25rem;
516
- }
516
+ }
517
517
  .right-4 {
518
518
  right: 1rem;
519
- }
519
+ }
520
520
  .right-5 {
521
521
  right: 1.25rem;
522
- }
522
+ }
523
523
  .top-4 {
524
524
  top: 1rem;
525
- }
525
+ }
526
526
  .top-5 {
527
527
  top: 1.25rem;
528
- }
528
+ }
529
529
  .my-4 {
530
530
  margin-top: 1rem;
531
531
  margin-bottom: 1rem;
532
- }
532
+ }
533
533
  .mb-4 {
534
534
  margin-bottom: 1rem;
535
- }
535
+ }
536
536
  .mt-2 {
537
537
  margin-top: 0.5rem;
538
- }
538
+ }
539
539
  .mt-6 {
540
540
  margin-top: 1.5rem;
541
- }
542
- .block {
543
- display: block;
544
- }
541
+ }
545
542
  .flex {
546
543
  display: flex;
547
- }
544
+ }
548
545
  .h-10 {
549
546
  height: 2.5rem;
550
- }
547
+ }
551
548
  .h-12 {
552
549
  height: 3rem;
553
- }
550
+ }
554
551
  .h-4 {
555
552
  height: 1rem;
556
- }
553
+ }
557
554
  .h-6 {
558
555
  height: 1.5rem;
559
- }
556
+ }
560
557
  .min-h-\[112px\] {
561
558
  min-height: 112px;
562
- }
559
+ }
563
560
  .w-10 {
564
561
  width: 2.5rem;
565
- }
562
+ }
566
563
  .w-24 {
567
564
  width: 6rem;
568
- }
565
+ }
569
566
  .w-4 {
570
567
  width: 1rem;
571
- }
568
+ }
572
569
  .w-6 {
573
570
  width: 1.5rem;
574
- }
571
+ }
575
572
  .w-\[304px\] {
576
573
  width: 304px;
577
- }
574
+ }
578
575
  .w-\[calc\(100vw-2rem\)\] {
579
576
  width: calc(100vw - 2rem);
580
- }
577
+ }
581
578
  .w-full {
582
579
  width: 100%;
583
- }
580
+ }
584
581
  .min-w-\[384px\] {
585
582
  min-width: 384px;
586
- }
583
+ }
587
584
  .max-w-0 {
588
585
  max-width: 0px;
589
- }
586
+ }
590
587
  .flex-1 {
591
588
  flex: 1 1 0%;
592
- }
589
+ }
593
590
  @keyframes spin {
594
591
 
595
592
  to {
596
593
  transform: rotate(360deg);
597
594
  }
598
- }
595
+ }
599
596
  .animate-spin {
600
597
  animation: spin 1s linear infinite;
601
- }
598
+ }
602
599
  .resize-none {
603
600
  resize: none;
604
- }
601
+ }
602
+ .resize {
603
+ resize: both;
604
+ }
605
605
  .flex-col {
606
606
  flex-direction: column;
607
- }
607
+ }
608
608
  .items-end {
609
609
  align-items: flex-end;
610
- }
610
+ }
611
611
  .items-center {
612
612
  align-items: center;
613
- }
613
+ }
614
614
  .justify-end {
615
615
  justify-content: flex-end;
616
- }
616
+ }
617
617
  .justify-center {
618
618
  justify-content: center;
619
- }
619
+ }
620
620
  .gap-2 {
621
621
  gap: 0.5rem;
622
- }
622
+ }
623
623
  .overflow-hidden {
624
624
  overflow: hidden;
625
- }
625
+ }
626
+ .truncate {
627
+ overflow: hidden;
628
+ text-overflow: ellipsis;
629
+ white-space: nowrap;
630
+ }
626
631
  .rounded {
627
632
  border-radius: 0.25rem;
628
- }
633
+ }
629
634
  .rounded-2xl {
630
635
  border-radius: 1rem;
631
- }
636
+ }
632
637
  .rounded-full {
633
638
  border-radius: 9999px;
634
- }
639
+ }
635
640
  .rounded-md {
636
641
  border-radius: 0.375rem;
637
- }
642
+ }
638
643
  .border-2 {
639
644
  border-width: 2px;
640
- }
645
+ }
641
646
  .border-transparent {
642
647
  border-color: transparent;
643
- }
648
+ }
644
649
  .border-zinc-600 {
645
650
  --tw-border-opacity: 1;
646
651
  border-color: rgb(82 82 91 / var(--tw-border-opacity, 1));
647
- }
652
+ }
648
653
  .bg-brand-500 {
649
654
  --tw-bg-opacity: 1;
650
655
  background-color: rgb(139 92 246 / var(--tw-bg-opacity, 1));
651
- }
656
+ }
652
657
  .bg-transparent {
653
658
  background-color: transparent;
654
- }
659
+ }
655
660
  .bg-zinc-800 {
656
661
  --tw-bg-opacity: 1;
657
662
  background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1));
658
- }
663
+ }
659
664
  .bg-zinc-900 {
660
665
  --tw-bg-opacity: 1;
661
666
  background-color: rgb(24 24 27 / var(--tw-bg-opacity, 1));
662
- }
667
+ }
663
668
  .p-1 {
664
669
  padding: 0.25rem;
665
- }
670
+ }
666
671
  .p-2 {
667
672
  padding: 0.5rem;
668
- }
673
+ }
669
674
  .p-4 {
670
675
  padding: 1rem;
671
- }
676
+ }
672
677
  .px-3 {
673
678
  padding-left: 0.75rem;
674
679
  padding-right: 0.75rem;
675
- }
680
+ }
676
681
  .px-6 {
677
682
  padding-left: 1.5rem;
678
683
  padding-right: 1.5rem;
679
- }
684
+ }
680
685
  .py-10 {
681
686
  padding-top: 2.5rem;
682
687
  padding-bottom: 2.5rem;
683
- }
688
+ }
684
689
  .py-2 {
685
690
  padding-top: 0.5rem;
686
691
  padding-bottom: 0.5rem;
687
- }
692
+ }
688
693
  .py-5 {
689
694
  padding-top: 1.25rem;
690
695
  padding-bottom: 1.25rem;
691
- }
696
+ }
692
697
  .py-8 {
693
698
  padding-top: 2rem;
694
699
  padding-bottom: 2rem;
695
- }
700
+ }
696
701
  .pl-2 {
697
702
  padding-left: 0.5rem;
698
- }
703
+ }
699
704
  .text-sm {
700
705
  font-size: 0.875rem;
701
706
  line-height: 1.25rem;
702
- }
707
+ }
703
708
  .text-xl {
704
709
  font-size: 1.25rem;
705
710
  line-height: 1.75rem;
706
- }
711
+ }
707
712
  .text-xs {
708
713
  font-size: 0.75rem;
709
714
  line-height: 1rem;
710
- }
715
+ }
711
716
  .leading-6 {
712
717
  line-height: 1.5rem;
713
- }
718
+ }
714
719
  .text-neutral-400 {
715
720
  --tw-text-opacity: 1;
716
721
  color: rgb(163 163 163 / var(--tw-text-opacity, 1));
717
- }
722
+ }
718
723
  .text-white {
719
724
  --tw-text-opacity: 1;
720
725
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
721
- }
726
+ }
722
727
  .text-zinc-100 {
723
728
  --tw-text-opacity: 1;
724
729
  color: rgb(244 244 245 / var(--tw-text-opacity, 1));
725
- }
730
+ }
726
731
  .text-zinc-400 {
727
732
  --tw-text-opacity: 1;
728
733
  color: rgb(161 161 170 / var(--tw-text-opacity, 1));
729
- }
734
+ }
730
735
  .underline {
731
736
  text-decoration-line: underline;
732
- }
737
+ }
733
738
  .underline-offset-2 {
734
739
  text-underline-offset: 2px;
735
- }
740
+ }
736
741
  .placeholder-zinc-400::-moz-placeholder {
737
742
  --tw-placeholder-opacity: 1;
738
743
  color: rgb(161 161 170 / var(--tw-placeholder-opacity, 1));
739
- }
744
+ }
740
745
  .placeholder-zinc-400::placeholder {
741
746
  --tw-placeholder-opacity: 1;
742
747
  color: rgb(161 161 170 / var(--tw-placeholder-opacity, 1));
743
- }
748
+ }
744
749
  .shadow-lg {
745
750
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
746
751
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
747
752
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
748
- }
753
+ }
749
754
  .transition-all {
750
755
  transition-property: all;
751
756
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
752
757
  transition-duration: 150ms;
753
- }
758
+ }
754
759
  .transition-colors {
755
760
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
756
761
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
757
762
  transition-duration: 150ms;
758
- }
763
+ }
759
764
  .duration-500 {
760
765
  transition-duration: 500ms;
761
- }
766
+ }
762
767
  .ease-linear {
763
768
  transition-timing-function: linear;
764
- }
769
+ }
765
770
  .hover\:border-brand-500:hover {
766
771
  --tw-border-opacity: 1;
767
772
  border-color: rgb(139 92 246 / var(--tw-border-opacity, 1));
768
- }
773
+ }
769
774
  .hover\:bg-brand-300:hover {
770
775
  --tw-bg-opacity: 1;
771
776
  background-color: rgb(153 109 255 / var(--tw-bg-opacity, 1));
772
- }
777
+ }
773
778
  .hover\:bg-zinc-700:hover {
774
779
  --tw-bg-opacity: 1;
775
780
  background-color: rgb(63 63 70 / var(--tw-bg-opacity, 1));
776
- }
781
+ }
777
782
  .hover\:text-zinc-100:hover {
778
783
  --tw-text-opacity: 1;
779
784
  color: rgb(244 244 245 / var(--tw-text-opacity, 1));
780
- }
785
+ }
781
786
  .focus\:border-brand-500:focus {
782
787
  --tw-border-opacity: 1;
783
788
  border-color: rgb(139 92 246 / var(--tw-border-opacity, 1));
784
- }
789
+ }
785
790
  .focus\:outline-none:focus {
786
791
  outline: 2px solid transparent;
787
792
  outline-offset: 2px;
788
- }
793
+ }
789
794
  .focus\:ring-1:focus {
790
795
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
791
796
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
792
797
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
793
- }
798
+ }
794
799
  .focus\:ring-2:focus {
795
800
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
796
801
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
797
802
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
798
- }
803
+ }
799
804
  .focus\:ring-brand-500:focus {
800
805
  --tw-ring-opacity: 1;
801
806
  --tw-ring-color: rgb(139 92 246 / var(--tw-ring-opacity, 1));
802
- }
807
+ }
803
808
  .focus\:ring-offset-2:focus {
804
809
  --tw-ring-offset-width: 2px;
805
- }
810
+ }
806
811
  .focus\:ring-offset-zinc-900:focus {
807
812
  --tw-ring-offset-color: #18181b;
808
- }
813
+ }
809
814
  .disabled\:cursor-not-allowed:disabled {
810
815
  cursor: not-allowed;
811
- }
816
+ }
812
817
  .disabled\:opacity-50:disabled {
813
818
  opacity: 0.5;
814
- }
819
+ }
815
820
  .disabled\:hover\:bg-brand-500:hover:disabled {
816
821
  --tw-bg-opacity: 1;
817
822
  background-color: rgb(139 92 246 / var(--tw-bg-opacity, 1));
818
- }
823
+ }
819
824
  .group:hover .group-hover\:max-w-xs {
820
825
  max-width: 20rem;
821
- }
826
+ }
822
827
  @media (min-width: 768px) {
823
828
 
824
829
  .md\:bottom-8 {
@@ -844,5 +849,5 @@ video {
844
849
  .md\:w-auto {
845
850
  width: auto;
846
851
  }
847
- }
848
-
852
+ }
853
+
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
- {
2
- "name": "feedback-vos",
3
- "version": "1.0.0",
4
- "description": "A beautiful feedback widget for Next.js with Notion and GitHub integrations",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.js"
13
- },
14
- "./styles": "./dist/styles.css"
15
- },
16
- "files": [
17
- "dist"
18
- ],
19
- "scripts": {
20
- "build": "tsup",
21
- "dev": "tsup --watch",
22
- "prepublishOnly": "npm run build"
23
- },
24
- "keywords": [
25
- "feedback",
26
- "widget",
27
- "nextjs",
28
- "notion",
29
- "github",
30
- "react",
31
- "typescript"
32
- ],
33
- "author": "Klaas Sysop",
34
- "license": "MIT",
35
- "repository": {
36
- "type": "git",
37
- "url": "https://github.com/klaas-sysop/npm-feedback-vos.git"
38
- },
39
- "peerDependencies": {
40
- "react": "^18.2.0",
41
- "react-dom": "^18.2.0",
42
- "next": "^14.0.0"
43
- },
44
- "dependencies": {
45
- "@headlessui/react": "^1.7.17",
46
- "html2canvas": "^1.4.1",
47
- "phosphor-react": "^1.4.1"
48
- },
49
- "devDependencies": {
50
- "@types/node": "^20.10.5",
51
- "@types/react": "^18.2.45",
52
- "@types/react-dom": "^18.2.18",
53
- "autoprefixer": "^10.4.16",
54
- "postcss": "^8.4.32",
55
- "tailwindcss": "^3.4.0",
56
- "tsup": "^8.0.1",
57
- "typescript": "^5.3.3"
58
- }
59
- }
1
+ {
2
+ "name": "feedback-vos",
3
+ "version": "1.0.2",
4
+ "description": "A beautiful feedback widget for Next.js with GitHub Issues integration",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./styles": "./dist/styles.css"
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsup",
21
+ "dev": "tsup --watch",
22
+ "prepublishOnly": "npm run build"
23
+ },
24
+ "keywords": [
25
+ "feedback",
26
+ "widget",
27
+ "nextjs",
28
+ "github",
29
+ "github-issues",
30
+ "react",
31
+ "typescript"
32
+ ],
33
+ "author": "Klaas Sysop",
34
+ "license": "MIT",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/klaas-sysop/npm-feedback-vos.git"
38
+ },
39
+ "peerDependencies": {
40
+ "react": "^18.2.0",
41
+ "react-dom": "^18.2.0",
42
+ "next": "^14.0.0"
43
+ },
44
+ "dependencies": {
45
+ "@headlessui/react": "^1.7.17",
46
+ "html2canvas": "^1.4.1",
47
+ "phosphor-react": "^1.4.1"
48
+ },
49
+ "devDependencies": {
50
+ "@types/node": "^20.10.5",
51
+ "@types/react": "^18.2.45",
52
+ "@types/react-dom": "^18.2.18",
53
+ "autoprefixer": "^10.4.16",
54
+ "postcss": "^8.4.32",
55
+ "tailwindcss": "^3.4.0",
56
+ "tsup": "^8.0.1",
57
+ "typescript": "^5.3.3"
58
+ }
59
+ }