-
Notifications
You must be signed in to change notification settings - Fork 42
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
[Darkside] Implement className-switch #3586
Conversation
🦋 Changeset detectedLatest commit: d30f8f9 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Storybook demo / Chromatic📝 Changes to review: 16af1b120e | 91 components | 135 stories |
{icon} | ||
<span className="sr-only"> | ||
<span className={cn("sr-only")}> |
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.
hmm, maybe i was a bit overzealous in this semi-automatic process... though it shouldn't matter much (renaming does nothing if it doesn't match?... will waste a few more CPU cycles though... I think it might be easier to scan later for changes that hit classNames where there isn't any navds
to rename and remove them then? 🤔 )
* 🚚 Rename all .navds prefixes to .aksel * 📝 Changeset * 📝 MD-docs
Description
Component Checklist 📝
@navikt/core/css/config/_mappings.js
)@navikt/core/css/tokens.json
)@navikt/aksel-stylelint/src/deprecations.ts
)@navikt/core/react/src/index.ts
and@navikt/core/react/package.json
)@navikt/core/css/index.css
)<Component>: <gitmoji?> <Text>.
E.g. "Button: ✨ Add feature xyz.")