Skip to content

fix(design-system): use tertiary button for DsDrawer close [AR-99359] - #925

Open
mmurawski-dn wants to merge 3 commits into
drivenets:mainfrom
mmurawski-dn:claude/AR-99359-drawer-header-buttons
Open

mmurawski-dn wants to merge 3 commits into
drivenets:mainfrom
mmurawski-dn:claude/AR-99359-drawer-header-buttons

Conversation

@mmurawski-dn

Copy link
Copy Markdown
Collaborator

The DsDrawer header close "X" was a bare icon with no padding or hover state. It's now a small tertiary icon button, the same as the other header actions in the Figma design.

Changes

  • DsDrawer.CloseTrigger renders a small, icon-only tertiary DsButtonV3 (28px, the size Figma uses for the header buttons).
  • New locale.close prop sets its accessible name (default Close), as on DsPopover.CloseTrigger.
  • Stories: the Expand button is small to match, and the header buttons sit in one row with the divider between them.

Screenshots

Before After
before, bare close icon below the expand icon after, expand and close tertiary buttons in one row
before, basic drawer with bare close icon after, basic drawer with tertiary close button

Notes for reviewers

  • In the stories, the header buttons stacked vertically because DsStack defaults to column in CSS while its JSDoc says row. The stories pass direction="row"; the DsStack mismatch itself is left for a separate fix.
  • The close icon is now blue (tertiary) instead of dark grey, as with the DsToast and DsPopover close buttons.
  • Docs snippet goldens were updated by hand for the story changes and verified against the local Storybook. Visual tests were not run here; DsDrawer has no visual stories.

https://claude.ai/code/session_011eAjWULbYuhHGiP3ohoHGq


Generated by Claude Code

@netlify

netlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

👷 Deploy request for drivenets-design-system pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 3285a43

Copy link
Copy Markdown
Collaborator Author

"Check Unused Code and Dependencies" fails on pnpm dedupe --check ("The lockfile would be rewritten, but no dependency resolution would change"). This PR doesn't touch pnpm-lock.yaml. The same check fails on main at c2cf08a (#924), so the fix is a pnpm dedupe on main, separate from this PR. All other checks are green.


Generated by Claude Code

mmurawski-dn added a commit that referenced this pull request Nov 23, 2026
Fixes the "Check Unused Code and Dependencies" job, which fails on
`main` and on every open PR at `pnpm dedupe --check` ("The lockfile
would be rewritten, but no dependency resolution would change").

## Changes

- Ran `pnpm dedupe` on `main`. The only change is the registry's new
`deprecated` notice on the four `yuku-*@0.19.0` packages. No versions or
resolutions change.

## Notes for reviewers

- The npm registry deprecated these packages after #924 merged, so the
committed lockfile went stale without any code change. Moving off
`yuku-*` (the notice points to the single `yuku` package) belongs to the
dependency work in AR-116576, not this PR.
- Unblocks #925.

https://claude.ai/code/session_011eAjWULbYuhHGiP3ohoHGq

---
_Generated by [Claude Code](https://claude.ai/code)_

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant