Skip to content

Conversation

@Drakeoon
Copy link
Contributor

@Drakeoon Drakeoon commented Nov 18, 2025

Done:

  • add sk-ui- prefix to prevent className conflicts
  • downgrade tailwind-merge to work with tailwindcss v3
  • configure twMerge to work properly with the new prefix
  • update components throughout @swapkit/ui to use new prefixed classNames

@Drakeoon Drakeoon changed the title feat: add prefix to widget's tailwindcss config, update @swapkit/ui to use prefixed classNames feat: add sk-ui- prefix to widget's tailwindcss config, update @swapkit/ui to use prefixed classNames Nov 18, 2025
@Drakeoon Drakeoon force-pushed the feat/add-prefix-to-widget-styles branch from 886d352 to 196ccef Compare November 18, 2025 17:18
@ochhii1337 ochhii1337 merged commit 4181350 into feat/add-v3-quote-swap-flow Nov 19, 2025
1 check passed
@ochhii1337 ochhii1337 deleted the feat/add-prefix-to-widget-styles branch November 19, 2025 11:26
ochhii1337 pushed a commit that referenced this pull request Nov 19, 2025
* feat: remove redundant code

* fix: fix next playground build issues, add exact=true to bunfig

* feat: implement improved token selection UI, rework balance calculation in swapkit context

* feat: improve balance state calculation, improve wallet drawer ui

* fix: fix hook after balance naming changes

* feat: switch to built-in assetValue staticTokensMap, load tokens in the swapkit-context module

* feat: add small optimisation for calculating filtered values

* fix: fix createSwapKit sdk type errors

* fix: fix swapkit ui type errors

* chore: revert WalletConnectButton and keystore dialog changes

* chore: apply changes after review

* chore: revert type changes

* fix: fix types

* fix: resolve missing dependencies issue, set exact=true in bunfig.toml

* feat: set up the dialog components for keystore

* feat: add tabs from shadcn/ui, improve dialog footer layout

* feat: restore and refactor some of the keystore connect implementation

* feat: add shadcn/ui components for implementing rich forms

* feat: move keystore connection state outside of swapkit context, use react-hook-form for WalletKeystoreConnectDialog

* feat: add loading states, move file input onChange handler outside of jsx

* chore: reorder imports

* feat: show new keystore connect dialog on keystore click

* chore: remove old keystore dialog, remove dialog components outside of the scope

* chore: update bun.lock

* feat: tweak dialog styles to handle edge cases

* feat: add missing variables, handle styling edge cases

* feat: add setup for v3 quote and swap requets

* feat: move into new way of overriding endpoints using SKConfig

* feat: adjust swap flow to match API changes

* chore: remove redundant code, fix smaller issues

* feat: add simple localStorage form integration, remove custom apiKey field

* feat: add `sk-ui-` prefix to widget's tailwindcss config, update @swapkit/ui to use prefixed classNames (#1591)

* feat: update variables and tailwind config to use prefix

* chore: replace tailwind classes in @swapkit/ui to match prefix

* feat: set up sk-ui- prefix in tailwind config, disable preflight, update dependencies

* feat: convert missing classNames to prefixed ones
towanTG added a commit that referenced this pull request Nov 19, 2025
…rategy (#1588)

* feat: remove redundant code

* fix: fix next playground build issues, add exact=true to bunfig

* feat: implement improved token selection UI, rework balance calculation in swapkit context

* feat: improve balance state calculation, improve wallet drawer ui

* fix: fix hook after balance naming changes

* feat: switch to built-in assetValue staticTokensMap, load tokens in the swapkit-context module

* feat: add small optimisation for calculating filtered values

* fix: fix createSwapKit sdk type errors

* fix: fix swapkit ui type errors

* chore: revert WalletConnectButton and keystore dialog changes

* chore: apply changes after review

* chore: revert type changes

* fix: fix types

* feat: improve keystore connect dialog (#1587)

* fix: resolve missing dependencies issue, set exact=true in bunfig.toml

* feat: set up the dialog components for keystore

* feat: add tabs from shadcn/ui, improve dialog footer layout

* feat: restore and refactor some of the keystore connect implementation

* feat: add shadcn/ui components for implementing rich forms

* feat: move keystore connection state outside of swapkit context, use react-hook-form for WalletKeystoreConnectDialog

* feat: add loading states, move file input onChange handler outside of jsx

* chore: reorder imports

* feat: show new keystore connect dialog on keystore click

* chore: remove old keystore dialog, remove dialog components outside of the scope

* chore: update bun.lock

* feat: tweak dialog styles to handle edge cases

* feat: add missing variables, handle styling edge cases

* feat: add v3 quote swap flow (#1590)

* feat: remove redundant code

* fix: fix next playground build issues, add exact=true to bunfig

* feat: implement improved token selection UI, rework balance calculation in swapkit context

* feat: improve balance state calculation, improve wallet drawer ui

* fix: fix hook after balance naming changes

* feat: switch to built-in assetValue staticTokensMap, load tokens in the swapkit-context module

* feat: add small optimisation for calculating filtered values

* fix: fix createSwapKit sdk type errors

* fix: fix swapkit ui type errors

* chore: revert WalletConnectButton and keystore dialog changes

* chore: apply changes after review

* chore: revert type changes

* fix: fix types

* fix: resolve missing dependencies issue, set exact=true in bunfig.toml

* feat: set up the dialog components for keystore

* feat: add tabs from shadcn/ui, improve dialog footer layout

* feat: restore and refactor some of the keystore connect implementation

* feat: add shadcn/ui components for implementing rich forms

* feat: move keystore connection state outside of swapkit context, use react-hook-form for WalletKeystoreConnectDialog

* feat: add loading states, move file input onChange handler outside of jsx

* chore: reorder imports

* feat: show new keystore connect dialog on keystore click

* chore: remove old keystore dialog, remove dialog components outside of the scope

* chore: update bun.lock

* feat: tweak dialog styles to handle edge cases

* feat: add missing variables, handle styling edge cases

* feat: add setup for v3 quote and swap requets

* feat: move into new way of overriding endpoints using SKConfig

* feat: adjust swap flow to match API changes

* chore: remove redundant code, fix smaller issues

* feat: add simple localStorage form integration, remove custom apiKey field

* feat: add `sk-ui-` prefix to widget's tailwindcss config, update @swapkit/ui to use prefixed classNames (#1591)

* feat: update variables and tailwind config to use prefix

* chore: replace tailwind classes in @swapkit/ui to match prefix

* feat: set up sk-ui- prefix in tailwind config, disable preflight, update dependencies

* feat: convert missing classNames to prefixed ones

* chore: clean up assetValue static map export

* chore: dirty fix ts issue tailwind.config.ts no in rootDir

* chore: skip balance test

---------

Co-authored-by: towan <towan@swapkit.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants