@quintoandar-tokko/icons 1.2.317
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/LICENSE +21 -0
- package/lib/index.js +148 -0
- package/package.json +19 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 One Loop
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Times = exports.Svg = exports.Substract = exports.Icon = exports.Exclamation = exports.ChevronRight = exports.ChevronLeft = exports.Check = exports.Add = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _box = require("@quintoandar-tokko/box");
|
|
9
|
+
var _excluded = ["color"],
|
|
10
|
+
_excluded2 = ["color"],
|
|
11
|
+
_excluded3 = ["color"],
|
|
12
|
+
_excluded4 = ["color"],
|
|
13
|
+
_excluded5 = ["color"],
|
|
14
|
+
_excluded6 = ["color"],
|
|
15
|
+
_excluded7 = ["color"],
|
|
16
|
+
_excluded8 = ["icon", "fontSize"];
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
21
|
+
var Svg = exports.Svg = function Svg(props) {
|
|
22
|
+
return /*#__PURE__*/_react["default"].createElement(_box.Box, _extends({
|
|
23
|
+
as: "svg",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
+
width: 14,
|
|
26
|
+
height: 14,
|
|
27
|
+
viewBox: "0 0 14 14",
|
|
28
|
+
fill: "currentcolor"
|
|
29
|
+
}, props));
|
|
30
|
+
};
|
|
31
|
+
var Times = exports.Times = function Times(_ref) {
|
|
32
|
+
var _ref$color = _ref.color,
|
|
33
|
+
color = _ref$color === void 0 ? 'black' : _ref$color,
|
|
34
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
35
|
+
return /*#__PURE__*/_react["default"].createElement(Svg, props, /*#__PURE__*/_react["default"].createElement("path", {
|
|
36
|
+
d: "M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",
|
|
37
|
+
fill: color
|
|
38
|
+
}));
|
|
39
|
+
};
|
|
40
|
+
var Check = exports.Check = function Check(_ref2) {
|
|
41
|
+
var _ref2$color = _ref2.color,
|
|
42
|
+
color = _ref2$color === void 0 ? 'black' : _ref2$color,
|
|
43
|
+
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
44
|
+
return /*#__PURE__*/_react["default"].createElement(Svg, _extends({
|
|
45
|
+
width: "22px",
|
|
46
|
+
height: "17px",
|
|
47
|
+
viewBox: "0 0 22 17",
|
|
48
|
+
fill: "none"
|
|
49
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
50
|
+
d: "M4.18359 7.64653L3.83128 7.29423L3.47773 7.64529L2.05773 9.05529L1.70168 9.40884L2.05648 9.76364L7.64648 15.3536L8.00003 15.7072L8.35359 15.3536L20.3536 3.35364L20.7071 3.00009L20.3536 2.64653L18.9436 1.23653L18.5902 0.883148L18.2366 1.23637L8.0002 11.4631L4.18359 7.64653Z",
|
|
51
|
+
fill: color
|
|
52
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
53
|
+
d: "M4.18359 7.64653L3.83128 7.29423L3.47773 7.64529L2.05773 9.05529L1.70168 9.40884L2.05648 9.76364L7.64648 15.3536L8.00003 15.7072L8.35359 15.3536L20.3536 3.35364L20.7071 3.00009L20.3536 2.64653L18.9436 1.23653L18.5902 0.883148L18.2366 1.23637L8.0002 11.4631L4.18359 7.64653Z",
|
|
54
|
+
fill: color
|
|
55
|
+
}));
|
|
56
|
+
};
|
|
57
|
+
var Exclamation = exports.Exclamation = function Exclamation(_ref3) {
|
|
58
|
+
var _ref3$color = _ref3.color,
|
|
59
|
+
color = _ref3$color === void 0 ? 'black' : _ref3$color,
|
|
60
|
+
props = _objectWithoutProperties(_ref3, _excluded3);
|
|
61
|
+
return /*#__PURE__*/_react["default"].createElement(Svg, _extends({
|
|
62
|
+
width: "4px",
|
|
63
|
+
height: "19px",
|
|
64
|
+
viewBox: "0 0 4 19",
|
|
65
|
+
fill: "none"
|
|
66
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
67
|
+
fillRule: "evenodd",
|
|
68
|
+
clipRule: "evenodd",
|
|
69
|
+
d: "M4 0.666748H0V12.6667H4V0.666748ZM0 16.6667C0 15.5622 0.89543 14.6667 2 14.6667C3.10457 14.6667 4 15.5622 4 16.6667C4 17.7713 3.10457 18.6667 2 18.6667C0.89543 18.6667 0 17.7713 0 16.6667Z",
|
|
70
|
+
fill: color
|
|
71
|
+
}));
|
|
72
|
+
};
|
|
73
|
+
var Substract = exports.Substract = function Substract(_ref4) {
|
|
74
|
+
var _ref4$color = _ref4.color,
|
|
75
|
+
color = _ref4$color === void 0 ? 'black' : _ref4$color,
|
|
76
|
+
props = _objectWithoutProperties(_ref4, _excluded4);
|
|
77
|
+
return /*#__PURE__*/_react["default"].createElement(Svg, {
|
|
78
|
+
width: "18",
|
|
79
|
+
height: "18",
|
|
80
|
+
viewBox: "0 0 18 18",
|
|
81
|
+
fill: "none"
|
|
82
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
83
|
+
d: "M14.25 9.75001H9.75H8.25H3.75V8.25001H8.25L9.75 8.24994L14.25 8.25001V9.75001Z",
|
|
84
|
+
fill: color
|
|
85
|
+
}));
|
|
86
|
+
};
|
|
87
|
+
var Add = exports.Add = function Add(_ref5) {
|
|
88
|
+
var _ref5$color = _ref5.color,
|
|
89
|
+
color = _ref5$color === void 0 ? 'black' : _ref5$color,
|
|
90
|
+
props = _objectWithoutProperties(_ref5, _excluded5);
|
|
91
|
+
return /*#__PURE__*/_react["default"].createElement(Svg, {
|
|
92
|
+
width: "18",
|
|
93
|
+
height: "18",
|
|
94
|
+
viewBox: "0 0 18 18",
|
|
95
|
+
fill: "none"
|
|
96
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
97
|
+
d: "M14.25 9.75H9.75V14.25H8.25V9.75H3.75V8.25H8.25V3.75H9.75V8.25H14.25V9.75Z",
|
|
98
|
+
fill: color
|
|
99
|
+
}));
|
|
100
|
+
};
|
|
101
|
+
var ChevronLeft = exports.ChevronLeft = function ChevronLeft(_ref6) {
|
|
102
|
+
var _ref6$color = _ref6.color,
|
|
103
|
+
color = _ref6$color === void 0 ? 'black' : _ref6$color,
|
|
104
|
+
props = _objectWithoutProperties(_ref6, _excluded6);
|
|
105
|
+
return /*#__PURE__*/_react["default"].createElement(Svg, _extends({
|
|
106
|
+
width: "8",
|
|
107
|
+
height: "12",
|
|
108
|
+
viewBox: "0 0 18 12",
|
|
109
|
+
fill: "none"
|
|
110
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
111
|
+
d: "M7.41 1.41L6 0L0 6L6 12L7.41 10.59L2.83 6L7.41 1.41Z",
|
|
112
|
+
fill: color
|
|
113
|
+
}));
|
|
114
|
+
};
|
|
115
|
+
var ChevronRight = exports.ChevronRight = function ChevronRight(_ref7) {
|
|
116
|
+
var _ref7$color = _ref7.color,
|
|
117
|
+
color = _ref7$color === void 0 ? 'black' : _ref7$color,
|
|
118
|
+
props = _objectWithoutProperties(_ref7, _excluded7);
|
|
119
|
+
return /*#__PURE__*/_react["default"].createElement(Svg, _extends({
|
|
120
|
+
width: "8",
|
|
121
|
+
height: "12",
|
|
122
|
+
viewBox: "0 0 18 12",
|
|
123
|
+
fill: "none"
|
|
124
|
+
}, props), /*#__PURE__*/_react["default"].createElement("path", {
|
|
125
|
+
d: "M2.00009 0L0.590088 1.41L5.17009 6L0.590088 10.59L2.00009 12L8.00009 6L2.00009 0Z",
|
|
126
|
+
fill: color
|
|
127
|
+
}));
|
|
128
|
+
};
|
|
129
|
+
var Icon = exports.Icon = function Icon(_ref8) {
|
|
130
|
+
var icon = _ref8.icon,
|
|
131
|
+
fontSize = _ref8.fontSize,
|
|
132
|
+
props = _objectWithoutProperties(_ref8, _excluded8);
|
|
133
|
+
return /*#__PURE__*/_react["default"].createElement(_box.Box, _extends({}, props, {
|
|
134
|
+
__css: {
|
|
135
|
+
display: 'grid',
|
|
136
|
+
placeItems: 'center',
|
|
137
|
+
width: fontSize,
|
|
138
|
+
height: fontSize
|
|
139
|
+
}
|
|
140
|
+
}), /*#__PURE__*/_react["default"].createElement("i", {
|
|
141
|
+
className: icon,
|
|
142
|
+
style: {
|
|
143
|
+
fontSize: fontSize,
|
|
144
|
+
width: fontSize,
|
|
145
|
+
height: fontSize
|
|
146
|
+
}
|
|
147
|
+
}));
|
|
148
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@quintoandar-tokko/icons",
|
|
3
|
+
"version": "1.2.317",
|
|
4
|
+
"main": "lib/index.js",
|
|
5
|
+
"module": "src/index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"lib"
|
|
8
|
+
],
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@quintoandar-tokko/box": "^1.2.286"
|
|
11
|
+
},
|
|
12
|
+
"peerDependencies": {
|
|
13
|
+
"react": "^16.8.0"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"gitHead": "d33e426a17c29e62c8ea591ae6afa96300d55ad9"
|
|
19
|
+
}
|