@telus-uds/components-community.content-card 1.1.3 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,33 @@
1
1
  # Change Log - @telus-uds/components-community.content-card
2
2
 
3
- This log was last generated on Wed, 27 Mar 2024 21:09:55 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 24 Apr 2024 16:28:55 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.2.1
8
+
9
+ Wed, 24 Apr 2024 16:28:55 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @telus-uds/components-base to v1.83.0
14
+
15
+ ## 1.2.0
16
+
17
+ Fri, 05 Apr 2024 17:16:24 GMT
18
+
19
+ ### Minor changes
20
+
21
+ - Bump @telus-uds/components-base to v1.82.0
22
+ - Bump @telus-uds/system-theme-tokens to v2.54.0
23
+
24
+ ### Patches
25
+
26
+ - `ContentCard`: Image not being contained (shahzaibkhalidmalik@outlook.com)
27
+
7
28
  ## 1.1.3
8
29
 
9
- Wed, 27 Mar 2024 21:09:55 GMT
30
+ Wed, 27 Mar 2024 21:13:10 GMT
10
31
 
11
32
  ### Patches
12
33
 
@@ -130,7 +130,7 @@ const ContentCard = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
130
130
  maxHeight: imageHeight,
131
131
  maxWidth: imageWidth
132
132
  },
133
- resizeMode: "cover"
133
+ resizeMode: "contain"
134
134
  })]
135
135
  })
136
136
  });
@@ -120,7 +120,7 @@ const ContentCard = /*#__PURE__*/forwardRef((_ref, ref) => {
120
120
  maxHeight: imageHeight,
121
121
  maxWidth: imageWidth
122
122
  },
123
- resizeMode: "cover"
123
+ resizeMode: "contain"
124
124
  })]
125
125
  })
126
126
  });
package/package.json CHANGED
@@ -4,12 +4,12 @@
4
4
  "extends @telus-uds/browserslist-config"
5
5
  ],
6
6
  "dependencies": {
7
- "@telus-uds/components-base": "^1.81.0",
7
+ "@telus-uds/components-base": "^1.83.0",
8
8
  "prop-types": "^15.7.2"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@telus-uds/browserslist-config": "^1.0.5",
12
- "@telus-uds/system-theme-tokens": "^2.53.0",
12
+ "@telus-uds/system-theme-tokens": "^2.54.0",
13
13
  "@testing-library/react-native": "11.0.0",
14
14
  "babel-plugin-react-native-web": "^0.17.0",
15
15
  "babel-plugin-styled-components": "^2.0.6",
@@ -44,5 +44,5 @@
44
44
  "standard-engine": {
45
45
  "skip": true
46
46
  },
47
- "version": "1.1.3"
47
+ "version": "1.2.1"
48
48
  }
@@ -112,7 +112,7 @@ const ContentCard = forwardRef(
112
112
  maxHeight: imageHeight,
113
113
  maxWidth: imageWidth
114
114
  }}
115
- resizeMode="cover"
115
+ resizeMode="contain"
116
116
  />
117
117
  )}
118
118
  </View>