sag_components 1.0.197 → 1.0.199
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/Datepicker.js +1 -4
- package/dist/stories/components/Dropdown.js +1 -5
- package/dist/stories/components/TextField.js +14 -10
- package/dist/stories/components/TitleDescription.js +2 -6
- package/dist/stories/components/TitleDescription.style.js +5 -13
- package/dist/stories/components/TotalBenchmark.style.js +1 -1
- package/dist/stories/components/TotalBenchmarkArrows.style.js +1 -1
- package/dist/stories/components/TotalDoughnutChart.js +2 -2
- package/dist/stories/components/TotalDoughnutChart.style.js +2 -2
- package/package.json +1 -1
- package/dist/stories/components/InfoIcon.js +0 -38
|
@@ -27,9 +27,7 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
27
27
|
shape = _ref.shape,
|
|
28
28
|
_onChange = _ref.onChange,
|
|
29
29
|
value = _ref.value,
|
|
30
|
-
disableClearable = _ref.disableClearable
|
|
31
|
-
_ref$disabled = _ref.disabled,
|
|
32
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
30
|
+
disableClearable = _ref.disableClearable;
|
|
33
31
|
/**
|
|
34
32
|
* SAG Datepicker
|
|
35
33
|
*/
|
|
@@ -103,7 +101,6 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
103
101
|
}, /*#__PURE__*/_react.default.createElement(_DatePicker.DatePicker, {
|
|
104
102
|
value: valueState,
|
|
105
103
|
clearable: true,
|
|
106
|
-
disabled: disabled,
|
|
107
104
|
onChange: function onChange(newValue) {
|
|
108
105
|
setvalueState(newValue);
|
|
109
106
|
console.log("newValue onChange", newValue === null || newValue === void 0 ? void 0 : newValue.format("YYYY-MM-DD").toString());
|
|
@@ -61,9 +61,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
61
61
|
_ref$reset = _ref.reset,
|
|
62
62
|
reset = _ref$reset === void 0 ? false : _ref$reset,
|
|
63
63
|
_ref$disableClearable = _ref.disableClearable,
|
|
64
|
-
disableClearable = _ref$disableClearable === void 0 ? false : _ref$disableClearable
|
|
65
|
-
_ref$disabled = _ref.disabled,
|
|
66
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
64
|
+
disableClearable = _ref$disableClearable === void 0 ? false : _ref$disableClearable;
|
|
67
65
|
/**
|
|
68
66
|
* SAG Dropdown
|
|
69
67
|
*/
|
|
@@ -187,7 +185,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
187
185
|
onInputChange: function onInputChange(event, newInputValue) {
|
|
188
186
|
onInputChangeHandler(event, newInputValue);
|
|
189
187
|
},
|
|
190
|
-
disabled: disabled,
|
|
191
188
|
disablePortal: true,
|
|
192
189
|
disableClearable: disableClearable
|
|
193
190
|
// value={defaultValue && !currentOption?.newValue ? defaultValue : currentOption?.newValue}
|
|
@@ -268,7 +265,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
268
265
|
limitTags: limitTagsOnMultiSelect,
|
|
269
266
|
id: "checkboxes-tags",
|
|
270
267
|
options: options,
|
|
271
|
-
disabled: disabled,
|
|
272
268
|
disableCloseOnSelect: true,
|
|
273
269
|
disableClearable: disableClearable,
|
|
274
270
|
getOptionLabel: function getOptionLabel(option) {
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.TextField = void 0;
|
|
9
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
|
|
10
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
11
|
var _TextFieldStyle = require("./TextField.style.js");
|
|
@@ -24,7 +23,6 @@ var _styles = require("@mui/material/styles");
|
|
|
24
23
|
* SAG TextField
|
|
25
24
|
*/
|
|
26
25
|
var TextField = function TextField(_ref) {
|
|
27
|
-
var _React$createElement;
|
|
28
26
|
var _ref$width = _ref.width,
|
|
29
27
|
width = _ref$width === void 0 ? "100%" : _ref$width,
|
|
30
28
|
_ref$height = _ref.height,
|
|
@@ -41,6 +39,7 @@ var TextField = function TextField(_ref) {
|
|
|
41
39
|
resetDefaultValue = _ref.resetDefaultValue,
|
|
42
40
|
required = _ref.required,
|
|
43
41
|
inputRef = _ref.inputRef,
|
|
42
|
+
ref = _ref.ref,
|
|
44
43
|
_ref$allowedInput = _ref.allowedInput,
|
|
45
44
|
allowedInput = _ref$allowedInput === void 0 ? "all" : _ref$allowedInput,
|
|
46
45
|
onChange = _ref.onChange;
|
|
@@ -164,6 +163,7 @@ var TextField = function TextField(_ref) {
|
|
|
164
163
|
size: size,
|
|
165
164
|
required: required,
|
|
166
165
|
inputRef: inputRef !== null && inputRef !== void 0 ? inputRef : null,
|
|
166
|
+
ref: ref !== null && ref !== void 0 ? ref : null,
|
|
167
167
|
onKeyDown: function onKeyDown(event) {
|
|
168
168
|
if (!isInputAllowed(event.key)) {
|
|
169
169
|
event.preventDefault();
|
|
@@ -177,7 +177,7 @@ var TextField = function TextField(_ref) {
|
|
|
177
177
|
variant: "outlined"
|
|
178
178
|
}, /*#__PURE__*/_react.default.createElement(_InputLabel.default, {
|
|
179
179
|
htmlFor: "outlined-adornment-password"
|
|
180
|
-
}, label), /*#__PURE__*/_react.default.createElement(_OutlinedInput.default,
|
|
180
|
+
}, label), /*#__PURE__*/_react.default.createElement(_OutlinedInput.default, {
|
|
181
181
|
id: "outlined-adornment-password",
|
|
182
182
|
type: showPassword ? "text" : "password",
|
|
183
183
|
size: size,
|
|
@@ -190,14 +190,18 @@ var TextField = function TextField(_ref) {
|
|
|
190
190
|
edge: "end"
|
|
191
191
|
}, showPassword ? /*#__PURE__*/_react.default.createElement(_Visibility.default, null) : /*#__PURE__*/_react.default.createElement(_VisibilityOff.default, null))),
|
|
192
192
|
defaultValue: defaultValue,
|
|
193
|
-
label: label
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
193
|
+
label: label,
|
|
194
|
+
inputRef: inputRef !== null && inputRef !== void 0 ? inputRef : null,
|
|
195
|
+
ref: ref !== null && ref !== void 0 ? ref : null,
|
|
196
|
+
onKeyDown: function onKeyDown(event) {
|
|
197
|
+
if (!isInputAllowed(event.key)) {
|
|
198
|
+
event.preventDefault();
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
onChange: function onChange(event) {
|
|
202
|
+
onChangeHandler(event);
|
|
197
203
|
}
|
|
198
|
-
})
|
|
199
|
-
onChangeHandler(event);
|
|
200
|
-
}), _React$createElement)))))));
|
|
204
|
+
}))))));
|
|
201
205
|
};
|
|
202
206
|
exports.TextField = TextField;
|
|
203
207
|
var _default = TextField;
|
|
@@ -16,7 +16,7 @@ var _HannafordIcon = require("./icons/HannafordIcon");
|
|
|
16
16
|
var _StopAndShopIcon = require("./icons/StopAndShopIcon");
|
|
17
17
|
var _TheGiantCompanyIcon = require("./icons/TheGiantCompanyIcon");
|
|
18
18
|
var _TitleDescriptionStyle = require("./TitleDescription.style.js");
|
|
19
|
-
var _excluded = ["showRetailerIcon", "data", "infoButtonOnClick", "objectivesShowMoreOnClick", "viewCreativeOnClick", "downloadButtonOnClick", "width", "height", "textColor"
|
|
19
|
+
var _excluded = ["showRetailerIcon", "data", "infoButtonOnClick", "objectivesShowMoreOnClick", "viewCreativeOnClick", "downloadButtonOnClick", "width", "height", "textColor"];
|
|
20
20
|
/*TitleDescription*/
|
|
21
21
|
var TitleDescription = function TitleDescription(_ref) {
|
|
22
22
|
var _ref$showRetailerIcon = _ref.showRetailerIcon,
|
|
@@ -32,8 +32,6 @@ var TitleDescription = function TitleDescription(_ref) {
|
|
|
32
32
|
height = _ref$height === void 0 ? "100%" : _ref$height,
|
|
33
33
|
_ref$textColor = _ref.textColor,
|
|
34
34
|
textColor = _ref$textColor === void 0 ? "#212121" : _ref$textColor,
|
|
35
|
-
_ref$disabled = _ref.disabled,
|
|
36
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
37
35
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
38
36
|
var getRetailerIcon = function getRetailerIcon(retailerName) {
|
|
39
37
|
switch (retailerName) {
|
|
@@ -93,8 +91,7 @@ var TitleDescription = function TitleDescription(_ref) {
|
|
|
93
91
|
id: "EventName"
|
|
94
92
|
}, data.eventName, " "), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.ViewCreativeContainer, {
|
|
95
93
|
onClick: viewCreativeOnClick,
|
|
96
|
-
id: "ViewCreativeContainer"
|
|
97
|
-
disabled: disabled
|
|
94
|
+
id: "ViewCreativeContainer"
|
|
98
95
|
}, /*#__PURE__*/_react.default.createElement(_EyeIcon.EyeIcon, {
|
|
99
96
|
width: "12",
|
|
100
97
|
height: "12"
|
|
@@ -132,7 +129,6 @@ var TitleDescription = function TitleDescription(_ref) {
|
|
|
132
129
|
id: "ObjectivesTitle"
|
|
133
130
|
}, "Objectives:", " "), data.objectivesDescription, /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.ObjectivesShowMore, {
|
|
134
131
|
id: "ObjectivesShowMore",
|
|
135
|
-
disabled: disabled,
|
|
136
132
|
onClick: function onClick(event) {
|
|
137
133
|
objectivesShowMoreOnClick({
|
|
138
134
|
eventName: "objectivesShowMoreOnClick",
|
|
@@ -16,7 +16,7 @@ var MainContainer = _styledComponents.default.div(_templateObject || (_templateO
|
|
|
16
16
|
return props.height;
|
|
17
17
|
});
|
|
18
18
|
exports.MainContainer = MainContainer;
|
|
19
|
-
var PanelContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n border-radius: 12px;\n background: #ffffff;\n padding: 1rem
|
|
19
|
+
var PanelContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n border-radius: 12px;\n background: #ffffff;\n padding: 1rem;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 1.4;\n white-space: pre-wrap;\n overflow: hidden;\n width: 100%;\n"])));
|
|
20
20
|
exports.PanelContainer = PanelContainer;
|
|
21
21
|
var EventNameAndViewCreativeContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n"])));
|
|
22
22
|
exports.EventNameAndViewCreativeContainer = EventNameAndViewCreativeContainer;
|
|
@@ -24,11 +24,7 @@ var EventNameViewCreativeSubContainer = _styledComponents.default.div(_templateO
|
|
|
24
24
|
exports.EventNameViewCreativeSubContainer = EventNameViewCreativeSubContainer;
|
|
25
25
|
var EventName = _styledComponents.default.h4(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 700;\n font-size: 1.2rem;\n margin: 0;\n"])));
|
|
26
26
|
exports.EventName = EventName;
|
|
27
|
-
var ViewCreativeContainer = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 12px;\n border: 1px solid #ccc;\n margin-left: 10px;\n padding: 3px 10px;\n
|
|
28
|
-
return props.disabled ? "#B1B1B1" : "#212121";
|
|
29
|
-
}, function (props) {
|
|
30
|
-
return !props.disabled ? "pointer" : "default";
|
|
31
|
-
});
|
|
27
|
+
var ViewCreativeContainer = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 12px;\n border: 1px solid #ccc;\n margin-left: 10px;\n padding: 3px 10px;\n &:hover {\n cursor: pointer;\n }\n"])));
|
|
32
28
|
exports.ViewCreativeContainer = ViewCreativeContainer;
|
|
33
29
|
var ViewCreativeTextField = _styledComponents.default.h4(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin: 0 5px;\n"])));
|
|
34
30
|
exports.ViewCreativeTextField = ViewCreativeTextField;
|
|
@@ -36,7 +32,7 @@ var FilterValuesContainer = _styledComponents.default.div(_templateObject8 || (_
|
|
|
36
32
|
exports.FilterValuesContainer = FilterValuesContainer;
|
|
37
33
|
var FilterValue = _styledComponents.default.p(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n color: #1b30aa;\n margin: 0;\n"])));
|
|
38
34
|
exports.FilterValue = FilterValue;
|
|
39
|
-
var FieldsDelimiter = _styledComponents.default.p(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n color: #ccc;\n margin: 0;\n"])));
|
|
35
|
+
var FieldsDelimiter = _styledComponents.default.p(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)([" \n color: #ccc;\n margin: 0;\n"])));
|
|
40
36
|
exports.FieldsDelimiter = FieldsDelimiter;
|
|
41
37
|
var Retailer = _styledComponents.default.p(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n color: #1b30aa;\n margin: 0;\n margin-inline-end: 5px;\n"])));
|
|
42
38
|
exports.Retailer = Retailer;
|
|
@@ -50,13 +46,9 @@ var ObjectiesAndPeriodsContainer = _styledComponents.default.div(_templateObject
|
|
|
50
46
|
exports.ObjectiesAndPeriodsContainer = ObjectiesAndPeriodsContainer;
|
|
51
47
|
var ObjectivesTitle = _styledComponents.default.strong(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2.default)([""])));
|
|
52
48
|
exports.ObjectivesTitle = ObjectivesTitle;
|
|
53
|
-
var ObjectivesDescription = _styledComponents.default.p(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0
|
|
49
|
+
var ObjectivesDescription = _styledComponents.default.p(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0; \n \n"])));
|
|
54
50
|
exports.ObjectivesDescription = ObjectivesDescription;
|
|
55
|
-
var ObjectivesShowMore = _styledComponents.default.a(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteral2.default)(["\n color:
|
|
56
|
-
return props.disabled ? "#B1B1B1" : "#1b30aa";
|
|
57
|
-
}, function (props) {
|
|
58
|
-
return !props.disabled ? "pointer" : "default";
|
|
59
|
-
});
|
|
51
|
+
var ObjectivesShowMore = _styledComponents.default.a(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteral2.default)(["\n color: #1b30aa;\n &:hover {\n cursor: pointer;\n }\n"])));
|
|
60
52
|
exports.ObjectivesShowMore = ObjectivesShowMore;
|
|
61
53
|
var BottonsContainer = _styledComponents.default.div(_templateObject19 || (_templateObject19 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n min-height: 1.5rem;\n"])));
|
|
62
54
|
exports.BottonsContainer = BottonsContainer;
|
|
@@ -20,7 +20,7 @@ var ControlsContainer = _styledComponents.default.div(_templateObject || (_templ
|
|
|
20
20
|
return props.height;
|
|
21
21
|
});
|
|
22
22
|
exports.ControlsContainer = ControlsContainer;
|
|
23
|
-
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n border-radius: 12px;\n /* width: 90%;\n height: 40%; */\n //justify-content: center; \n //align-items: flex-start;\n background: #ffffff;\n margin-bottom:
|
|
23
|
+
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n border-radius: 12px;\n /* width: 90%;\n height: 40%; */\n //justify-content: center; \n //align-items: flex-start;\n background: #ffffff;\n margin-bottom: 1rem;\n padding: 0px 0.8rem;\n"])));
|
|
24
24
|
exports.Controls = Controls;
|
|
25
25
|
var TitleAndValueContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n //flex-direction: column;\n width: 100%;\n"])));
|
|
26
26
|
exports.TitleAndValueContainer = TitleAndValueContainer;
|
|
@@ -22,7 +22,7 @@ var Controls = _styledComponents.default.div(_templateObject2 || (_templateObjec
|
|
|
22
22
|
exports.Controls = Controls;
|
|
23
23
|
var Title = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n /* width: 14rem; */\n font-weight: 600;\n font-size: 1rem;\n margin-bottom: 1rem;\n"])));
|
|
24
24
|
exports.Title = Title;
|
|
25
|
-
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: baseline;\n /* width: 14rem; */\n height:
|
|
25
|
+
var ValueAndBenchmarkContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: baseline;\n /* width: 14rem; */\n height: 50%;\n"])));
|
|
26
26
|
exports.ValueAndBenchmarkContainer = ValueAndBenchmarkContainer;
|
|
27
27
|
var FormattedValue = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n margin-left: 0.1rem;\n font-weight: 500;\n font-size: 2.2rem;\n"])));
|
|
28
28
|
exports.FormattedValue = FormattedValue;
|
|
@@ -97,8 +97,8 @@ var TotalDoughnutChart = function TotalDoughnutChart(_ref) {
|
|
|
97
97
|
onMouseEnter: onPieEnterHandler
|
|
98
98
|
}, /*#__PURE__*/_react.default.createElement(_recharts.Pie, {
|
|
99
99
|
data: legendData,
|
|
100
|
-
outerRadius:
|
|
101
|
-
innerRadius:
|
|
100
|
+
outerRadius: 35 * (rootFont.toString().replace("px", "") / DEFAULT_ROOT_FONT),
|
|
101
|
+
innerRadius: 24 * (rootFont.toString().replace("px", "") / DEFAULT_ROOT_FONT),
|
|
102
102
|
fill: "#8884d8",
|
|
103
103
|
dataKey: "value"
|
|
104
104
|
}, legendData.map(function (row, index) {
|
|
@@ -34,9 +34,9 @@ var CurrencySign = _styledComponents.default.div(_templateObject8 || (_templateO
|
|
|
34
34
|
exports.CurrencySign = CurrencySign;
|
|
35
35
|
var FormattedValue = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 2.22rem;\n"])));
|
|
36
36
|
exports.FormattedValue = FormattedValue;
|
|
37
|
-
var DoughnutChartAndLegendContainer = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n width:
|
|
37
|
+
var DoughnutChartAndLegendContainer = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n width: 90%;\n height: 37%;\n margin-top: 1em; // 35px;\n margin-bottom: 1em; // 35px;\n"])));
|
|
38
38
|
exports.DoughnutChartAndLegendContainer = DoughnutChartAndLegendContainer;
|
|
39
|
-
var DoughnutChart = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n width: 34%;\n height: 100%;\n min-width:
|
|
39
|
+
var DoughnutChart = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n width: 34%;\n height: 100%;\n min-width: 96px;\n min-height: 96px;\n"])));
|
|
40
40
|
exports.DoughnutChart = DoughnutChart;
|
|
41
41
|
var LegendContainer = _styledComponents.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n width: 66%;\n padding-left: 10px;\n flex-direction: column;\n align-items: left;\n justify-content: space-between;\n"])));
|
|
42
42
|
exports.LegendContainer = LegendContainer;
|
package/package.json
CHANGED
|
@@ -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;
|