As discussed today on our call, it would be amazing to have the ability for advanced users to have more control over how the CSS styles and markup are generated.
The scope of the feature would be:
the element ships with the same defaults we currently have
a user can optionally override the default templating function:
used to generate the HTML for each result row
a user can optionally provide a custom CSS stylesheet which can be used to:
override default styles (which are otherwise impossible to do since they are rendered on the shadow DOM)
add styles for any custom HTML elements used in non-standard templating
As noted on the call, it may be beneficial to abstract the CSS variables used for padding etc away from the DOM structure and specific class naming which may change over time. This may either be done as part of this work or as a subsequent feature. For Example.
As discussed today on our call, it would be amazing to have the ability for advanced users to have more control over how the CSS styles and markup are generated.
The scope of the feature would be:
As noted on the call, it may be beneficial to abstract the CSS variables used for padding etc away from the DOM structure and specific class naming which may change over time. This may either be done as part of this work or as a subsequent feature. For Example.