freeCodeCamp/client
Muhammed Mustafa f0aecf173d
feat(client): expose the language button to the navbar (#50084)
* feat(client): expose the language button to the navbar

* clean extra logic

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>

* show the language menu

* set keyboard navigation logic

* change the language icon

* sort float values

* fix the test

* remove the menu roles from the languagelist

Co-authored-by: Bruce B <bbsmooth@gmail.com>

* add id to button and polish the attributes

Co-authored-by: Co-authored-by: Bruce B <bbsmooth@gmail.com>

* revert to production focus events

Co-authored-by: Co-authored-by: Bruce B <bbsmooth@gmail.com>

* fix the menu not closing and fix the label

Co-authored-by: Co-authored-by: Bruce B <bbsmooth@gmail.com>

* make event passing more explicit

Co-authored-by: Co-authored-by: Bruce B <bbsmooth@gmail.com>

* Let screenreaders annouce that the expand is closed

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

* let screenreader annouce list is closed

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

* polish the logic around the styling

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

* add comment about accessiblity function

* oh right active doesn't work like that

* hide the menu if the click is outside it

Co-authored-by:  Bruce B <bbsmooth@gmail.com>

* fix the contrast in the check mark

Co-authored-by:  Bruce B <bbsmooth@gmail.com>

* Stop the menu closing when clicking on the searchbar

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

* make the list hover and focus consistent

Co-authored-by: Co-authored-by:  Bruce B <bbsmooth@gmail.com>

---------

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-04-26 22:44:03 +02:00
..
i18n feat(client): expose the language button to the navbar (#50084) 2023-04-26 22:44:03 +02:00
plugins fix: blocknameify no longer (#49997) 2023-04-10 21:21:00 +05:30
src feat(client): expose the language button to the navbar (#50084) 2023-04-26 22:44:03 +02:00
static chore(a11y): standardize keyboard focus (#49579) 2023-03-24 20:31:55 +02:00
utils feat: add css foundations block - the odin project (#49377) 2023-04-26 10:22:57 -07:00
.babelrc.js feat(client): add pug to prism languages (#47910) 2022-10-08 14:32:09 +05:30
.gitignore chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
gatsby-browser.js chore: rename redux actions (#49320) 2023-02-10 12:04:17 +00:00
gatsby-config.js fix: delete an artefact from gatsby-config.js (#49700) 2023-03-21 13:50:50 +05:30
gatsby-node.js fix: blocknameify no longer (#49997) 2023-04-10 21:21:00 +05:30
gatsby-ssr.js chore: rename redux actions (#49320) 2023-02-10 12:04:17 +00:00
package.json fix: connect LowerJaw to redux (#50180) 2023-04-26 12:20:58 +02:00
postcss.config.js feat: commandline chic 2019-08-20 13:37:11 +05:30
tsconfig.json feat: migrate to pnpm for better workspace DX (#49293) 2023-03-02 18:17:44 +00:00
webpack-workers.js feat: migrate to pnpm for better workspace DX (#49293) 2023-03-02 18:17:44 +00:00