Skip to content

feat(button): add anchor button #797 #798

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MerlinMoos
Copy link
Contributor

@MerlinMoos MerlinMoos commented Jul 31, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Which package are you modifying?

Primitives

  • accordion
  • alert
  • alert-dialog
  • aspect-ratio
  • avatar
  • badge
  • breadcrumb
  • button
  • calendar
  • card
  • carousel
  • checkbox
  • collapsible
  • combobox
  • command
  • context-menu
  • data-table
  • date-picker
  • dialog
  • dropdown-menu
  • form-field
  • hover-card
  • icon
  • input
  • input-otp
  • label
  • menubar
  • navigation-menu
  • pagination
  • popover
  • progress
  • radio-group
  • scroll-area
  • select
  • separator
  • sheet
  • skeleton
  • slider
  • sonner
  • spinner
  • switch
  • table
  • tabs
  • textarea
  • toggle
  • toggle-group
  • tooltip
  • typography

Others

  • trpc
  • nx
  • repo
  • cli

What is the current behavior?

Currently it's not possible to to disable a hlmBtn on a element

Closes #797

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@MerlinMoos
Copy link
Contributor Author

hey @ashley-hunter as already discussed in Discord, here is my solution for that :)

If you have any sugestions, please let me know

@thatsamsonkid
Copy link
Collaborator

@MerlinMoos - Just curious, what's the reason for the separate set of directives? Could we not just determine what the host element is in a new brnButton directive and if it's attached to an anchor do the logic you have there or maybe I'm missing something

@MerlinMoos MerlinMoos force-pushed the add-disabled-to-anchor branch from 697fffc to 76e1585 Compare August 2, 2025 07:21
@MerlinMoos
Copy link
Contributor Author

hey @thatsamsonkid you are right, I changed it. Maybe you can have a second look.

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.

button: set disabled state on tags with a hlmBtn
2 participants