shepherd icon indicating copy to clipboard operation
shepherd copied to clipboard

Mismatch between documentation and actual implementation for classes property

Open davidperezvw opened this issue 1 year ago • 1 comments

As the documentation says (Step > Option > Classes), the classes defined in that property should be applied to the step's content element ("A string of extra classes to add to the step's content element.") but instead they are being applied in the shepherd-element shepherd-element.svelte.

Appart from that, it will be useful to seize this opportunity to review the model in order to provide more granular access to the classes setters for each of the elements (at least, for the title, text and buttons).

davidperezvw avatar Feb 02 '24 12:02 davidperezvw

Thank you for this feedback, we're working to do some non breaking changes to help make those clearer and this is good feedback on what elements we expose for styling.

chuckcarpenter avatar Feb 28 '24 23:02 chuckcarpenter