Skip to content

Commit 1daa58f

Browse files
committed
chore(release): publish
- @zendeskgarden/[email protected]
1 parent 15d4e5c commit 1daa58f

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/menu/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.0.0](https://github.com/zendeskgarden/react-containers/compare/@zendeskgarden/[email protected]...@zendeskgarden/[email protected]) (2025-05-13)
7+
8+
- **container-menu:** introduces `getAnchorProps` in `useMenu` to handle anchor-specific attributes more cleanly. This update separates anchor logic from `getItemProps` for better modularity. ([#695](https://github.com/zendeskgarden/react-containers/issues/695)) ([15d4e5c](https://github.com/zendeskgarden/react-containers/commit/15d4e5cd08be7ab09621db4109190a139b42dcab))
9+
10+
### BREAKING CHANGES
11+
12+
- `getItemProps` no longer includes anchor-related props. Use `getAnchorProps` specifically for `<a>` tags now.
13+
- For `<li>` elements surrounding anchor items, keep using `getItemProps` as before.
14+
- `useMenu` doesn't manage selected link state automatically anymore. You'll need to either:
15+
- Set `selected: true` on items that should be selected by default, or
16+
- Use `props.selectedItems` to explicitly control selection (overrides default selection).
17+
618
## [0.5.1](https://github.com/zendeskgarden/react-containers/compare/@zendeskgarden/[email protected]...@zendeskgarden/[email protected]) (2025-04-08)
719

820
### Bug Fixes

packages/menu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zendeskgarden/container-menu",
3-
"version": "0.5.1",
3+
"version": "1.0.0",
44
"description": "Containers relating to Menu in the Garden Design System",
55
"license": "Apache-2.0",
66
"author": "Zendesk Garden <[email protected]>",

0 commit comments

Comments
 (0)