tailwind-scrollbar-hide
tailwind-scrollbar-hide copied to clipboard
Upgrade tailwind v3
Hello,
I am finding this open source project very useful. Currently, the latest version of Tailwind CSS is version 3, and the ['responsive'] parameter used previously is no longer valid in this major version. Therefore, it seems necessary to update this open source project to address this change.
Breaking changes
Since the intended responsive prefix might not work in version 2, it would be advisable to mention any breaking changes when releasing the new version.
Playground
https://github.com/reslear/tailwind-scrollbar-hide/assets/22005861/9fae0bbc-56f4-4f23-b3d1-0f577109b828
LGTM 🔥 I don't know if it's possible to switch the project to typescript yet?
@reslear I think it's possible, but I don't think this project is actually necessary (tailwind v3 still supports esm). My screenshot is simply a capture of the d.ts file from tailwind (in node_modules). I didn't consider switching to typescript from plugin. 😄
so, i found in docs this is already default values:
respectPrefixlets you specify whether Tailwind should automatically prefix your classes with the user's configured prefix. Defaults to true.respectImportantlets you specify whether Tailwind should automatically mark declarations as !important if the user has configured that in their config file. Defaults to true.
https://github.com/tailwindlabs/tailwindcss/pull/412
i close PR but update tailwind, thx for investigate.