Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SquareDashedIcon and BoxSelect not being exported in lucide-react #2733

Open
6 of 30 tasks
tiagoskaneta opened this issue Jan 13, 2025 · 0 comments
Open
6 of 30 tasks
Labels
🐛 bug Something isn't working

Comments

@tiagoskaneta
Copy link

tiagoskaneta commented Jan 13, 2025

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • source/main
  • other/not relevant

Version

0.471.1

Can you reproduce this in the latest version?

  • Yes
  • No

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

It looks like there is a mix up in the exports in the new version (0.471.x).

Given that box-select is an alias of square-dashed, I'd expect SquareDashed (both with and without the Icon suffix) and BoxSelect (also both with and without the suffix) to be present in the exports.

But both SquareDashedIcon and BoxSelect seem to missing. Meaning SquareDashed is only being re-exported as BoxSelectIcon.

TLDR:

  • ✅ SquareDashed
  • ❌ SquareDashedIcon
  • ✅ BoxSelectIcon
  • ❌ BoxSelect

Steps to reproduce

  1. Try importing SquareDashedIcon or BoxSelect

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
@tiagoskaneta tiagoskaneta added the 🐛 bug Something isn't working label Jan 13, 2025
@tiagoskaneta tiagoskaneta changed the title SquareDashedIcon and BoxSelect not being exported SquareDashedIcon and BoxSelect not being exported in lucide-react Jan 13, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant