mirror of https://github.com/hashicorp/consul
bf42dd6c4c
* server: run the api checks against the path without params (#19205) * Clone proto into deepcopy correctly (#19204) * chore: update version and nightly CI for 1.17 (#19208) Update version file to 1.18-dev, and replace 1.13 nightly test with 1.17. * mesh: add validation hook to proxy configuration (#19186) * mesh: add more validations to Destinations resource (#19202) * catalog, mesh: implement missing ACL hooks (#19143) This change adds ACL hooks to the remaining catalog and mesh resources, excluding any computed ones. Those will for now continue using the default operator:x permissions. It refactors a lot of the common testing functions so that they can be re-used between resources. There are also some types that we don't yet support (e.g. virtual IPs) that this change adds ACL hooks to for future-proofing. * NET-5073 - ProxyConfiguration: implement various connection options (#19187) * NET-5073 - ProxyConfiguration: implement various connection options * PR feedback - LocalConnection and InboundConnection do not affect exposed routes. configure L7 route destinations. fix connection proto sequence numbers. * add timeout to L7 Route Destinations * Relplat 897 copywrite bot workarounds (#19200) Co-authored-by: Ronald Ekambi <ronekambi@gmail.com> * mesh: add xRoute ACL hook tenancy tests (#19177) Enhance the xRoute ACL hook tests to cover tenanted situations. These tests will only execute in enterprise. * resource: enforce lowercase v2 resource names (#19218) * mesh: add DestinationPolicy ACL hook tenancy tests (#19178) Enhance the DestinationPolicy ACL hook tests to cover tenanted situations. These tests will only execute in enterprise. * catalog: add FailoverPolicy ACL hook tenancy test (#19179) * Upgrade @hashicorp/design-system-tokens to 1.9.0 * Upgrade @hashicorp/design-system-components to 1.8.1 * Upgrade @hashicorp/design-system-components and ember-in-viewport * Explicitly install ember-modifier@4.1.0 * rename copy-button * backport of commit |
||
---|---|---|
.. | ||
action | ||
item | ||
separator | ||
README.mdx | ||
index.hbs |
README.mdx
# Menu A component use for menu systems with the correct aria attributes applied. Internally uses our `{{aria-menu}}` modifier for aria keyboarding. Additionally it is made to work in tandem with the `<Disclosure />` component if required (a relatively common usecase) This component should not be used for top site navigation, but it should be used for menus within the top site navigation for choosing options, for example choosing a namespace or partition etc. ```hbs preview-template <Menu as |menu|> <menu.Item> <menu.Action>Item 1</menu.Action> </menu.Item> <menu.Separator /> <menu.Item> <menu.Action>Item 2</menu.Action> </menu.Item> <menu.Separator> Title </menu.Separator> <menu.Item> <menu.Action>Item 3</menu.Action> </menu.Item> </Menu> ``` ## Arguments | Argument | Type | Default | Description | | --- | --- | --- | --- | | `disclosure` | `DisclosureInterface` | | An object with following the `<Disclosure />` components API. When used no other arguments are necessary | | `onclose` | `function` | | A function to call when a menu close is requested | | `event` | `Event` | | A potential event used to open the menu | ## Exported API | Name | Type | Description | | --- | --- | --- | | `Item` | `GlimmerComponent` | A component for adding a menu item with aria attributes correctly applied | | `Separator` | `GlimmerComponent` | A component to be used for separating sections in the menu with aria attributes correctly applied. When used as block component you can add some sort of testual title to the separator | | `Action` | `GlimmerComponent` | A contextual '<Action />' component with aria attributes correctly applied | ## See - [Template Source Code](./index.hbs) ---