-
Notifications
You must be signed in to change notification settings - Fork 50
Remove deprecated HdsMenuPrimitive
component
#3224
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
Remove deprecated HdsMenuPrimitive
component
#3224
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
HdsMenuPrimitive
component
a035729
to
73be271
Compare
73be271
to
62f0515
Compare
e73b7a3
to
ca8f71a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of comments, but not blockers.
Also, you may want to update this comment too: https://github.com/hashicorp/design-system/blob/zamoore/hds-5509/remove-deprecated-HdsMenuPrimitive/packages/components/src/styles/components/dropdown.scss#L210
|
||
export interface HdsDropdownSignature { | ||
Args: MenuPrimitiveSignature['Args'] & { | ||
Args: Pick<HdsPopoverPrimitiveSignature['Args'], 'isOpen' | 'onClose'> & { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[thought] Probably a matter of personal preferences, but since it's only a couple of arguments that are picked, I would keep things simple and would use directly the PopoverPrimitive['Args']['***]
values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind that change.
.changeset/legal-swans-occur.md
Outdated
"@hashicorp/design-system-components": major | ||
--- | ||
|
||
Removed the deprecated `HdsMenuPrimitive` component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the deprecated `HdsMenuPrimitive` component | |
Removed the deprecated `MenuPrimitive` component |
[Nit] The dropdown scss file has one comment that is referencing the menu primitive on line 210.
|
π Summary
If merged, this PR removes the deprecated
HdsMenuPrimitive
component.π οΈ Detailed description
TBD
π External links
Jira ticket: HDS-5509
π Component checklist
π¬ Please consider using conventional comments when reviewing this PR.
π PCI review checklist
Examples of changes to controls include access controls, encryption, logging, etc.
Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.