Skip to content
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

chore(card): introduce eyebrow and heading components #4783

Merged
merged 2 commits into from
Dec 29, 2020

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Dec 29, 2020

Related Ticket(s)

Refs #4326.

Description

Introduces <dds-card-eyebrow> and <dds-card-heading> to make a choice of the approach of <div>/<span> with specifying slot attribute vs. dedicated components to the latter, to align to other components. The dedicated components approach allows more control over styling.

Changelog

New

  • <dds-card-eyebrow> and <dds-card-heading> as a components dedicated to card eyebrow/heading, respectively.

Introduces `<dds-card-eyebrow>` and `<dds-card-heading>` to make a
choice of the approach of `<div>`/`<span>` with specifying `slot`
attribute vs. dedicated components to the latter, to align to other
components. The dedicated components approach allows more control over
styling.

Refs carbon-design-system#4326.
@asudoh asudoh added the package: web components Work necessary for the IBM.com Library web components package label Dec 29, 2020
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Dec 29, 2020

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Dec 29, 2020

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Dec 29, 2020

@asudoh asudoh force-pushed the card-heading-dedicated branch from b4b12ec to 3e39d21 Compare December 29, 2020 04:36
Copy link
Member

@jeffchew jeffchew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change, will help with the consistency!

@jeffchew jeffchew added the Ready to merge Label for the pull requests that are ready to merge label Dec 29, 2020
@kodiakhq kodiakhq bot merged commit 9338e2d into carbon-design-system:master Dec 29, 2020
@asudoh asudoh deleted the card-heading-dedicated branch December 30, 2020 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: web components Work necessary for the IBM.com Library web components package Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants