-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/color combobox #267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Feat/color combobox #267
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ba9633d to
d12b527
Compare
d12b527 to
ec11ebb
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #267 +/- ##
===========================================
- Coverage 100.00% 94.09% -5.91%
===========================================
Files 12 45 +33
Lines 694 1254 +560
Branches 100 264 +164
===========================================
+ Hits 694 1180 +486
- Misses 0 61 +61
- Partials 0 13 +13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ec11ebb to
7d3bfe0
Compare
… stylesheet is not loaded, query listbox before intersectionObserver
7d3bfe0 to
98fd609
Compare
f3eca99 to
2620c10
Compare
|
| // decorators: [StoryRootDecorator], | ||
| initialGlobals: { | ||
| storyRootClassname: 'voorbeeld-theme', | ||
| storyRootClassname: 'ma-theme', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
werkt dit? ik dacht dat storyRootClassname niet bestond
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| async loadLocalizations(lang: string) { | ||
| const SEPARATOR = '-'; | ||
| const subtags = lang.split(SEPARATOR); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ik weet niet 100% zeker of ik de context goed heb, maar je kunt ook Intl.Locale gebruiken om de language en region te pakken:
// lang = 'en-US';
const locale = new Intl.Locale(lang)
const region = locale.region; // 'US'
const language = locale.language; // 'en'There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
M'n gedachte was "stel nu er is een woord (of kleurnaam) in een taal hetzelfde, maar een locale of schrift heeft daar een uitzondering op", dan wil je naast je <language>.ts file ook een <language>-<region>.ts of een <language>-<region>-<script>.ts hebben die je dan inlaadt. Voor specifiek die cascade zit die functie erin. Ik kan m expliciet maken met het eerst via de Intl.locale doen of doen totdat de streepjes op zijn. Dat eerste is misschien wel duidelijker ja 😅
| }, | ||
| "scripts": { | ||
| "dev": "pnpm run storybook", | ||
| "dev": "pnpm run storybook --no-open", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THAAAANKKSSSS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair warning: losse PR gemaakt want ik trok het niet meer #287




No description provided.