aws / mynah-ui

The chat interface of Amazon Q Developer (for IDEs)
https://aws.github.io/mynah-ui/
Apache License 2.0
15 stars 14 forks source link

fix: add data-label property to buttons #140

Closed ivikash closed 3 weeks ago

ivikash commented 3 weeks ago

Add data-label attributes DOM. These data attributes can then be used by IDEs to define custom CSS, based on the button text.

Screenshot 2024-10-16 at 3 13 42 PM Screenshot 2024-10-16 at 3 14 25 PM

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

dogusata commented 3 weeks ago

We're not allowing custom css for buttons or any other component. In case different type of button styles needed, they should be added and can be picked up by using data properties. Currently, this is not a component library, and we won't allow overriding elements. This can be done when the component's are being exposed as a component library in a different repo.