@thenamespace/ens-components 0.2.0 → 0.4.0

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 CHANGED
@@ -808,6 +808,111 @@ html{
808
808
  margin:0;
809
809
  }
810
810
 
811
+ .ns-textarea__wrapper{
812
+ display:block;
813
+ flex:1 1 auto;
814
+ min-width:0;
815
+ position:relative;
816
+ width:100%;
817
+ }
818
+
819
+ .ns-textarea{
820
+ background:#fcfcfc;
821
+ border:1px solid var(--ns-color-border);
822
+ border-radius:var(--ns-radius-md);
823
+ box-sizing:border-box;
824
+ color:var(--ns-color-fg);
825
+ font-family:var(--ns-font-family);
826
+ min-height:35px;
827
+ outline:none;
828
+ padding:.7rem;
829
+ resize:vertical;
830
+ transition:border-color .15s ease,box-shadow .15s ease;
831
+ width:100%;
832
+ }
833
+
834
+ .ns-textarea:focus{
835
+ border-color:var(--ns-color-primary);
836
+ box-shadow:0 0 0 2px color-mix(in srgb, var(--ns-color-primary) 15%, transparent);
837
+ }
838
+
839
+ .ns-textarea:disabled{
840
+ background:color-mix(in srgb, var(--ns-color-bg) 95%, var(--ns-color-muted));
841
+ color:var(--ns-color-muted);
842
+ cursor:not-allowed;
843
+ }
844
+
845
+ .ns-textarea--error{
846
+ border-color:#ef4444;
847
+ }
848
+
849
+ .ns-textarea--error:focus{
850
+ border-color:#ef4444;
851
+ box-shadow:0 0 0 2px color-mix(in srgb, #ef4444 15%, transparent);
852
+ }
853
+
854
+ .ns-textarea--sm{
855
+ font-size:.775rem;
856
+ min-height:40px;
857
+ }
858
+
859
+ .ns-textarea--md{
860
+ font-size:.85rem;
861
+ min-height:60px;
862
+ }
863
+
864
+ .ns-textarea--lg{
865
+ font-size:1rem;
866
+ min-height:90px;
867
+ }
868
+
869
+ .ns-textarea__prefix,.ns-textarea__suffix{
870
+ align-items:flex-start;
871
+ color:var(--ns-color-muted);
872
+ display:flex;
873
+ pointer-events:none;
874
+ position:absolute;
875
+ z-index:1;
876
+ }
877
+
878
+ .ns-textarea__prefix{
879
+ left:10px;
880
+ top:10px;
881
+ }
882
+
883
+ .ns-textarea__suffix{
884
+ right:10px;
885
+ top:10px;
886
+ }
887
+
888
+ .ns-textarea__wrapper:has(.ns-textarea__prefix) .ns-textarea{
889
+ padding-left:2.5rem;
890
+ }
891
+
892
+ .ns-textarea__wrapper:has(.ns-textarea__suffix) .ns-textarea{
893
+ padding-right:2.5rem;
894
+ }
895
+
896
+ .ns-textarea::-moz-placeholder{
897
+ color:var(--ns-color-muted);
898
+ font-size:13px;
899
+ font-weight:400;
900
+ opacity:.5;
901
+ }
902
+
903
+ .ns-textarea::placeholder{
904
+ color:var(--ns-color-muted);
905
+ font-size:13px;
906
+ font-weight:400;
907
+ opacity:.5;
908
+ }
909
+
910
+ .ns-textarea{
911
+ font-weight:400;
912
+ line-height:1.5;
913
+ }
914
+
915
+
811
916
  .ns-text{
812
917
  font-family:var(--ns-font-family);
813
918
  line-height:1.5;
@@ -1668,13 +1773,27 @@ html{
1668
1773
  border-radius:5px;
1669
1774
  }
1670
1775
 
1776
+ .ns-text-records .row{
1777
+ display:flex;
1778
+ flex-wrap:wrap;
1779
+ }
1780
+
1781
+ .ns-text-records .row>[class*=col-]{
1782
+ display:flex;
1783
+ }
1784
+
1671
1785
  .ns-text-records .ns-text-suggestion{
1786
+ align-items:center;
1672
1787
  border-radius:5px;
1673
1788
  cursor:pointer;
1789
+ display:flex;
1790
+ flex-direction:column;
1791
+ justify-content:center;
1674
1792
  outline:1px solid var(--ns-color-border);
1675
1793
  padding:5px;
1676
1794
  text-align:center;
1677
1795
  transition:all .25s linear;
1796
+ width:100%;
1678
1797
  }
1679
1798
 
1680
1799
  .ns-text-records .ns-text-suggestion:hover{
@@ -1746,6 +1865,7 @@ html{
1746
1865
  .ns-image-records .ns-image-handle{
1747
1866
  background-color:var(--ns-color-bg-accent);
1748
1867
  border-radius:100%;
1868
+ cursor:pointer;
1749
1869
  height:50px;
1750
1870
  width:50px;
1751
1871
  }
@@ -1759,6 +1879,7 @@ html{
1759
1879
  align-items:center;
1760
1880
  background-color:rgba(0,0,0,.1);
1761
1881
  border-radius:100%;
1882
+ cursor:pointer;
1762
1883
  display:flex;
1763
1884
  height:50px;
1764
1885
  justify-content:center;