Skip to content

Commit

Permalink
Merge pull request #981 from WestpacGEL/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jaortiz authored Jan 30, 2025
2 parents 079d1e4 + 70486b5 commit b684632
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 5 deletions.
7 changes: 7 additions & 0 deletions apps/protoform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# protoform

## 0.2.12

### Patch Changes

- Updated dependencies [4179a06]
- @westpac/ui@0.34.1

## 0.2.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/protoform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protoform",
"version": "0.2.11",
"version": "0.2.12",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
7 changes: 7 additions & 0 deletions apps/site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# site

## 0.3.12

### Patch Changes

- Updated dependencies [4179a06]
- @westpac/ui@0.34.1

## 0.3.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "site",
"version": "0.3.11",
"version": "0.3.12",
"private": true,
"scripts": {
"build": "next build",
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @westpac/ui

## 0.34.1

### Patch Changes

- 4179a06: Fix button group keyboard accessibility bug

## 0.34.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@westpac/ui",
"version": "0.34.0",
"version": "0.34.1",
"license": "MIT",
"sideEffects": false,
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ export function ButtonGroupButton({ className, label, ...props }: ButtonGroupBut
const { inputProps, isSelected, isDisabled } = useRadio({ ...props, children: label }, state, ref);
const { isFocusVisible, focusProps } = useFocusRing();
const styles = buttonStyles({ block, isDisabled, isFocusVisible });
const key = isSelected ? 'selected' : 'not-selected';

return (
<label className={styles.base({ className })} key={key}>
<label className={styles.base({ className })}>
<VisuallyHidden>
<input {...inputProps} {...focusProps} ref={ref} />
</VisuallyHidden>
Expand Down

0 comments on commit b684632

Please sign in to comment.