[dapp-kit-next]: expose ::part(trigger) for connect button styling#888
Merged
hayes-mysten merged 8 commits intomainfrom Feb 23, 2026
Merged
[dapp-kit-next]: expose ::part(trigger) for connect button styling#888hayes-mysten merged 8 commits intomainfrom
hayes-mysten merged 8 commits intomainfrom
Conversation
…omization Adds a `trigger` CSS part through the shadow DOM chain (button -> connected-account-menu -> connect-button) so consumers can style the button with ::part(trigger) without needing CSS variables or recreating the dropdown. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <[email protected]>
| "overrides": { | ||
| "axios": "^1.13.5" | ||
| "axios": "^1.13.5", | ||
| "markdown-it@>=13.0.0 <14.1.1": ">=14.1.1", |
Contributor
Author
There was a problem hiding this comment.
audit CI was failing
| import type { StorybookConfig } from '@storybook/web-components-vite'; | ||
|
|
||
| import { join, dirname } from 'path'; | ||
| import { dirname } from 'path'; |
Contributor
Author
There was a problem hiding this comment.
Storybook was broken
4 tasks
hayes-mysten
approved these changes
Feb 23, 2026
Resolve merge conflicts in package.json (combine overrides from both branches, adopting main's simpler minimatch override format) and regenerate pnpm-lock.yaml.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
triggerCSS part on the connect button's underlying<button>/<a>element, forwarded through the shadow DOM chain viaexportparts::part(trigger)while the component still manages content (account icon, name, chevron)WithCustomTriggerPart) demonstrating custom padding, height, border-radius, and colorsUsage
Test plan
WithCustomTriggerPartstory in storybook renders with custom styles applied::part(trigger)works in both connected and disconnected statesAI Assistance Notice
🤖 Generated with Claude Code