feat(ui): add ui-components package #7401
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Warning
This is a draft. It's not ready for merging yet, but a review would be incredibly helpful! 😊
Description
This pull request (PR) introduces the integration of the
@node-core/ui-components
package into the website's codebase. Most components have been successfully migrated to the new package.Integration
use[Something]()
), awith[Component].tsx
wrapper has been introduced.ariaLabel
orpathname
) has been added to handle the simple content.next
, aWrapper={...}
property has been added. Ideally, only a minimal number of components should depend on this pattern.Storybook
apps/site
andpackages/ui-components
folders. The goal is to consolidate Storybook into thepackages/ui-components
folder before merging this PR (as per @ovflowd's suggestion).Tailwind
packages/ui-components
folder and is imported into theapps/site
folder.@AugustinMauroy If you want to get a head start, feel free to submit a PR into this branch with the new test runner. There's no rush—this isn't a priority right now.