Skip to content
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

auro-lockup: Alias oneworld due to Svelete 5 issues #48

Open
mspears-alaska opened this issue Jan 7, 2025 · 0 comments
Open

auro-lockup: Alias oneworld due to Svelete 5 issues #48

mspears-alaska opened this issue Jan 7, 2025 · 0 comments
Assignees
Labels
auro-lockup not-reviewed Issue has not been reviewed by Auro team members Type: Feature New Feature

Comments

@mspears-alaska
Copy link

mspears-alaska commented Jan 7, 2025

Is your feature request related to a problem? Please describe.

In Svelte 5, attributes starting with on are shadowed (see my issue on the svelte repo here), this means the oneworld property isn't usable without a workaround.

Describe the solution you'd like

Can we get an aliased attribute like hasOneworld?

Describe alternatives you've considered

We recently found out you can just do the workaround below, but it's less than ideal.

{@html "<auro-lockup oneworld></auro-lockup>"}

So far no other workaround has been suggested on the svelte issue.

Additional context

This also affects other components like <auro-icon> and it's ondark attribute.

Exit criteria

No response

@mspears-alaska mspears-alaska added auro-lockup not-reviewed Issue has not been reviewed by Auro team members Type: Feature New Feature labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-lockup not-reviewed Issue has not been reviewed by Auro team members Type: Feature New Feature
Projects
None yet
Development

No branches or pull requests

3 participants