@meshsdk/react 1.8.5 → 1.8.6

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
@@ -619,6 +619,11 @@ video {
619
619
  margin-right: -0.25rem;
620
620
  }
621
621
 
622
+ .mesh-mx-8 {
623
+ margin-left: 2rem;
624
+ margin-right: 2rem;
625
+ }
626
+
622
627
  .mesh-my-1 {
623
628
  margin-top: 0.25rem;
624
629
  margin-bottom: 0.25rem;
@@ -781,10 +786,18 @@ video {
781
786
  gap: 0.25rem;
782
787
  }
783
788
 
789
+ .mesh-gap-2 {
790
+ gap: 0.5rem;
791
+ }
792
+
784
793
  .mesh-gap-4 {
785
794
  gap: 1rem;
786
795
  }
787
796
 
797
+ .mesh-gap-6 {
798
+ gap: 1.5rem;
799
+ }
800
+
788
801
  .mesh-gap-y-8 {
789
802
  row-gap: 2rem;
790
803
  }
@@ -866,6 +879,10 @@ video {
866
879
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
867
880
  }
868
881
 
882
+ .mesh-bg-transparent {
883
+ background-color: transparent;
884
+ }
885
+
869
886
  .mesh-bg-white {
870
887
  --tw-bg-opacity: 1;
871
888
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
@@ -921,6 +938,11 @@ video {
921
938
  padding-right: 2rem;
922
939
  }
923
940
 
941
+ .mesh-py-1 {
942
+ padding-top: 0.25rem;
943
+ padding-bottom: 0.25rem;
944
+ }
945
+
924
946
  .mesh-py-1\.5 {
925
947
  padding-top: 0.375rem;
926
948
  padding-bottom: 0.375rem;
@@ -992,6 +1014,11 @@ video {
992
1014
  letter-spacing: 0.1em;
993
1015
  }
994
1016
 
1017
+ .mesh-text-gray-500 {
1018
+ --tw-text-opacity: 1;
1019
+ color: rgb(107 114 128 / var(--tw-text-opacity, 1));
1020
+ }
1021
+
995
1022
  .mesh-text-neutral-50 {
996
1023
  --tw-text-opacity: 1;
997
1024
  color: rgb(250 250 250 / var(--tw-text-opacity, 1));
@@ -1139,6 +1166,33 @@ video {
1139
1166
  animation-duration: 200ms;
1140
1167
  }
1141
1168
 
1169
+ .file\:mesh-border-0::file-selector-button {
1170
+ border-width: 0px;
1171
+ }
1172
+
1173
+ .file\:mesh-bg-transparent::file-selector-button {
1174
+ background-color: transparent;
1175
+ }
1176
+
1177
+ .file\:mesh-text-sm::file-selector-button {
1178
+ font-size: 0.875rem;
1179
+ line-height: 1.25rem;
1180
+ }
1181
+
1182
+ .file\:mesh-font-medium::file-selector-button {
1183
+ font-weight: 500;
1184
+ }
1185
+
1186
+ .placeholder\:mesh-text-zinc-500::-moz-placeholder {
1187
+ --tw-text-opacity: 1;
1188
+ color: rgb(113 113 122 / var(--tw-text-opacity, 1));
1189
+ }
1190
+
1191
+ .placeholder\:mesh-text-zinc-500::placeholder {
1192
+ --tw-text-opacity: 1;
1193
+ color: rgb(113 113 122 / var(--tw-text-opacity, 1));
1194
+ }
1195
+
1142
1196
  .hover\:mesh-border-zinc-200:hover {
1143
1197
  --tw-border-opacity: 1;
1144
1198
  border-color: rgb(228 228 231 / var(--tw-border-opacity, 1));
@@ -1218,10 +1272,22 @@ video {
1218
1272
  pointer-events: none;
1219
1273
  }
1220
1274
 
1275
+ .disabled\:mesh-cursor-not-allowed:disabled {
1276
+ cursor: not-allowed;
1277
+ }
1278
+
1221
1279
  .disabled\:mesh-opacity-50:disabled {
1222
1280
  opacity: 0.5;
1223
1281
  }
1224
1282
 
1283
+ .mesh-peer:disabled ~ .peer-disabled\:mesh-cursor-not-allowed {
1284
+ cursor: not-allowed;
1285
+ }
1286
+
1287
+ .mesh-peer:disabled ~ .peer-disabled\:mesh-opacity-70 {
1288
+ opacity: 0.7;
1289
+ }
1290
+
1225
1291
  .data-\[disabled\]\:mesh-pointer-events-none[data-disabled] {
1226
1292
  pointer-events: none;
1227
1293
  }
package/dist/index.d.cts CHANGED
@@ -22,8 +22,13 @@ interface ButtonProps$1 {
22
22
  networkId: 0 | 1;
23
23
  provider: IFetcher & ISubmitter;
24
24
  };
25
+ webauthn?: {
26
+ networkId: 0 | 1;
27
+ provider: IFetcher & ISubmitter;
28
+ url: string;
29
+ };
25
30
  }
26
- declare const CardanoWallet: ({ label, onConnected, isDark, extensions, metamask, cardanoPeerConnect, burnerWallet, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
31
+ declare const CardanoWallet: ({ label, onConnected, isDark, extensions, metamask, cardanoPeerConnect, burnerWallet, webauthn, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
27
32
 
28
33
  interface WalletContext {
29
34
  hasConnectedWallet: boolean;
package/dist/index.d.ts CHANGED
@@ -22,8 +22,13 @@ interface ButtonProps$1 {
22
22
  networkId: 0 | 1;
23
23
  provider: IFetcher & ISubmitter;
24
24
  };
25
+ webauthn?: {
26
+ networkId: 0 | 1;
27
+ provider: IFetcher & ISubmitter;
28
+ url: string;
29
+ };
25
30
  }
26
- declare const CardanoWallet: ({ label, onConnected, isDark, extensions, metamask, cardanoPeerConnect, burnerWallet, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
31
+ declare const CardanoWallet: ({ label, onConnected, isDark, extensions, metamask, cardanoPeerConnect, burnerWallet, webauthn, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
27
32
 
28
33
  interface WalletContext {
29
34
  hasConnectedWallet: boolean;