-
Notifications
You must be signed in to change notification settings - Fork 90
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
DRAFT: carousel revamp #4635
base: main
Are you sure you want to change the base?
DRAFT: carousel revamp #4635
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
be6e19b
to
da3e255
Compare
*/ | ||
id?: string; | ||
bordered?: boolean; |
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.
Styles might need to be checked, currently this shifts the alignment
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.
that's intentional, but the prop name might not give it very clearly... I will check this with @ivan-calderon but there is a Hero (transparent) version and a...norther(bordered) one hahaha will check the naming
const ControlsLabel = () => ( | ||
<Text as="span"> | ||
<strong> | ||
{/* TODO: check w dev, this will need changing or a formatter*/} |
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.
Probably fine for now, we should align with Pagination
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.
you mean secondary & no bold? pagination seem to be forcing the of in, no formatter... should there be one to allow users to format the info?
); | ||
const Controls = () => ( | ||
<div role="group" className={withBaseName("controls")}> | ||
{/* TODO: check w dev, currently some props are in the context and some out, should title go in context? */} |
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.
Personally I don't think title should go in context
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.
does CarouselHeader
make more sense than controls given the title is included in this component too? I think that is what making me noise
No description provided.