-
Notifications
You must be signed in to change notification settings - Fork 37
chore: remove empty theme-extensions and theme-forms files [Draft] #8564
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?
Changes from all commits
c77485c
883b3e5
daf7df4
c63e9f1
8619f45
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -75,11 +75,9 @@ if (isCI) { | |
| expect(global.components[0]).toContain( | ||
| 'ATTENTION: This file is auto generated' | ||
| ) | ||
| expect(global.components[0]).toContain('@charset "UTF-8";') | ||
| expect(global.components[0]).not.toContain(';--') | ||
| expect(global.components[0]).not.toContain('}:root{--') | ||
|
|
||
| expect(global.components[1]).toContain('@charset "UTF-8";') | ||
|
Comment on lines
-78
to
-82
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, looks a bit suspicious 🤔
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it was to circumvent importing empty files, since there weren't any UTF-8 characters in there when empty, but probably not the best way to solve this no 🤔 |
||
| expect(global.components[1]).toContain(';--') | ||
| expect(global.components[1]).toContain('}:root{--') | ||
| }) | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
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.
Let's discuss if this is "safe" to remove now or if we should wait until v12 🤔
Could this PR be breaking for any of our consumers who do
import '@dnb/eufemia/style/themes/ui/extensions'? If so, I guess we could still keep the "export" (even though it will not to anything) with a TODO comment for remember to removing it in v12.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.
Yeah, that might be a bit breaking 😄