Add ComposingCard component with Storybook documentation#2149
Merged
rSnapkoOpenOps merged 4 commits intomainfrom Mar 19, 2026
Merged
Add ComposingCard component with Storybook documentation#2149rSnapkoOpenOps merged 4 commits intomainfrom
rSnapkoOpenOps merged 4 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new ComposingCard UI primitive to the ui-components package and documents it via Storybook, making it available to consumers through the package barrel export.
Changes:
- Introduce
ComposingCardcomponent (forwardRef wrapper) with optionaltransparentbackground. - Add Storybook stories/autodocs for
ComposingCard(Default + Transparent). - Export
ComposingCardfrompackages/ui-components/src/index.ts.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/ui-components/src/ui/composing-card.tsx | Adds the new ComposingCard component implementation. |
| packages/ui-components/src/stories/composing-card.stories.tsx | Adds Storybook documentation and example states for ComposingCard. |
| packages/ui-components/src/index.ts | Re-exports ComposingCard from the package entrypoint. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
cezudas
reviewed
Mar 19, 2026
| ({ className, transparent = false, children, ...props }, ref) => ( | ||
| <div | ||
| ref={ref} | ||
| className={cn( |
Contributor
There was a problem hiding this comment.
with cn you can do this, and not use the ternary
className={cn(
'w-full rounded-2xl border',
{
'bg-transparent': transparent,
'bg-neutral-50 dark:bg-background': !transparent,
},
className,
)}
cezudas
approved these changes
Mar 19, 2026
alexandrudanpop
approved these changes
Mar 19, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Fixes OPS-3926