@scaleflex/icons-tw 0.0.27 → 0.0.28
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/heart-icon.d.ts +4 -0
- package/{heart.js → heart-icon.js} +4 -10
- package/package.json +1 -1
- package/sparkle-icon.d.ts +3 -0
- package/sparkle-icon.js +21 -0
- package/spinner.d.ts +1 -1
- package/spinner.js +1 -7
- package/heart.d.ts +0 -3
package/heart-icon.d.ts
ADDED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["color"
|
|
3
|
+
var _excluded = ["color"];
|
|
4
4
|
import React from 'react';
|
|
5
|
-
export var
|
|
5
|
+
export var HeartIcon = function HeartIcon(_ref) {
|
|
6
6
|
var _ref$color = _ref.color,
|
|
7
7
|
color = _ref$color === void 0 ? 'currentColor' : _ref$color,
|
|
8
|
-
_ref$size = _ref.size,
|
|
9
|
-
size = _ref$size === void 0 ? '0.875rem' : _ref$size,
|
|
10
|
-
ref = _ref.ref,
|
|
11
8
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
12
9
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
|
-
"data-icon-name": "
|
|
14
|
-
ref: ref,
|
|
15
|
-
width: size,
|
|
16
|
-
height: size,
|
|
10
|
+
"data-icon-name": "HeartIcon",
|
|
17
11
|
viewBox: "0 0 50 50",
|
|
18
12
|
fill: "none",
|
|
19
13
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -22,4 +16,4 @@ export var Heart = function Heart(_ref) {
|
|
|
22
16
|
fill: color
|
|
23
17
|
}));
|
|
24
18
|
};
|
|
25
|
-
export default
|
|
19
|
+
export default HeartIcon;
|
package/package.json
CHANGED
package/sparkle-icon.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["color"];
|
|
4
|
+
import React from 'react';
|
|
5
|
+
export var SparkleIcon = function SparkleIcon(_ref) {
|
|
6
|
+
var _ref$color = _ref.color,
|
|
7
|
+
color = _ref$color === void 0 ? 'currentColor' : _ref$color,
|
|
8
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
9
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
10
|
+
"data-icon-name": "SparkleIcon",
|
|
11
|
+
viewBox: "0 0 14 14",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, rest), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M5.8888 0.0110635C5.98021 0.0261177 6.06839 0.0562677 6.1503 0.0995714L6.26797 0.173999L6.37157 0.267535C6.43543 0.334841 6.48832 0.411726 6.52746 0.495846L6.57574 0.626596L6.57876 0.638665L7.39343 3.7978L7.43567 3.9034C7.45452 3.9364 7.47797 3.96681 7.50507 3.99392C7.55921 4.04806 7.62708 4.08638 7.7012 4.10556L10.8603 4.92024L10.8704 4.92225L11.0021 4.97053C11.0866 5.00954 11.1638 5.06252 11.2315 5.12642L11.325 5.23002L11.4004 5.34769C11.4658 5.47095 11.5 5.60906 11.5 5.75C11.5 5.93784 11.4388 6.12054 11.325 6.26998C11.2112 6.41943 11.0515 6.5278 10.8704 6.57775L10.8603 6.57976L7.7012 7.39444C7.62708 7.41362 7.55921 7.45194 7.50507 7.50608C7.47797 7.53319 7.45452 7.5636 7.43567 7.5966L7.39343 7.7022L6.57876 10.8613L6.57574 10.8734C6.52529 11.0537 6.41708 11.2128 6.26797 11.326C6.11879 11.4392 5.93624 11.5 5.74899 11.5C5.56169 11.5 5.37924 11.4392 5.23002 11.326C5.08079 11.2128 4.97273 11.0538 4.92225 10.8734L4.91923 10.8613L4.10456 7.7022C4.08538 7.62806 4.04707 7.56023 3.99292 7.50608C3.9658 7.47897 3.9354 7.45552 3.9024 7.43668L3.79679 7.39444L0.63766 6.57976L0.623579 6.57574C0.443915 6.52474 0.285591 6.41597 0.172993 6.26697C0.0887356 6.15533 0.033463 6.02546 0.0110635 5.8888L0 5.75L0.0110635 5.6112C0.0334629 5.47454 0.0887356 5.34466 0.172993 5.23303L0.265524 5.12843C0.365921 5.03275 0.488832 4.96251 0.623579 4.92426L0.63766 4.92024L3.79679 4.10556L3.9024 4.06231C3.93535 4.04349 3.96584 4.01998 3.99292 3.99292C4.04688 3.93891 4.08534 3.87167 4.10456 3.7978L4.91923 0.638665L4.92225 0.626596L5.50157 0.788525L4.92325 0.626596C4.97375 0.446277 5.08183 0.287171 5.23102 0.173999L5.3487 0.0995714C5.47153 0.0346761 5.60868 5.60275e-05 5.74899 0L5.8888 0.0110635ZM5.26823 4.09752V4.09852C5.19528 4.38036 5.04872 4.63801 4.84279 4.8438C4.68834 4.99815 4.50464 5.11919 4.3037 5.20085L4.09651 5.26924L2.23181 5.75L4.09651 6.23076L4.3037 6.29915C4.50467 6.38087 4.68835 6.50176 4.84279 6.6562C5.04884 6.86225 5.19544 7.12032 5.26823 7.40248L5.74899 9.26618L6.22975 7.40248L6.29815 7.19529C6.37987 6.99434 6.50077 6.81064 6.65519 6.6562C6.86125 6.45015 7.11931 6.30355 7.40148 6.23076L9.26517 5.75L7.40148 5.26924C7.11931 5.19645 6.86125 5.04985 6.65519 4.8438C6.50077 4.68936 6.37987 4.50566 6.29815 4.3047L6.22975 4.09752L5.74899 2.23281L5.26823 4.09752Z",
|
|
16
|
+
fill: color
|
|
17
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
d: "M11.1177 8.04317C11.1842 8.05403 11.2485 8.07576 11.308 8.10724L11.3924 8.16161L11.4682 8.22956C11.5143 8.27823 11.5525 8.33381 11.5808 8.3946L11.6157 8.48974L11.6186 8.49945L12.0109 10.0236L13.536 10.4168L13.5438 10.4187L13.6389 10.4537C13.7 10.4819 13.7559 10.5201 13.8049 10.5663L13.8729 10.641L13.9272 10.7265C13.9746 10.8158 14 10.9156 14 11.0177C14 11.1537 13.9552 11.2862 13.8729 11.3944C13.7905 11.5025 13.6748 11.5806 13.5438 11.6167L13.536 11.6186L12.0109 12.0118L11.6177 13.536L11.6157 13.5467C11.5791 13.6771 11.5004 13.792 11.3924 13.8738C11.2845 13.9557 11.1523 14 11.0167 14C10.8814 13.9999 10.7499 13.9556 10.642 13.8738C10.534 13.7919 10.4553 13.6763 10.4187 13.5457L10.4158 13.536L10.0236 12.0118L8.49847 11.6186L8.48683 11.6157C8.35682 11.5788 8.24212 11.5003 8.16063 11.3924C8.09944 11.3114 8.05934 11.2169 8.04317 11.1177L8.0354 11.0177L8.04317 10.9177C8.05934 10.8185 8.09944 10.724 8.16063 10.643L8.22762 10.5682C8.30033 10.4988 8.38917 10.4474 8.48683 10.4197L8.49847 10.4168L10.0236 10.0236L10.4168 8.49945L10.4187 8.48877C10.4553 8.35835 10.5341 8.24347 10.642 8.16161L10.7274 8.10724C10.8164 8.06031 10.9162 8.0354 11.0177 8.0354L11.1177 8.04317ZM10.9857 10.2721C10.9413 10.4439 10.8519 10.601 10.7265 10.7265C10.6322 10.8207 10.52 10.8951 10.3974 10.9449L10.2712 10.9857L10.1488 11.0167L10.2712 11.0488L10.3974 11.0905C10.5201 11.1404 10.6322 11.2147 10.7265 11.309C10.8519 11.4345 10.9413 11.5914 10.9857 11.7633L11.0167 11.8856L11.0488 11.7633L11.0905 11.6371C11.1403 11.5147 11.214 11.403 11.308 11.309C11.4336 11.1833 11.5913 11.0932 11.7633 11.0488L11.8837 11.0177L11.7633 10.9867C11.5913 10.9423 11.4336 10.8521 11.308 10.7265C11.214 10.6324 11.1403 10.5207 11.0905 10.3983L11.0488 10.2721L11.0167 10.1488L10.9857 10.2721Z",
|
|
19
|
+
fill: color
|
|
20
|
+
}));
|
|
21
|
+
};
|
package/spinner.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import type { IconProps } from './icon.props';
|
|
3
|
-
export declare const Spinner: ({ color,
|
|
3
|
+
export declare const Spinner: ({ color, ...rest }: IconProps) => ReactElement;
|
|
4
4
|
export default Spinner;
|
package/spinner.js
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["color"
|
|
3
|
+
var _excluded = ["color"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
export var Spinner = function Spinner(_ref) {
|
|
6
6
|
var _ref$color = _ref.color,
|
|
7
7
|
color = _ref$color === void 0 ? 'currentColor' : _ref$color,
|
|
8
|
-
_ref$size = _ref.size,
|
|
9
|
-
size = _ref$size === void 0 ? '1.75rem' : _ref$size,
|
|
10
|
-
ref = _ref.ref,
|
|
11
8
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
12
9
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
10
|
"data-icon-name": "Spinner",
|
|
14
|
-
ref: ref,
|
|
15
|
-
width: size,
|
|
16
|
-
height: size,
|
|
17
11
|
viewBox: "0 0 50 50",
|
|
18
12
|
fill: "none",
|
|
19
13
|
xmlns: "http://www.w3.org/2000/svg"
|
package/heart.d.ts
DELETED