@unifold/ui-react 0.1.75 → 0.1.76

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.d.mts CHANGED
@@ -104,6 +104,8 @@ interface EthereumProvider {
104
104
  isRainbow?: boolean;
105
105
  isRabby?: boolean;
106
106
  isOkxWallet?: boolean;
107
+ /** Set by the provider Robinhood Wallet injects into its web3 browser. */
108
+ isRobinhoodMobileWallet?: boolean;
107
109
  selectedAddress?: string;
108
110
  request(args: {
109
111
  method: string;
@@ -311,8 +313,9 @@ interface DepositModalProps {
311
313
  * Enable the "Bank Transfer" section (SEPA, etc.). Overrides dashboard default.
312
314
  * Resolves as flag ?? dashboard `bank_transfer.enabled` ?? true.
313
315
  *
314
- * Even when enabled, the rails listed inside are filtered by country
315
- * users outside the SEPA zone see a disabled "coming soon" card.
316
+ * Even when enabled, each rail inside is gated on the caller's country. Only
317
+ * rails the caller can use are listed; when none are, the section explains that
318
+ * instead of listing options that would not work.
316
319
  */
317
320
  enableBankTransfer?: boolean;
318
321
  /**
@@ -830,10 +833,10 @@ interface BankTransferButtonProps {
830
833
  onClick: () => void;
831
834
  title: string;
832
835
  subtitle: string;
833
- /** When true, renders the row as a disabled "coming soon" card (no click). */
834
- comingSoon?: boolean;
836
+ /** When true, renders the row as a disabled card (no click). */
837
+ disabled?: boolean;
835
838
  }
836
- declare function BankTransferButton({ onClick, title, subtitle, comingSoon, }: BankTransferButtonProps): react_jsx_runtime.JSX.Element;
839
+ declare function BankTransferButton({ onClick, title, subtitle, disabled, }: BankTransferButtonProps): react_jsx_runtime.JSX.Element;
837
840
 
838
841
  interface StripeLinkButtonProps {
839
842
  onClick: () => void;
@@ -1654,7 +1657,7 @@ var depositModal = {
1654
1657
  bankTransfer: {
1655
1658
  title: "Bank Transfer",
1656
1659
  subtitle: "SEPA, ACH and more",
1657
- unavailableInCountry: "Bank-transfer rails are not yet available in your country."
1660
+ unavailableInCountry: "Bank transfer isn't available for this deposit."
1658
1661
  },
1659
1662
  cashAppMenu: {
1660
1663
  title: "Pay with Cash App",
@@ -1753,7 +1756,7 @@ var connectExchange = {
1753
1756
  title: "Connect Exchange",
1754
1757
  subtitle: "No limit • 2 min",
1755
1758
  selectExchange: "Select an exchange",
1756
- comingSoon: "Coming Soon",
1759
+ comingSoon: "Coming soon",
1757
1760
  disclosure: {
1758
1761
  message: "{{appName}} will securely connect to your {{exchange}} account.",
1759
1762
  credentialsNotStored: "Your credentials are never stored",
package/dist/index.d.ts CHANGED
@@ -104,6 +104,8 @@ interface EthereumProvider {
104
104
  isRainbow?: boolean;
105
105
  isRabby?: boolean;
106
106
  isOkxWallet?: boolean;
107
+ /** Set by the provider Robinhood Wallet injects into its web3 browser. */
108
+ isRobinhoodMobileWallet?: boolean;
107
109
  selectedAddress?: string;
108
110
  request(args: {
109
111
  method: string;
@@ -311,8 +313,9 @@ interface DepositModalProps {
311
313
  * Enable the "Bank Transfer" section (SEPA, etc.). Overrides dashboard default.
312
314
  * Resolves as flag ?? dashboard `bank_transfer.enabled` ?? true.
313
315
  *
314
- * Even when enabled, the rails listed inside are filtered by country
315
- * users outside the SEPA zone see a disabled "coming soon" card.
316
+ * Even when enabled, each rail inside is gated on the caller's country. Only
317
+ * rails the caller can use are listed; when none are, the section explains that
318
+ * instead of listing options that would not work.
316
319
  */
317
320
  enableBankTransfer?: boolean;
318
321
  /**
@@ -830,10 +833,10 @@ interface BankTransferButtonProps {
830
833
  onClick: () => void;
831
834
  title: string;
832
835
  subtitle: string;
833
- /** When true, renders the row as a disabled "coming soon" card (no click). */
834
- comingSoon?: boolean;
836
+ /** When true, renders the row as a disabled card (no click). */
837
+ disabled?: boolean;
835
838
  }
836
- declare function BankTransferButton({ onClick, title, subtitle, comingSoon, }: BankTransferButtonProps): react_jsx_runtime.JSX.Element;
839
+ declare function BankTransferButton({ onClick, title, subtitle, disabled, }: BankTransferButtonProps): react_jsx_runtime.JSX.Element;
837
840
 
838
841
  interface StripeLinkButtonProps {
839
842
  onClick: () => void;
@@ -1654,7 +1657,7 @@ var depositModal = {
1654
1657
  bankTransfer: {
1655
1658
  title: "Bank Transfer",
1656
1659
  subtitle: "SEPA, ACH and more",
1657
- unavailableInCountry: "Bank-transfer rails are not yet available in your country."
1660
+ unavailableInCountry: "Bank transfer isn't available for this deposit."
1658
1661
  },
1659
1662
  cashAppMenu: {
1660
1663
  title: "Pay with Cash App",
@@ -1753,7 +1756,7 @@ var connectExchange = {
1753
1756
  title: "Connect Exchange",
1754
1757
  subtitle: "No limit • 2 min",
1755
1758
  selectExchange: "Select an exchange",
1756
- comingSoon: "Coming Soon",
1759
+ comingSoon: "Coming soon",
1757
1760
  disclosure: {
1758
1761
  message: "{{appName}} will securely connect to your {{exchange}} account.",
1759
1762
  credentialsNotStored: "Your credentials are never stored",