* Update Nuxt dependencies
* Fix ref access in ChartDisplay
* Fix feature flags cookie options type error
* Specify type-only imports
* Fix shorthands access to tags outside of reactive scope
* Replace most useRoute calls with useRoute from vue-router
Nuxt's version of this composable is horrendously broken (nuxt/nuxt#21340)
* Import all svgs with ?component parameter
Fixes weird hydration issues + gives correct type
This commit adds a fallback to getProjectTypeMessage function to return
a generic project type whenever it encounters an unknown project type,
ensuring there are no errors when the new project types are added.
Implements loading of all locale files shipped with Omorphia package by
globbing and registering them during the `vintl:extendOptions` hook.
Also updated VIntl for Nuxt to ensure those files are properly loaded.
Previous version of VIntl for Nuxt had a somewhat broken module ID
tracking, preventing Omorphia locale files to be properly transformed
during the build; at least on systems like Windows, don't know about
*nix. The tracking approach was replaced in 1.8.0, and it seems to be
working now.
* Add initial language picker prototype
* Heap o' improvements and Pirate tongue
* Move .visually-hidden to shared utils and add copyright notice
* Add a little space before categories names
* Simplify search to input focus logic
* Remove larger font size and padding from the search field
* Some refactors
* Braw's descent into madness
Thanks web development!
In seriousness though, tried to make the list more accessible. Making it
fully accessible feels like unbearable task, so at least that.
* Litol refactoring
* Extract new strings and remove old ones
* Update @vintl/nuxt to 1.3.0
This fixes the bug where default locale won't be saved.
* A buncha refactorings and cleanup
* Scuttle the Pirate lingo
'Twas employed 'ere for testin' purposes, but fear not, for it shall be
returnin' in the days to come. Should ye require it fer testin', simply
roll back this here commit.
* Clean languages source file
* Change "US" to "United States"
I think it would make distinguishing two languages simpler as now
there's more than one letter of difference (US/UK vs United States/
United Kingdom).
Detecting that ad has failed to load with timeout is not accurate and
won't work on slow connections. This commit fixes that by changing
detection to use 'onerror' event on <script> tag instead, which will be
triggered if ad script fails to load due to blocking.
- Now styled as a proper link.
- Change :focus to :focus-visible to avoid link getting stuck in that
'hovered' state because focus does not actually change (it deffo
should though, something to fix in the future - should be one
fragment change).
- Removed all padding and transition.