Skip to content

Commit

Permalink
Merge branch 'main' into MWPW-133802
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheridan Sunier authored and Sheridan Sunier committed Jul 26, 2023
2 parents 848f925 + b4f873e commit efd1ca7
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 13 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@


## [0.6.36](https://github.com/adobecom/caas/compare/0.6.35...0.6.36) (2023-07-24)


### Bug Fixes

* Sets cards images as background images (MWPW-133908) ([d303afe](https://github.com/adobecom/caas/commit/d303afe1950b2767b9f30dd4273fc889704ce716))

## [0.6.35](https://github.com/adobecom/caas/compare/0.6.34...0.6.35) (2023-06-30)


Expand Down
6 changes: 5 additions & 1 deletion dist/app.css

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*!
<<<<<<< HEAD
* Chimera UI Libraries - Build 7/26/2023, 13:19:14
=======
* Chimera UI Libraries - Build 7/21/2023, 14:41:31
>>>>>>> main
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -50262,8 +50266,10 @@ var OneHalfCard = function OneHalfCard(props) {
'div',
{
'data-testid': 'consonant-OneHalfCard-img',
className: 'consonant-OneHalfCard-img' },
_react2.default.createElement('img', { src: image, alt: altText, 'aria-label': altText, loading: 'lazy' }),
className: 'consonant-OneHalfCard-img',
style: { backgroundImage: 'url("' + image + '")' },
role: altText && 'img',
'aria-label': altText },
hasBanner && !disableBanners && _react2.default.createElement(
'span',
{
Expand Down
8 changes: 8 additions & 0 deletions dist/main.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/main.source.js

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions less/components/consonant/cards/one-half.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@
border-top-right-radius: 4px;
text-align: center;
overflow: hidden;

img {
width: 100%;
min-height: 100%;
}
}

&-videoIco {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CaaS",
"version": "0.6.35",
"version": "0.6.36",
"private": false,
"description": "",
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions react/src/js/components/Consonant/Cards/OneHalf.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,10 @@ const OneHalfCard = (props) => {
id={id}>
<div
data-testid="consonant-OneHalfCard-img"
className="consonant-OneHalfCard-img">
<img src={image} alt={altText} aria-label={altText} loading="lazy" />
className="consonant-OneHalfCard-img"
style={{ backgroundImage: `url("${image}")` }}
role={altText && 'img'}
aria-label={altText}>
{hasBanner && !disableBanners &&
<span
data-testid="consonant-OneHalfCard-banner"
Expand Down

0 comments on commit efd1ca7

Please sign in to comment.