Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove blueprint.js dependency #1450

Open
jumpinjackie opened this issue Apr 5, 2023 · 1 comment
Open

Remove blueprint.js dependency #1450

jumpinjackie opened this issue Apr 5, 2023 · 1 comment
Assignees
Milestone

Comments

@jumpinjackie
Copy link
Owner

Although we use blueprint.js to provide a consistent UI foundation for various widgets/components, its usage does:

a) Bloat up our bundle size
b) Make our [embedding / use as a package] story a bit awkward as we may be consuming this library into an application not based on blueprint.js and our usage of blueprint.js may "infect" or override the application's existing styling.

In practice, our usage of blueprint.js is limited to:

  • Buttons
  • Styled form inputs
  • Slider controls
  • Non-ideal state placeholders
  • Cards
  • Callouts (stylized info/error/warning panels)
  • Dialog frames for modals
  • Menus
  • Toast-style notifications
  • Font/SVG icons

Most, if not, all can be replicated "in-house" or with a lower-footprint and un-opinionated, but themeable UI foundation library.

@jumpinjackie jumpinjackie added this to the 0.15 milestone Apr 5, 2023
@jumpinjackie jumpinjackie self-assigned this Apr 5, 2023
@jumpinjackie
Copy link
Owner Author

Radix UI looks to be a decent alternative in terms of what we're using.

A key selling point here is that it is "headless", so it does not impose any pre-defined styling constraints on downstream consumers of this viewer package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant