carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.59k stars 1.76k forks source link

[Proposal]: Export internal utilities #16243

Open tay1orjones opened 2 months ago

tay1orjones commented 2 months ago

Proposal

There are a series of helper functions, hooks, and other utilities within the monorepo codebase that multiple consumers have requested be exported so that they can use them within their projects.

So far this idea hasn't been acted on because these have been considered internal-only helpers intended to not be bound by semver. By publishing these and binding them to semver we run the risk of over-burdening the core system maintainers.

That said, this is a big opportunity for code reuse across the Carbon ecosystem. Having a dedicated package to surface helper utilities would reduce code duplication and encourage a unified approach to the purpose of each utility.

Open questions

List of proposed helpers to export

github-actions[bot] commented 2 months ago

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

tay1orjones commented 2 months ago

Related https://github.com/carbon-design-system/carbon/issues/16242