feat(drawer): add no-glass panel variant, test#12125
Merged
kmcfaul merged 3 commits intopatternfly:mainfrom Nov 6, 2025
Merged
feat(drawer): add no-glass panel variant, test#12125kmcfaul merged 3 commits intopatternfly:mainfrom
kmcfaul merged 3 commits intopatternfly:mainfrom
Conversation
kmcfaul
approved these changes
Nov 6, 2025
Collaborator
|
Preview: https://pf-react-pr-12125.surge.sh A11y report: https://pf-react-pr-12125-a11y.surge.sh |
rebeccaalpert
approved these changes
Nov 6, 2025
| hasNoBorder?: boolean; | ||
| /** Flag indicating that the drawer panel should be resizable. */ | ||
| isResizable?: boolean; | ||
| /** Flag indicating that the drawer panel should disable glass styles. **Note:** only applies to drawers with `isPill`. */ |
Member
Contributor
Author
There was a problem hiding this comment.
Thanks! I was on autopilot, this is how we write them in core. Updated!
Member
|
Test is failing because this modifiers object in this file doesn't have the no-glass attribute yet:
I hit this when I didn't have the right version of Core before. |
Contributor
Author
Doh! I forgot to add the |
Member
|
I didn't notice, so XD |
kmcfaul
approved these changes
Nov 6, 2025
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.

fixes #12121
when glass theme is enabled (
<html class="pf-v6-theme-glass">), a pill drawer will have glass styles by default.hasNoGlasswill remove those glass styles via.pf-m-no-glass. I'm applying the glass any timehasNoGlassis applied, not just ifisPillis true. Let me know if you'd like me to only apply.pf-m-no-glassifisPillis true.