sag_components 1.0.5 → 1.0.7
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.
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
|
-
exports.InfoIcon = void 0;
|
|
7
|
+
exports.default = exports.InfoIcon = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
9
|
var InfoIcon = function InfoIcon(_ref) {
|
|
8
10
|
var clicked = _ref.clicked;
|
|
9
|
-
return /*#__PURE__*/
|
|
11
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
13
|
viewBox: "0 0 24 24",
|
|
12
14
|
fill: "none",
|
|
@@ -15,20 +17,22 @@ var InfoIcon = function InfoIcon(_ref) {
|
|
|
15
17
|
strokeLinecap: "round",
|
|
16
18
|
strokeLinejoin: "round",
|
|
17
19
|
className: "feather feather-info"
|
|
18
|
-
}, /*#__PURE__*/
|
|
20
|
+
}, /*#__PURE__*/_react.default.createElement("circle", {
|
|
19
21
|
cx: "12",
|
|
20
22
|
cy: "12",
|
|
21
23
|
r: "10"
|
|
22
|
-
}), /*#__PURE__*/
|
|
24
|
+
}), /*#__PURE__*/_react.default.createElement("line", {
|
|
23
25
|
x1: "12",
|
|
24
26
|
y1: "16",
|
|
25
27
|
x2: "12",
|
|
26
28
|
y2: "12"
|
|
27
|
-
}), /*#__PURE__*/
|
|
29
|
+
}), /*#__PURE__*/_react.default.createElement("line", {
|
|
28
30
|
x1: "12",
|
|
29
31
|
y1: "8",
|
|
30
32
|
x2: "12",
|
|
31
33
|
y2: "8"
|
|
32
34
|
}));
|
|
33
35
|
};
|
|
34
|
-
exports.InfoIcon = InfoIcon;
|
|
36
|
+
exports.InfoIcon = InfoIcon;
|
|
37
|
+
var _default = InfoIcon;
|
|
38
|
+
exports.default = _default;
|
|
@@ -10,7 +10,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _OneColumnContainer = require("../OneColumnContainer.style");
|
|
13
|
-
var _InfoIcon = require("
|
|
13
|
+
var _InfoIcon = require("./InfoIcon");
|
|
14
14
|
var _excluded = ["width", "height", "infoText"];
|
|
15
15
|
/**
|
|
16
16
|
* Primary UI component for user interaction
|
package/package.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
1
3
|
export const InfoIcon = ({clicked}) => {
|
|
2
4
|
return (
|
|
3
5
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke={clicked ? "white" : "black"} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="feather feather-info"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="8"></line></svg>
|
|
4
6
|
);
|
|
5
|
-
}
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default InfoIcon;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { InfoTextLabel,InfoTextContainer,IconContainer, StyledContainer } from '../OneColumnContainer.style';
|
|
4
|
-
import { InfoIcon } from "
|
|
4
|
+
import { InfoIcon } from "./InfoIcon";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Primary UI component for user interaction
|