Skip to content

Commit

Permalink
chore: Merge support into master (#2924)
Browse files Browse the repository at this point in the history
Co-authored-by: @NicholasBoll <[email protected]>
Co-authored-by: manuel.carrera <[email protected]>
  • Loading branch information
3 people authored Sep 16, 2024
2 parents 4ed130e + 45c51ce commit 67e64b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [v10.3.60](https://github.com/Workday/canvas-kit/releases/tag/v10.3.60) (2024-09-16)

### Components

- fix: Handle empty stack ref in useAssistiveHideSiblings ([#2920](https://github.com/Workday/canvas-kit/pull/2920)) ([@NicholasBoll](https://github.com/NicholasBoll))
## [v11.1.10](https://github.com/Workday/canvas-kit/releases/tag/v11.1.10) (2024-09-16)


Expand Down
2 changes: 1 addition & 1 deletion modules/react/popup/lib/hooks/useAssistiveHideSiblings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const useAssistiveHideSiblings = createElemPropsHook(usePopupModel)(model
}

const siblings = [
...((model.state.stackRef.current?.parentElement?.children as any) as HTMLElement[]),
...((model.state.stackRef.current?.parentElement?.children || []) as HTMLElement[]),
].filter(el => el !== model.state.stackRef.current);
const prevAriaHidden = siblings.map(el => el.getAttribute('aria-hidden'));
siblings.forEach(el => {
Expand Down
2 changes: 1 addition & 1 deletion modules/styling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"@emotion/serialize": "^1.0.2",
"@emotion/styled": "^11.6.0",
"@workday/canvas-kit-react": "^11.1.10",
"@workday/canvas-system-icons-web": "^3.0.0",
"@workday/canvas-tokens-web": "^2.0.0",
"@workday/canvas-system-icons-web": "^3.0.0",
"typescript": "4.2"
}
}

0 comments on commit 67e64b6

Please sign in to comment.