Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .changeset/mighty-masks-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@hashicorp/design-system-components": patch
---

<!-- START components/button -->
`Button` - Removed CSS declaration for pseudo element in disabled state
<!-- END -->

<!-- START components/dropdown -->
`Dropdown` - Removed CSS declaration for pseudo element in disabled state
<!-- END -->

<!-- START components/form/file-input -->
`FileInput` - Removed CSS declaration for pseudo element in disabled state that led to invalid CSS (ignored by browsers)
<!-- END -->
4 changes: 0 additions & 4 deletions packages/components/src/styles/mixins/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ $hds-button-size-props: (
border-color: var(--token-color-border-primary);
box-shadow: none;
cursor: not-allowed;

&::before {
border-color: transparent;
}
Copy link
Contributor Author

@KristinLBradley KristinLBradley Aug 26, 2025

Choose a reason for hiding this comment

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

Result of deleting this style:

  • ::file-selector-button::before & similar styles no longer exist in the compiled CSS output (packages/components/dist/styles/@hashicorp/design-system-components.css)
  • There are no Percy diffs

}

@mixin hds-button-state-focus() {
Expand Down