sag_components 1.0.6 → 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__*/React.createElement("svg", {
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__*/React.createElement("circle", {
20
+ }, /*#__PURE__*/_react.default.createElement("circle", {
19
21
  cx: "12",
20
22
  cy: "12",
21
23
  r: "10"
22
- }), /*#__PURE__*/React.createElement("line", {
24
+ }), /*#__PURE__*/_react.default.createElement("line", {
23
25
  x1: "12",
24
26
  y1: "16",
25
27
  x2: "12",
26
28
  y2: "12"
27
- }), /*#__PURE__*/React.createElement("line", {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -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,34 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.InfoIcon = void 0;
7
- var InfoIcon = function InfoIcon(_ref) {
8
- var clicked = _ref.clicked;
9
- return /*#__PURE__*/React.createElement("svg", {
10
- xmlns: "http://www.w3.org/2000/svg",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: clicked ? "white" : "black",
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round",
17
- className: "feather feather-info"
18
- }, /*#__PURE__*/React.createElement("circle", {
19
- cx: "12",
20
- cy: "12",
21
- r: "10"
22
- }), /*#__PURE__*/React.createElement("line", {
23
- x1: "12",
24
- y1: "16",
25
- x2: "12",
26
- y2: "12"
27
- }), /*#__PURE__*/React.createElement("line", {
28
- x1: "12",
29
- y1: "8",
30
- x2: "12",
31
- y2: "8"
32
- }));
33
- };
34
- exports.InfoIcon = InfoIcon;