egoist / tailwindcss-icons

Use any icon (100,000+) from Iconify, for TailwindCSS
MIT License
830 stars 17 forks source link

No longer able to discover any icon when using `@iconify/json` #38

Closed benjamincanac closed 5 months ago

benjamincanac commented 5 months ago

Since https://github.com/egoist/tailwindcss-icons/releases/tag/v1.4.0 release and #29 or maybe https://github.com/egoist/tailwindcss-icons/commit/b53dde99c57d8f0735a851c6065d4313a13cbdc5, I'm not able to discover any icon when using the @iconify/json package.

It was done previously by passing all to getIconCollections.

I've also tried to use the dynamicIconsPlugin, but I don't really want to use such syntax <span class="i-[mdi-light--home]"></span> as mentioned here as it would cause a breaking change.

hyoban commented 5 months ago

Sorry, I forgot to mark this as a breaking change.

Maybe i should revert and still support all options? But this also seems to have an impact on the auto-completion of the tailwindcss vscode plugin. Or there is no problem when using it with UIcon?

github-actions[bot] commented 5 months ago

:tada: This issue has been resolved in version 1.7.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: