Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix suggestions for #181 & #168 #217

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/bc-modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class Modal extends withTwind()(BitcoinConnectElement) {
class="absolute top-0 left-0 w-full h-full -z-10 ${classes[
'bg-foreground'
]} animate-darken"
@click=${this._handleClose}
></div>
<div
class="transition-all p-4 pt-6 pb-8 rounded-2xl shadow-2xl flex justify-center items-center w-full bg-white dark:bg-black max-w-md max-sm:rounded-b-none
Expand Down
2 changes: 1 addition & 1 deletion src/components/flows/bc-payment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class SendPaymentFlow extends withTwind()(BitcoinConnectElement) {

override render() {
return this._showConnect && !this.paid
? html` <bc-connect></bc-connect>`
? html` <bc-connect closable=${true}></bc-connect>`
: html`<div class="w-full flex-col justify-center items-center">
<bc-modal-header class="flex w-full" ?closable=${this.closable}>
<p
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export const WebLNProviders = {
LnbitsWebLNProvider,
};

export {PaymentMethods} from './types/PaymentMethods';
export * from './types/PaymentMethods';