Skip to content

Commit

Permalink
Merge branch 'feat/carbon-for-ibm-dotcom-v2' into fix/video-player-v2…
Browse files Browse the repository at this point in the history
…-alignment
  • Loading branch information
kennylam authored Nov 14, 2023
2 parents 30dfebb + c4ebf0a commit bc4c8cc
Show file tree
Hide file tree
Showing 25 changed files with 587 additions and 819 deletions.
14 changes: 13 additions & 1 deletion docs/dotcom-v2-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ For Carbon v11 migration guidance, see their
| callout-with-media | View [changes](#callout-with-media). |
| callout-quote | View [changes](#callout-quote). |
| card | View [changes](#card). |
| card-group | View changes [here](#card-group) |
| card-group-card-link-item | Deprecated in favor of [card](#card) or [content-item](#content-item). |
| card-in-card | No API changes. |
| card-link | Deprecated in favor of [card](#card) (link variant). |
Expand Down Expand Up @@ -66,7 +67,7 @@ For Carbon v11 migration guidance, see their
| link-with-icon | No API changes. |
| logo-grid | Deprecated in favor of `content-section` or `content-block` combined with `image-group`. |
| pictogram-item | Deprecated in favor of `content-item` (pictogram variation). |
| quote | No API changes. |
| quote | View [changes](#quote). |
| scroll-animations | No API changes. |
| search-with-typeahead | No API changes. |
| table-of-contents | No API changes. |
Expand Down Expand Up @@ -96,6 +97,14 @@ For Carbon v11 migration guidance, see their
options
- New `link` property which takes the place of the deprecated `card-link`

### Card group

- Removed `outline` property
- New grid mode options: `Default` with a 32px gap, `Narrow` with a 16px gap, and `Condensed` with no gaps inbetween
- Grid mode options `Collapsed` has been replaced with `Condensed`
- Removed grid mode option `Border`
- Deprecated `card-link` option in Card group

### Content group banner

- `content-group-banner` renamed to `in-page-banner`
Expand Down Expand Up @@ -171,6 +180,9 @@ information.
- `link-list-item-card` has been replaced with `link-list-item`
- `link-list-item-card-cta` has been replaced with `link-list-item-cta`

### Quote
- Removed `color-scheme` `inverse` option in favor of `callout-quote (inverse)`

### Universal banner

- `universal-banner` renamed to `global-banner`
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
height: 100%;
display: block;
outline: none;

.#{$c4d-prefix}--image__img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
}

.#{$prefix}--background-media--mobile-position {
Expand Down
Loading

0 comments on commit bc4c8cc

Please sign in to comment.