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

Allow override of data*-component attributes #870

Merged
merged 7 commits into from
Feb 22, 2023

Conversation

lyzadanger
Copy link
Contributor

There are legitimate reasons for components to override the data-component or data-composite-component attributes of another component, and I'm moving toward a philosophy — which I need to articulate in the near future — that permissiveness on overrides and control is the path to success. This PR ensures that all relevant components allow override of these attributes.

In one case, the DataTable component, role has been changed to be override-able, but otherwise I've kept my hands off other (non-data*-component) attributes.

Fixes #705

@lyzadanger lyzadanger merged commit 9f1c8a0 into main Feb 22, 2023
@lyzadanger lyzadanger deleted the attribute-override-ordering branch February 22, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Presentational components should (consistently) allow override of data-component attribute
2 participants