-
Notifications
You must be signed in to change notification settings - Fork 11
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
.gjs conversion #440
.gjs conversion #440
Conversation
9263de4
to
a3db7b9
Compare
The linting faillure is because of node 14.. We should bump it to 18 for the dev / CI setup and fix issues for node 14 when we run into them (until the next major, which should be released in the near future). Edit: Resolved by #441 |
It seems there is an issue with accidental leading and trailing whitespace due to the conversion. I'm trying to figure out what the best way to deal with this is. Edit: I went with the |
We were using this but didn't list this as a dependency yet. It only worked until now because an other addon brings it in.
This version includes a new convenience import which is nice when we use it in .gjs files.
This adds new import paths for all public (non-deprecated) components and modifiers. This makes it easier to use from .gjs components.
We also inlined the `au-props` modifier since we don't use it in other component and we considered it a private modifier.
This also allows us to remove the (private) legend and content components since we can now define them in the parent component file and make them truly private.
This has the benefit that the private child components can now be inlined so they are really private.
This also allows us to inline the `AuNavigationNarrator` component.
This also allows us to inline the private body and footer components.
a3db7b9
to
21f4824
Compare
The named export from `@ember/component` didn't exist until v4.1 so we fall back to the internal import path on older Ember versions.
This sets up ember-template-imports and converts most components to .gjs files.
Github doesn't have syntax highlighing support for .gjs yet since it requires a certain amount of files in (public?) repos. With this change we're helping a bit 😄.
This is an internal change, consumers shouldn't notice anything different and if they do it's most likely a bug.