Description
I am trying to use the severity prop in my Button component (e.g., severity="warn"). However, I noticed that the custom variant selectors refer to data-p~="warn" instead of using data-p-severity="warn" directly. Is this intended behavior for the DX?
You can find the relevant code here.
Environment
- Package version:
tailwindcss-primeui v0.6.1
- Tools: Volt/Tailwind CSS
Steps to Reproduce
- Install
tailwindcss-primeui v0.6.1.
- Add the class passthrough to the button component (root) using the custom variant
p-{severity}.
Description
I am trying to use the
severityprop in my Button component (e.g.,severity="warn"). However, I noticed that the custom variant selectors refer todata-p~="warn"instead of usingdata-p-severity="warn"directly. Is this intended behavior for the DX?You can find the relevant code here.
Environment
tailwindcss-primeuiv0.6.1Steps to Reproduce
tailwindcss-primeuiv0.6.1.p-{severity}.