@crystaldesign/widget-library 25.5.0-rc.13 → 25.5.0-rc.15

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.
@@ -276,7 +276,7 @@ function useMedia(_ref) {
276
276
 
277
277
  // Add product index to each media item
278
278
  if (filteredMedia.length > 0) {
279
- hasAddedMediaForProduct = functionType === 'ART';
279
+ if (!hasAddedMediaForProduct) hasAddedMediaForProduct = functionType === 'ART';
280
280
  newMedias = [].concat(_toConsumableArray(newMedias), _toConsumableArray(filteredMedia.map(function (media) {
281
281
  return _objectSpread$3(_objectSpread$3({}, media), {}, {
282
282
  productIndex: productIndex
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/widget-library",
3
- "version": "25.5.0-rc.13",
3
+ "version": "25.5.0-rc.15",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "storybook": "storybook dev -p 6006",
@@ -36,5 +36,5 @@
36
36
  "suiteName": "widget-library",
37
37
  "outputDirectory": "./test-reports"
38
38
  },
39
- "gitHead": "c660ccec942cfc2d9d2416fa909e49dcbb2c5882"
39
+ "gitHead": "97624daafeb8b0fdf487fcb58acbd789dc443f45"
40
40
  }