You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, styles are typed as a string in the element (or createElement) function, which does not help at all the developer.
Describe the solution you'd like
Use an object definition when using any element from the @arachnide/html library, and possibly for the future mathml and svg libraries.
Describe alternatives you've considered
Instead of introducing a breaking change, change the signature of the @arachnide/cssstyles function to be better typed and provide a ton of useful types for known css properties.
Additional context
This would introduce a breaking change, since the @arachnide/css library does respect the type expected from the style property of the @arachnide/html elements.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, styles are typed as a string in the
element
(orcreateElement
) function, which does not help at all the developer.Describe the solution you'd like
Use an object definition when using any element from the
@arachnide/html
library, and possibly for the futuremathml
andsvg
libraries.Describe alternatives you've considered
Instead of introducing a breaking change, change the signature of the
@arachnide/css
styles
function to be better typed and provide a ton of useful types for known css properties.Additional context
This would introduce a breaking change, since the
@arachnide/css
library does respect the type expected from thestyle
property of the@arachnide/html
elements.The text was updated successfully, but these errors were encountered: