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

[Feat]: Introducing scoped registries in spectrum web components #3729

Open
1 task done
crav710 opened this issue Oct 18, 2023 · 1 comment
Open
1 task done

[Feat]: Introducing scoped registries in spectrum web components #3729

crav710 opened this issue Oct 18, 2023 · 1 comment
Labels
enhancement New feature or request needs jira ticket triage An issue needing triage

Comments

@crav710
Copy link
Contributor

crav710 commented Oct 18, 2023

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

Base component

Description of the requested feature

This relates to #3636 discussion for scoped registries.
Adding in support for Scoped Custom Element registries by using the polyfill to enable component libraries to have components defined in the local scope to avoid version mismatch conflicts. This helps in faster development and removes the host dependencies for ace-components.

Mockups or screenshots

Below screen shot is for scoped action bar implementation which has elements defined in its local scope.
ActionBar Scoped Registry

Implementation notes or ideas

For Implementing it a npm package like @lit-labs/scoped-registry-mixin could be used which creates scoped registry for the class & also passes the registry to attachShadow().

@crav710 crav710 added enhancement New feature or request triage An issue needing triage labels Oct 18, 2023
@Westbrook Westbrook removed the triage An issue needing triage label Oct 18, 2023
@Westbrook
Copy link
Contributor

Possibly of interest: webcomponents/polyfills#568

@najikahalsema najikahalsema added triage An issue needing triage needs jira ticket labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs jira ticket triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

3 participants