sag_components 1.0.188 → 1.0.190
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/dist/stories/components/InfoIcon.js +38 -0
- package/dist/stories/components/TitleDescription.js +12 -11
- package/dist/stories/components/icons/FoodLionIcon.js +3047 -18
- package/dist/stories/components/icons/GiantFoodIcon.js +1942 -16
- package/dist/stories/components/icons/HannafordIcon.js +4984 -16
- package/dist/stories/components/icons/StopAndShopIcon.js +98 -18
- package/dist/stories/components/icons/TheGiantCompanyIcon.js +1792 -22
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
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;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = exports.TitleDescription = void 0;
|
|
8
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
9
|
-
var _react =
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
11
|
var _IconButton = require("./IconButton");
|
|
11
12
|
var _EyeIcon = require("./icons/EyeIcon");
|
|
12
13
|
var _FoodLionIcon = require("./icons/FoodLionIcon");
|
|
@@ -38,36 +39,36 @@ var TitleDescription = function TitleDescription(_ref) {
|
|
|
38
39
|
return /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.RetailerIconContainer, {
|
|
39
40
|
id: "RetailerIconContainer"
|
|
40
41
|
}, /*#__PURE__*/_react.default.createElement(_FoodLionIcon.FoodLionIcon, {
|
|
41
|
-
width: "
|
|
42
|
-
height: "
|
|
42
|
+
width: "90",
|
|
43
|
+
height: "20"
|
|
43
44
|
}), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.Space, null, " "));
|
|
44
45
|
case "Hannaford":
|
|
45
46
|
return /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.RetailerIconContainer, {
|
|
46
47
|
id: "RetailerIconContainer"
|
|
47
48
|
}, /*#__PURE__*/_react.default.createElement(_HannafordIcon.HannafordIcon, {
|
|
48
|
-
width: "
|
|
49
|
-
height: "
|
|
49
|
+
width: "90",
|
|
50
|
+
height: "20"
|
|
50
51
|
}), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.Space, null, " "));
|
|
51
52
|
case "Giant Food":
|
|
52
53
|
return /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.RetailerIconContainer, {
|
|
53
54
|
id: "RetailerIconContainer"
|
|
54
55
|
}, /*#__PURE__*/_react.default.createElement(_GiantFoodIcon.GiantFoodIcon, {
|
|
55
|
-
width: "
|
|
56
|
-
height: "
|
|
56
|
+
width: "60",
|
|
57
|
+
height: "20"
|
|
57
58
|
}), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.Space, null, " "));
|
|
58
59
|
case "The Giant Company":
|
|
59
60
|
return /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.RetailerIconContainer, {
|
|
60
61
|
id: "RetailerIconContainer"
|
|
61
62
|
}, /*#__PURE__*/_react.default.createElement(_TheGiantCompanyIcon.TheGiantCompanyIcon, {
|
|
62
|
-
width: "
|
|
63
|
-
height: "
|
|
63
|
+
width: "60",
|
|
64
|
+
height: "20"
|
|
64
65
|
}), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.Space, null, " "));
|
|
65
66
|
case "Stop&Shop":
|
|
66
67
|
return /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.RetailerIconContainer, {
|
|
67
68
|
id: "RetailerIconContainer"
|
|
68
69
|
}, /*#__PURE__*/_react.default.createElement(_StopAndShopIcon.StopAndShopIcon, {
|
|
69
|
-
width: "
|
|
70
|
-
height: "
|
|
70
|
+
width: "90",
|
|
71
|
+
height: "20"
|
|
71
72
|
}), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.Space, null, " "));
|
|
72
73
|
default:
|
|
73
74
|
return /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.RetailerIconContainer, {
|