Skip to content

Conversation

zamoore
Copy link
Contributor

@zamoore zamoore commented Sep 22, 2025

πŸ“Œ 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
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've worked with GRC to document the impact of any changes to security controls.
    Examples of changes to controls include access controls, encryption, logging, etc.
  • If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.
    Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.

Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
hds-showcase Ready Ready Preview Sep 24, 2025 6:15pm
hds-website Ready Ready Preview Sep 24, 2025 6:15pm

@hashibot-hds hashibot-hds added packages/components docs-website Content updates to the documentation website showcase labels Sep 22, 2025
@zamoore zamoore changed the title Zamoore/hds 5509/remove deprecated hds menu primitive Remove deprecated HdsMenuPrimitive component Sep 22, 2025
@zamoore zamoore force-pushed the zamoore/hds-5509/remove-deprecated-HdsMenuPrimitive branch from a035729 to 73be271 Compare September 22, 2025 21:23
@zamoore zamoore force-pushed the zamoore/hds-5509/remove-deprecated-HdsMenuPrimitive branch from 73be271 to 62f0515 Compare September 23, 2025 17:43
@zamoore zamoore force-pushed the zamoore/hds-5509/remove-deprecated-HdsMenuPrimitive branch from e73b7a3 to ca8f71a Compare September 23, 2025 18:46
Copy link
Contributor

@didoo didoo left a comment

Choose a reason for hiding this comment

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


export interface HdsDropdownSignature {
Args: MenuPrimitiveSignature['Args'] & {
Args: Pick<HdsPopoverPrimitiveSignature['Args'], 'isOpen' | 'onClose'> & {
Copy link
Contributor

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

Copy link
Contributor Author

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.

"@hashicorp/design-system-components": major
---

Removed the deprecated `HdsMenuPrimitive` component
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Removed the deprecated `HdsMenuPrimitive` component
Removed the deprecated `MenuPrimitive` component

@dchyun
Copy link
Contributor

dchyun commented Sep 24, 2025

[Nit] The dropdown scss file has one comment that is referencing the menu primitive on line 210.

// LIST
// UL ELEMENT
// GOES INSIDE HDS::MenuPrimitive's :content block

@zamoore zamoore requested review from dchyun and didoo September 24, 2025 18:11
@zamoore zamoore merged commit 81d8152 into main-5.0.0 Sep 24, 2025
16 checks passed
@zamoore zamoore deleted the zamoore/hds-5509/remove-deprecated-HdsMenuPrimitive branch September 24, 2025 18:27
zamoore added a commit that referenced this pull request Sep 24, 2025
zamoore added a commit that referenced this pull request Sep 30, 2025
zamoore added a commit that referenced this pull request Oct 1, 2025
zamoore added a commit that referenced this pull request Oct 2, 2025
zamoore added a commit that referenced this pull request Oct 3, 2025
zamoore added a commit that referenced this pull request Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-website Content updates to the documentation website packages/components showcase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants