-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
One of the teams in SIL has created a new language selector.
Here is a demo:
https://sillsdev.github.io/EthnoLib/?path=/story/demos-dialogdemo--primary
Here is the architecture:
https://github.com/sillsdev/EthnoLib/blob/main/README.md
Dependencies:
https://github.com/sillsdev/EthnoLib/blob/main/components/language-chooser/common/find-language/package.json
From discussion:
There are three layers:
- Search Logic: @ethnolib/find-language
- Headless React Logic @ethnolib/language-chooser-react-hook
- Material UI Interface @ethnolib/Mui Language Chooser
So you can reuse whatever layer, and hopefully add alternatives, e.g. on layer 2, we could have a "Headless Svelte" or whatever.
I haven't looked much into "headless Svelte". With Scriptoria, we would want to style it with Tailwind/DaisyUI.
We would want to add the Svelte layer to the EthnoLib repository and use it from S2 (feature/svelte
branch).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request