-
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
Stylelint v16 update #3250
Stylelint v16 update #3250
Conversation
🦋 Changeset detectedLatest commit: 596ad7e The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
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 demo5ea14a9e3 | 91 komponenter | 144 stories |
@navikt/core/css/modal.css
Outdated
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
inset: 0; |
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.
caniuse claims 1.3% in Norway use an iOS device that doesn't support inset
🤔 https://caniuse.com/mdn-css_properties_inset
Not sure where we should draw the line. I see we have used it other places though, so I guess we have "ripped of the band-aid" already?
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.
Since this is only applied when using the polyfill, one could assume that inset might not be supported.. So reverted the change 👍
Co-authored-by: Halvor Haugan <[email protected]>
Description
Migrated to Styleint v16 🎉
Seems like our plugin still works as expected 🎉
Biggest changes:
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.")