sag_components 1.0.709 → 1.0.711

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.
@@ -20,7 +20,8 @@ const BannerEventBoxList = props => {
20
20
  data,
21
21
  retailerFile,
22
22
  toggleColor,
23
- disableToggle
23
+ disableToggle,
24
+ bannerWidth
24
25
  } = props;
25
26
  const [IsItemOpen, setIsItemOpen] = (0, _react.useState)(false);
26
27
  const handleToggle = () => {
@@ -52,7 +53,7 @@ const BannerEventBoxList = props => {
52
53
  }, data.map(item => /*#__PURE__*/_react.default.createElement(_BannerEventBox.default, {
53
54
  key: item.banner,
54
55
  height: "100%",
55
- width: "100%",
56
+ width: bannerWidth,
56
57
  banner: item.banner,
57
58
  description: item.description,
58
59
  dates: item.dates,
@@ -99,6 +100,7 @@ BannerEventBoxList.defaultProps = {
99
100
  }]
100
101
  }],
101
102
  retailerFile: () => {},
102
- disableToggle: false
103
+ disableToggle: false,
104
+ bannerWidth: 'auto'
103
105
  };
104
106
  var _default = exports.default = BannerEventBoxList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.709",
3
+ "version": "1.0.711",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {