sag_components 1.0.178 → 1.0.180

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.
@@ -15,7 +15,7 @@ var _HannafordIcon = require("./icons/HannafordIcon");
15
15
  var _StopAndShopIcon = require("./icons/StopAndShopIcon");
16
16
  var _TheGiantCompanyIcon = require("./icons/TheGiantCompanyIcon");
17
17
  var _TitleDescriptionStyle = require("./TitleDescription.style.js");
18
- var _excluded = ["showRetailerIcon", "data", "infoButtonOnClick", "objectivesShowMoreOnClick", "downloadButtonOnClick", "width", "height", "textColor"];
18
+ var _excluded = ["showRetailerIcon", "data", "infoButtonOnClick", "objectivesShowMoreOnClick", "viewCreativeOnClick", "downloadButtonOnClick", "width", "height", "textColor"];
19
19
  /*TitleDescription*/
20
20
  var TitleDescription = function TitleDescription(_ref) {
21
21
  var _ref$showRetailerIcon = _ref.showRetailerIcon,
@@ -23,6 +23,7 @@ var TitleDescription = function TitleDescription(_ref) {
23
23
  data = _ref.data,
24
24
  infoButtonOnClick = _ref.infoButtonOnClick,
25
25
  objectivesShowMoreOnClick = _ref.objectivesShowMoreOnClick,
26
+ viewCreativeOnClick = _ref.viewCreativeOnClick,
26
27
  downloadButtonOnClick = _ref.downloadButtonOnClick,
27
28
  _ref$width = _ref.width,
28
29
  width = _ref$width === void 0 ? "100%" : _ref$width,
@@ -88,6 +89,7 @@ var TitleDescription = function TitleDescription(_ref) {
88
89
  }, /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.EventNameViewCreativeSubContainer, null, /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.EventName, {
89
90
  id: "EventName"
90
91
  }, data.eventName, " "), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.ViewCreativeContainer, {
92
+ onClick: viewCreativeOnClick,
91
93
  id: "ViewCreativeContainer"
92
94
  }, /*#__PURE__*/_react.default.createElement(_EyeIcon.EyeIcon, {
93
95
  width: "12",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.178",
3
+ "version": "1.0.180",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = exports.InfoIcon = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var InfoIcon = function InfoIcon(_ref) {
10
- var clicked = _ref.clicked;
11
- return /*#__PURE__*/_react.default.createElement("svg", {
12
- xmlns: "http://www.w3.org/2000/svg",
13
- viewBox: "0 0 24 24",
14
- fill: "none",
15
- stroke: clicked ? "white" : "black",
16
- strokeWidth: "2",
17
- strokeLinecap: "round",
18
- strokeLinejoin: "round",
19
- className: "feather feather-info"
20
- }, /*#__PURE__*/_react.default.createElement("circle", {
21
- cx: "12",
22
- cy: "12",
23
- r: "10"
24
- }), /*#__PURE__*/_react.default.createElement("line", {
25
- x1: "12",
26
- y1: "16",
27
- x2: "12",
28
- y2: "12"
29
- }), /*#__PURE__*/_react.default.createElement("line", {
30
- x1: "12",
31
- y1: "8",
32
- x2: "12",
33
- y2: "8"
34
- }));
35
- };
36
- exports.InfoIcon = InfoIcon;
37
- var _default = InfoIcon;
38
- exports.default = _default;