Skip to content

feat: enhance dropdown icon triggers with ghost and outline styles - #4

Merged
danielacarvalho5 merged 2 commits into
mainfrom
feat/new-components-and-variants
May 29, 2026
Merged

danielacarvalho5 merged 2 commits into
mainfrom
feat/new-components-and-variants

Conversation

@danielacarvalho5

@danielacarvalho5 danielacarvalho5 commented May 29, 2026 •

Copy link
Copy Markdown
Contributor

This pull request enhances the HDropdownComponent by expanding the iconTrigger option to support both "ghost" and "outline" visual styles, and updates the component and its stories to demonstrate these new options. The changes improve flexibility for consumers of the dropdown menu and add a new outlined icon trigger style.

Component enhancements:

Styling updates:

Storybook/demo updates:

  • Split the previous IconTrigger story into two: IconTriggerGhost and IconTriggerOutline, each demonstrating one of the new trigger styles. (projects/hestia-ui/src/lib/menu/menu.stories.ts [1] [2]

Code cleanup:

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the HDropdownComponent to support a new 'outline' icon trigger style in addition to the existing 'ghost' style (previously represented by a boolean), adding corresponding CSS classes and updating the Storybook stories. The reviewer pointed out that changing the iconTrigger input type is a breaking change and suggested using an input transform to map true or empty string values to 'ghost' to maintain backwards compatibility.

Comment thread projects/hestia-ui/src/lib/menu/menu.component.ts Outdated
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 29, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ui-kit 37798b1 Commit Preview URL

Branch Preview URL
May 29 2026, 10:13 AM

@danielacarvalho5
danielacarvalho5 merged commit 082afe7 into main May 29, 2026
3 checks passed
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.

1 participant