Skip to content

Commit

Permalink
[Accessibility] Fix "toogle" typo in class names (woocommerce#48700)
Browse files Browse the repository at this point in the history
* Fix "toogle" typo in class names

* Add changelog file

---------

Co-authored-by: Daniel W. Robert <danielwrobert@users.noreply.github.com>
  • Loading branch information
Manussakis and danielwrobert authored Aug 24, 2024
1 parent 099d0a6 commit a66d2f8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: tweak

Fix toogle typo in class names
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function DownloadsMenu( {
icon={ isOpen ? chevronUp : chevronDown }
variant="secondary"
onClick={ onToggle }
className="woocommerce-downloads-menu__toogle"
className="woocommerce-downloads-menu__toggle"
>
<span>{ __( 'Add new', 'woocommerce' ) }</span>
</Button>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.woocommerce-downloads-menu {
&__toogle {
&__toggle {
flex-direction: row-reverse;

> span {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
gap: $gap-smaller;
margin-right: $gap-smallest;

.variations-actions-menu__toogle:disabled {
.variations-actions-menu__toggle:disabled {
cursor: not-allowed;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function MultipleUpdateMenu( {
icon={ isOpen ? chevronUp : chevronDown }
variant="secondary"
onClick={ onToggle }
className="variations-actions-menu__toogle"
className="variations-actions-menu__toggle"
>
<span>{ __( 'Quick update', 'woocommerce' ) }</span>
</Button>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.variations-actions-menu {
&__toogle {
&__toggle {
flex-direction: row-reverse;

> span {
Expand Down

0 comments on commit a66d2f8

Please sign in to comment.