outline-icons 3.4.0 → 3.5.0
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,4 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Props } from "./Icon";
|
|
3
|
-
declare const _default: React.ForwardRefExoticComponent<Props &
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Props & {
|
|
4
|
+
outline?: boolean | undefined;
|
|
5
|
+
} & React.RefAttributes<SVGSVGElement>>;
|
|
4
6
|
export default _default;
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
2
13
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
15
|
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
17
|
const react_1 = __importDefault(require("react"));
|
|
7
18
|
const Icon_1 = __importDefault(require("./Icon"));
|
|
8
|
-
function DoneIcon(
|
|
9
|
-
|
|
10
|
-
|
|
19
|
+
function DoneIcon(_a, ref) {
|
|
20
|
+
var { outline = false } = _a, props = __rest(_a, ["outline"]);
|
|
21
|
+
return (react_1.default.createElement(Icon_1.default, Object.assign({ ref: ref }, props), outline ? (react_1.default.createElement(react_1.default.Fragment, null,
|
|
22
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.2191 13.0413L9.95124 11.5199C9.68607 11.2017 9.21315 11.1587 8.89495 11.4239C8.57675 11.6891 8.53376 12.162 8.79893 12.4802L10.6739 14.7301C10.9838 15.102 11.5596 15.0873 11.85 14.7L15.225 10.2001C15.4735 9.86872 15.4063 9.39863 15.075 9.1501C14.7436 8.90158 14.2735 8.96874 14.025 9.3001L11.2191 13.0413Z" }),
|
|
23
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" }))) : (react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM9.26825 11.3599L10.9587 13.3885L14.7 8.40006C15.0314 7.95823 15.6582 7.86869 16.1 8.20006C16.5419 8.53143 16.6314 9.15823 16.3 9.60006L11.8 15.6001C11.4128 16.1164 10.645 16.1361 10.2318 15.6402L7.7318 12.6402C7.37824 12.216 7.43556 11.5854 7.85984 11.2318C8.28412 10.8783 8.91468 10.9356 9.26825 11.3599Z" }))));
|
|
11
24
|
}
|
|
12
25
|
exports.default = react_1.default.forwardRef(DoneIcon);
|
|
@@ -7,6 +7,6 @@ const react_1 = __importDefault(require("react"));
|
|
|
7
7
|
const Icon_1 = __importDefault(require("./Icon"));
|
|
8
8
|
function HomeIcon(props, ref) {
|
|
9
9
|
return (react_1.default.createElement(Icon_1.default, Object.assign({ ref: ref }, props),
|
|
10
|
-
react_1.default.createElement("path", { d: "M6.
|
|
10
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 18C6.5 18.5523 6.94772 19 7.5 19H9C9.55228 19 10 18.5523 10 18V15.5C10 14.3954 10.8954 13.5 12 13.5V13.5C13.1046 13.5 14 14.3954 14 15.5V18C14 18.5523 14.4477 19 15 19H16.5C17.0523 19 17.5 18.5523 17.5 18V12H18.0855C19.0376 12 19.451 10.7952 18.6994 10.2106L12.6139 5.47751C12.2528 5.19665 11.7472 5.19665 11.3861 5.47751L5.30059 10.2106C4.54901 10.7952 4.96238 12 5.91454 12H6.5V18Z" })));
|
|
11
11
|
}
|
|
12
12
|
exports.default = react_1.default.forwardRef(HomeIcon);
|
|
@@ -28,6 +28,14 @@ export declare const DocumentOutline: {
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
+
export declare const DoneOutline: {
|
|
32
|
+
render: () => React.JSX.Element;
|
|
33
|
+
parameters: {
|
|
34
|
+
docs: {
|
|
35
|
+
storyDescription: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
31
39
|
export declare const ArchiveOpen: {
|
|
32
40
|
render: () => React.JSX.Element;
|
|
33
41
|
parameters: {
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.TrashOpen = exports.ArchiveOpen = exports.DocumentOutline = exports.CollectionExpanded = exports.Light = exports.Dark = void 0;
|
|
29
|
+
exports.TrashOpen = exports.ArchiveOpen = exports.DoneOutline = exports.DocumentOutline = exports.CollectionExpanded = exports.Light = exports.Dark = void 0;
|
|
30
30
|
const react_1 = __importDefault(require("react"));
|
|
31
31
|
const Icons = __importStar(require("../index"));
|
|
32
32
|
const TypedIcons = Icons;
|
|
@@ -83,6 +83,14 @@ exports.DocumentOutline = {
|
|
|
83
83
|
},
|
|
84
84
|
},
|
|
85
85
|
};
|
|
86
|
+
exports.DoneOutline = {
|
|
87
|
+
render: () => react_1.default.createElement(Icons.DoneIcon, { outline: true, size: 64 }),
|
|
88
|
+
parameters: {
|
|
89
|
+
docs: {
|
|
90
|
+
storyDescription: "DoneIcon outline",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
};
|
|
86
94
|
exports.ArchiveOpen = {
|
|
87
95
|
render: () => react_1.default.createElement(Icons.ArchiveIcon, { open: true, size: 64 }),
|
|
88
96
|
parameters: {
|