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

feat: WalletDropdownFundLink #1021

Merged
merged 51 commits into from
Aug 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
c62ca07
`WalletDropdownFundLink` component
0xAlec Aug 9, 2024
1f8aa0e
types
0xAlec Aug 9, 2024
ae3e8dd
window mode
0xAlec Aug 9, 2024
89112aa
docs
0xAlec Aug 9, 2024
ec45503
lint
0xAlec Aug 9, 2024
9212b30
fix imports
0xAlec Aug 9, 2024
5bb09e7
organize export
0xAlec Aug 9, 2024
6468a62
changeset
0xAlec Aug 9, 2024
7a98d5a
fix build
0xAlec Aug 9, 2024
7d8fd70
alphabetical export
0xAlec Aug 9, 2024
c80f4b4
format
0xAlec Aug 9, 2024
bff46b6
cleanup
0xAlec Aug 9, 2024
7495d92
update prop names
0xAlec Aug 9, 2024
a8dc224
add test for `windowSize`
0xAlec Aug 9, 2024
48a926f
don't use prop destructuring
0xAlec Aug 9, 2024
dd771bf
lint and format
0xAlec Aug 9, 2024
3cbe66f
organize and add comments
0xAlec Aug 9, 2024
3b5a079
Update witty-crabs-change.md
0xAlec Aug 9, 2024
83b0cc3
remove component docs
0xAlec Aug 9, 2024
06ada06
add `onchainkit=version` to params
0xAlec Aug 9, 2024
7e0f393
`Fund Wallet` default copy
0xAlec Aug 9, 2024
d726dff
format
0xAlec Aug 9, 2024
ad0127b
add newline
0xAlec Aug 9, 2024
4252671
fix tests
0xAlec Aug 9, 2024
96597ca
sentence case
0xAlec Aug 9, 2024
48a25bc
fix
0xAlec Aug 9, 2024
c74b3a1
add `fundingUrl`
0xAlec Aug 9, 2024
99816a0
format
0xAlec Aug 9, 2024
5325599
fix test
0xAlec Aug 9, 2024
7387e2d
final
0xAlec Aug 9, 2024
2efd1d7
add windowsizes
0xAlec Aug 9, 2024
71ac9f5
use viewports
0xAlec Aug 9, 2024
320004a
`getWindowDimensions`
0xAlec Aug 9, 2024
c2d8dfe
remove comment
0xAlec Aug 9, 2024
a0f5829
`overrideClassName`
0xAlec Aug 9, 2024
c1d3365
update funding url
0xAlec Aug 14, 2024
a9c6a57
`windowSize` -> `popupSize`
0xAlec Aug 14, 2024
f162d4b
`openIn=window` -> `popup`
0xAlec Aug 14, 2024
0ba3f3c
fix tests
0xAlec Aug 14, 2024
07d4bf3
fix dimensions tests
0xAlec Aug 14, 2024
5cda967
change query params
0xAlec Aug 14, 2024
0b536ac
tweak size of `sm`
0xAlec Aug 14, 2024
6874ac2
add `popupFeatures` as an override
0xAlec Aug 14, 2024
e262968
fixes
0xAlec Aug 14, 2024
3f15e98
add comments
0xAlec Aug 14, 2024
09e82f7
wrap using `useMemo` and `useCallback`
0xAlec Aug 14, 2024
56a243a
`useIcon` hook
0xAlec Aug 14, 2024
a4ba654
`useEffect` for `fundingUrl`
0xAlec Aug 15, 2024
91ee34e
Update witty-crabs-change.md
0xAlec Aug 15, 2024
df97e48
alphabetical order
0xAlec Aug 15, 2024
f040a52
alphabetical
0xAlec Aug 15, 2024
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
Prev Previous commit
Next Next commit
alphabetical export
0xAlec committed Aug 14, 2024
commit 7d8fd7084c06753d8f98b5eab7da138427a2e445
18 changes: 9 additions & 9 deletions src/wallet/types.ts
Original file line number Diff line number Diff line change
@@ -99,25 +99,25 @@ export type WalletDropdownDisconnectReact = {
/**
* Note: exported as public Type
*/
export type WalletDropdownLinkReact = {
children: string;
export type WalletDropdownFundLinkReact = {
className?: string; // Optional className override for the element
href: string;
icon?: 'wallet' & ReactNode;
icon?: ReactNode;
rel?: string;
0xAlec marked this conversation as resolved.
Show resolved Hide resolved
target?: string;
text?: string;
type?: 'window' | 'tab';
size?: 's' | 'm' | 'l';
};

/**
* Note: exported as public Type
*/
export type WalletDropdownFundLinkReact = {
export type WalletDropdownLinkReact = {
children: string;
className?: string; // Optional className override for the element
href: string;
icon?: ReactNode;
icon?: 'wallet' & ReactNode;
rel?: string;
target?: string;
text?: string;
type?: 'window' | 'tab';
size?: 's' | 'm' | 'l';
};
};