-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat: Add ProductTitle Molecule #1418
Conversation
Signed-off-by: Arthur Andrade <arthurfelandrade@gmail.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 2911f4f:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Just noticed some minor detail.
packages/ui/src/molecules/ProductTitle/stories/ProductTitle.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Filipe W. Lima <filipe.lima@vtex.com.br>
Co-authored-by: Fanny Chien <fannychienn@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[data-fs-product-title] [data-fs-product-title-addendum] { | ||
margin-top: 1rem; | ||
color: #5d666f; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testId?: string | ||
} | ||
|
||
function ProductTitle({ title, label, refTag= "Ref.: ",refNumber, testId= 'store-product-title', ...otherProps }: ProductTitleProps) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I miss the forwardRef
.
Signed-off-by: Arthur Andrade arthurfelandrade@gmail.com
What's the purpose of this pull request?
This PR is part of the Component Placement project, to bring some components from starters.
How it works?
This PR places the
ProductTitle
component to Faststore with new data-attributes.How to test it?
Component in FastStore
Component in BaseStore
Tests will be implemented in next step of Component Placement
Starters Deploy Preview
References
Move ProductTitle component to FastStore