react-icons-library 1.0.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.
- package/LICENSE +21 -0
- package/README.md +155 -0
- package/dist/IconBase.d.ts +9 -0
- package/dist/IconBase.d.ts.map +1 -0
- package/dist/constants.d.ts +55 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/context/IconContext.d.ts +29 -0
- package/dist/context/IconContext.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useIcon.d.ts +16 -0
- package/dist/hooks/useIcon.d.ts.map +1 -0
- package/dist/icons/AccessTime.d.ts +4 -0
- package/dist/icons/AccessTime.d.ts.map +1 -0
- package/dist/icons/AccountCircle.d.ts +4 -0
- package/dist/icons/AccountCircle.d.ts.map +1 -0
- package/dist/icons/Add.d.ts +4 -0
- package/dist/icons/Add.d.ts.map +1 -0
- package/dist/icons/AddCircle.d.ts +4 -0
- package/dist/icons/AddCircle.d.ts.map +1 -0
- package/dist/icons/Alarm.d.ts +4 -0
- package/dist/icons/Alarm.d.ts.map +1 -0
- package/dist/icons/ArrowDown.d.ts +4 -0
- package/dist/icons/ArrowDown.d.ts.map +1 -0
- package/dist/icons/ArrowLeft.d.ts +4 -0
- package/dist/icons/ArrowLeft.d.ts.map +1 -0
- package/dist/icons/ArrowRight.d.ts +4 -0
- package/dist/icons/ArrowRight.d.ts.map +1 -0
- package/dist/icons/ArrowUp.d.ts +4 -0
- package/dist/icons/ArrowUp.d.ts.map +1 -0
- package/dist/icons/Article.d.ts +4 -0
- package/dist/icons/Article.d.ts.map +1 -0
- package/dist/icons/Assessment.d.ts +4 -0
- package/dist/icons/Assessment.d.ts.map +1 -0
- package/dist/icons/Attach.d.ts +4 -0
- package/dist/icons/Attach.d.ts.map +1 -0
- package/dist/icons/Bookmark.d.ts +4 -0
- package/dist/icons/Bookmark.d.ts.map +1 -0
- package/dist/icons/BookmarkBorder.d.ts +4 -0
- package/dist/icons/BookmarkBorder.d.ts.map +1 -0
- package/dist/icons/BugReport.d.ts +4 -0
- package/dist/icons/BugReport.d.ts.map +1 -0
- package/dist/icons/Build.d.ts +4 -0
- package/dist/icons/Build.d.ts.map +1 -0
- package/dist/icons/Call.d.ts +4 -0
- package/dist/icons/Call.d.ts.map +1 -0
- package/dist/icons/Camera.d.ts +4 -0
- package/dist/icons/Camera.d.ts.map +1 -0
- package/dist/icons/Cancel.d.ts +4 -0
- package/dist/icons/Cancel.d.ts.map +1 -0
- package/dist/icons/Chat.d.ts +4 -0
- package/dist/icons/Chat.d.ts.map +1 -0
- package/dist/icons/Check.d.ts +4 -0
- package/dist/icons/Check.d.ts.map +1 -0
- package/dist/icons/CheckCircle.d.ts +4 -0
- package/dist/icons/CheckCircle.d.ts.map +1 -0
- package/dist/icons/Close.d.ts +4 -0
- package/dist/icons/Close.d.ts.map +1 -0
- package/dist/icons/CloudDownload.d.ts +4 -0
- package/dist/icons/CloudDownload.d.ts.map +1 -0
- package/dist/icons/CloudUpload.d.ts +4 -0
- package/dist/icons/CloudUpload.d.ts.map +1 -0
- package/dist/icons/Code.d.ts +4 -0
- package/dist/icons/Code.d.ts.map +1 -0
- package/dist/icons/Copy.d.ts +4 -0
- package/dist/icons/Copy.d.ts.map +1 -0
- package/dist/icons/CreditCard.d.ts +4 -0
- package/dist/icons/CreditCard.d.ts.map +1 -0
- package/dist/icons/Cut.d.ts +4 -0
- package/dist/icons/Cut.d.ts.map +1 -0
- package/dist/icons/Dashboard.d.ts +4 -0
- package/dist/icons/Dashboard.d.ts.map +1 -0
- package/dist/icons/DateRange.d.ts +4 -0
- package/dist/icons/DateRange.d.ts.map +1 -0
- package/dist/icons/Delete.d.ts +4 -0
- package/dist/icons/Delete.d.ts.map +1 -0
- package/dist/icons/Description.d.ts +4 -0
- package/dist/icons/Description.d.ts.map +1 -0
- package/dist/icons/Download.d.ts +4 -0
- package/dist/icons/Download.d.ts.map +1 -0
- package/dist/icons/Edit.d.ts +4 -0
- package/dist/icons/Edit.d.ts.map +1 -0
- package/dist/icons/Email.d.ts +4 -0
- package/dist/icons/Email.d.ts.map +1 -0
- package/dist/icons/Error.d.ts +4 -0
- package/dist/icons/Error.d.ts.map +1 -0
- package/dist/icons/Event.d.ts +4 -0
- package/dist/icons/Event.d.ts.map +1 -0
- package/dist/icons/Extension.d.ts +4 -0
- package/dist/icons/Extension.d.ts.map +1 -0
- package/dist/icons/FastForward.d.ts +4 -0
- package/dist/icons/FastForward.d.ts.map +1 -0
- package/dist/icons/FastRewind.d.ts +4 -0
- package/dist/icons/FastRewind.d.ts.map +1 -0
- package/dist/icons/Favorite.d.ts +4 -0
- package/dist/icons/Favorite.d.ts.map +1 -0
- package/dist/icons/FavoriteBorder.d.ts +4 -0
- package/dist/icons/FavoriteBorder.d.ts.map +1 -0
- package/dist/icons/File.d.ts +4 -0
- package/dist/icons/File.d.ts.map +1 -0
- package/dist/icons/FilterList.d.ts +4 -0
- package/dist/icons/FilterList.d.ts.map +1 -0
- package/dist/icons/Folder.d.ts +4 -0
- package/dist/icons/Folder.d.ts.map +1 -0
- package/dist/icons/FolderOpen.d.ts +4 -0
- package/dist/icons/FolderOpen.d.ts.map +1 -0
- package/dist/icons/Fullscreen.d.ts +4 -0
- package/dist/icons/Fullscreen.d.ts.map +1 -0
- package/dist/icons/FullscreenExit.d.ts +4 -0
- package/dist/icons/FullscreenExit.d.ts.map +1 -0
- package/dist/icons/GridView.d.ts +4 -0
- package/dist/icons/GridView.d.ts.map +1 -0
- package/dist/icons/Group.d.ts +4 -0
- package/dist/icons/Group.d.ts.map +1 -0
- package/dist/icons/Heart.d.ts +4 -0
- package/dist/icons/Heart.d.ts.map +1 -0
- package/dist/icons/Help.d.ts +4 -0
- package/dist/icons/Help.d.ts.map +1 -0
- package/dist/icons/HelpOutline.d.ts +4 -0
- package/dist/icons/HelpOutline.d.ts.map +1 -0
- package/dist/icons/Home.d.ts +4 -0
- package/dist/icons/Home.d.ts.map +1 -0
- package/dist/icons/Image.d.ts +4 -0
- package/dist/icons/Image.d.ts.map +1 -0
- package/dist/icons/Info.d.ts +4 -0
- package/dist/icons/Info.d.ts.map +1 -0
- package/dist/icons/InsertChart.d.ts +4 -0
- package/dist/icons/InsertChart.d.ts.map +1 -0
- package/dist/icons/Language.d.ts +4 -0
- package/dist/icons/Language.d.ts.map +1 -0
- package/dist/icons/Launch.d.ts +4 -0
- package/dist/icons/Launch.d.ts.map +1 -0
- package/dist/icons/Link.d.ts +4 -0
- package/dist/icons/Link.d.ts.map +1 -0
- package/dist/icons/LocalOffer.d.ts +4 -0
- package/dist/icons/LocalOffer.d.ts.map +1 -0
- package/dist/icons/LocationOn.d.ts +4 -0
- package/dist/icons/LocationOn.d.ts.map +1 -0
- package/dist/icons/Lock.d.ts +4 -0
- package/dist/icons/Lock.d.ts.map +1 -0
- package/dist/icons/Login.d.ts +4 -0
- package/dist/icons/Login.d.ts.map +1 -0
- package/dist/icons/Logout.d.ts +4 -0
- package/dist/icons/Logout.d.ts.map +1 -0
- package/dist/icons/Loop.d.ts +4 -0
- package/dist/icons/Loop.d.ts.map +1 -0
- package/dist/icons/Map.d.ts +4 -0
- package/dist/icons/Map.d.ts.map +1 -0
- package/dist/icons/Menu.d.ts +4 -0
- package/dist/icons/Menu.d.ts.map +1 -0
- package/dist/icons/Message.d.ts +4 -0
- package/dist/icons/Message.d.ts.map +1 -0
- package/dist/icons/Mic.d.ts +4 -0
- package/dist/icons/Mic.d.ts.map +1 -0
- package/dist/icons/MicOff.d.ts +4 -0
- package/dist/icons/MicOff.d.ts.map +1 -0
- package/dist/icons/MoreHoriz.d.ts +4 -0
- package/dist/icons/MoreHoriz.d.ts.map +1 -0
- package/dist/icons/MoreVert.d.ts +4 -0
- package/dist/icons/MoreVert.d.ts.map +1 -0
- package/dist/icons/Music.d.ts +4 -0
- package/dist/icons/Music.d.ts.map +1 -0
- package/dist/icons/MyLocation.d.ts +4 -0
- package/dist/icons/MyLocation.d.ts.map +1 -0
- package/dist/icons/Navigation.d.ts +4 -0
- package/dist/icons/Navigation.d.ts.map +1 -0
- package/dist/icons/Notifications.d.ts +4 -0
- package/dist/icons/Notifications.d.ts.map +1 -0
- package/dist/icons/OpenInNew.d.ts +4 -0
- package/dist/icons/OpenInNew.d.ts.map +1 -0
- package/dist/icons/Paste.d.ts +4 -0
- package/dist/icons/Paste.d.ts.map +1 -0
- package/dist/icons/Pause.d.ts +4 -0
- package/dist/icons/Pause.d.ts.map +1 -0
- package/dist/icons/Payment.d.ts +4 -0
- package/dist/icons/Payment.d.ts.map +1 -0
- package/dist/icons/Person.d.ts +4 -0
- package/dist/icons/Person.d.ts.map +1 -0
- package/dist/icons/Phone.d.ts +4 -0
- package/dist/icons/Phone.d.ts.map +1 -0
- package/dist/icons/Photo.d.ts +4 -0
- package/dist/icons/Photo.d.ts.map +1 -0
- package/dist/icons/Place.d.ts +4 -0
- package/dist/icons/Place.d.ts.map +1 -0
- package/dist/icons/PlayArrow.d.ts +4 -0
- package/dist/icons/PlayArrow.d.ts.map +1 -0
- package/dist/icons/Power.d.ts +4 -0
- package/dist/icons/Power.d.ts.map +1 -0
- package/dist/icons/Print.d.ts +4 -0
- package/dist/icons/Print.d.ts.map +1 -0
- package/dist/icons/Redo.d.ts +4 -0
- package/dist/icons/Redo.d.ts.map +1 -0
- package/dist/icons/Refresh.d.ts +4 -0
- package/dist/icons/Refresh.d.ts.map +1 -0
- package/dist/icons/Remove.d.ts +4 -0
- package/dist/icons/Remove.d.ts.map +1 -0
- package/dist/icons/RemoveCircle.d.ts +4 -0
- package/dist/icons/RemoveCircle.d.ts.map +1 -0
- package/dist/icons/Replay.d.ts +4 -0
- package/dist/icons/Replay.d.ts.map +1 -0
- package/dist/icons/Save.d.ts +4 -0
- package/dist/icons/Save.d.ts.map +1 -0
- package/dist/icons/Schedule.d.ts +4 -0
- package/dist/icons/Schedule.d.ts.map +1 -0
- package/dist/icons/Search.d.ts +4 -0
- package/dist/icons/Search.d.ts.map +1 -0
- package/dist/icons/Send.d.ts +4 -0
- package/dist/icons/Send.d.ts.map +1 -0
- package/dist/icons/Settings.d.ts +4 -0
- package/dist/icons/Settings.d.ts.map +1 -0
- package/dist/icons/Share.d.ts +4 -0
- package/dist/icons/Share.d.ts.map +1 -0
- package/dist/icons/ShoppingCart.d.ts +4 -0
- package/dist/icons/ShoppingCart.d.ts.map +1 -0
- package/dist/icons/ShowChart.d.ts +4 -0
- package/dist/icons/ShowChart.d.ts.map +1 -0
- package/dist/icons/SkipNext.d.ts +4 -0
- package/dist/icons/SkipNext.d.ts.map +1 -0
- package/dist/icons/SkipPrevious.d.ts +4 -0
- package/dist/icons/SkipPrevious.d.ts.map +1 -0
- package/dist/icons/Sort.d.ts +4 -0
- package/dist/icons/Sort.d.ts.map +1 -0
- package/dist/icons/Star.d.ts +4 -0
- package/dist/icons/Star.d.ts.map +1 -0
- package/dist/icons/Stop.d.ts +4 -0
- package/dist/icons/Stop.d.ts.map +1 -0
- package/dist/icons/Sync.d.ts +4 -0
- package/dist/icons/Sync.d.ts.map +1 -0
- package/dist/icons/Terminal.d.ts +4 -0
- package/dist/icons/Terminal.d.ts.map +1 -0
- package/dist/icons/ThumbDown.d.ts +4 -0
- package/dist/icons/ThumbDown.d.ts.map +1 -0
- package/dist/icons/ThumbUp.d.ts +4 -0
- package/dist/icons/ThumbUp.d.ts.map +1 -0
- package/dist/icons/Timeline.d.ts +4 -0
- package/dist/icons/Timeline.d.ts.map +1 -0
- package/dist/icons/Timer.d.ts +4 -0
- package/dist/icons/Timer.d.ts.map +1 -0
- package/dist/icons/Today.d.ts +4 -0
- package/dist/icons/Today.d.ts.map +1 -0
- package/dist/icons/Undo.d.ts +4 -0
- package/dist/icons/Undo.d.ts.map +1 -0
- package/dist/icons/Unlock.d.ts +4 -0
- package/dist/icons/Unlock.d.ts.map +1 -0
- package/dist/icons/Upload.d.ts +4 -0
- package/dist/icons/Upload.d.ts.map +1 -0
- package/dist/icons/User.d.ts +4 -0
- package/dist/icons/User.d.ts.map +1 -0
- package/dist/icons/Video.d.ts +4 -0
- package/dist/icons/Video.d.ts.map +1 -0
- package/dist/icons/ViewList.d.ts +4 -0
- package/dist/icons/ViewList.d.ts.map +1 -0
- package/dist/icons/ViewModule.d.ts +4 -0
- package/dist/icons/ViewModule.d.ts.map +1 -0
- package/dist/icons/Visibility.d.ts +4 -0
- package/dist/icons/Visibility.d.ts.map +1 -0
- package/dist/icons/VisibilityOff.d.ts +4 -0
- package/dist/icons/VisibilityOff.d.ts.map +1 -0
- package/dist/icons/Volume.d.ts +4 -0
- package/dist/icons/Volume.d.ts.map +1 -0
- package/dist/icons/VolumeOff.d.ts +4 -0
- package/dist/icons/VolumeOff.d.ts.map +1 -0
- package/dist/icons/Warning.d.ts +4 -0
- package/dist/icons/Warning.d.ts.map +1 -0
- package/dist/icons/ZoomIn.d.ts +4 -0
- package/dist/icons/ZoomIn.d.ts.map +1 -0
- package/dist/icons/ZoomOut.d.ts +4 -0
- package/dist/icons/ZoomOut.d.ts.map +1 -0
- package/dist/icons/index.d.ts +129 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/metadata.d.ts +7 -0
- package/dist/icons/metadata.d.ts.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +881 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +1027 -0
- package/dist/index.js.map +1 -0
- package/dist/setupTests.d.ts +2 -0
- package/dist/setupTests.d.ts.map +1 -0
- package/dist/types.d.ts +143 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/helpers.d.ts +40 -0
- package/dist/utils/helpers.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1,881 @@
|
|
|
1
|
+
import React, { memo, createContext, useMemo, useContext } from 'react';
|
|
2
|
+
|
|
3
|
+
/******************************************************************************
|
|
4
|
+
Copyright (c) Microsoft Corporation.
|
|
5
|
+
|
|
6
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
7
|
+
purpose with or without fee is hereby granted.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
+
***************************************************************************** */
|
|
17
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
function __rest(s, e) {
|
|
21
|
+
var t = {};
|
|
22
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
23
|
+
t[p] = s[p];
|
|
24
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
25
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
26
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
27
|
+
t[p[i]] = s[p[i]];
|
|
28
|
+
}
|
|
29
|
+
return t;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
33
|
+
var e = new Error(message);
|
|
34
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Base component for all icons
|
|
39
|
+
* Provides consistent styling and behavior across the library
|
|
40
|
+
*
|
|
41
|
+
* @param props - Icon properties
|
|
42
|
+
* @returns SVG element with icon content
|
|
43
|
+
*/
|
|
44
|
+
const IconBase$1 = (_a) => {
|
|
45
|
+
var { color = 'currentColor', size = '1em', className = '', children, title, viewBox = '0 0 24 24', strokeWidth = '0', strokeLinecap = 'round', strokeLinejoin = 'round', style, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, role } = _a, props = __rest(_a, ["color", "size", "className", "children", "title", "viewBox", "strokeWidth", "strokeLinecap", "strokeLinejoin", "style", 'aria-label', 'aria-hidden', "role"]);
|
|
46
|
+
// Normalize size to string with unit
|
|
47
|
+
const normalizedSize = typeof size === 'number' ? `${size}px` : size;
|
|
48
|
+
// Determine ARIA attributes
|
|
49
|
+
const hasAccessibleLabel = !!(title || ariaLabel);
|
|
50
|
+
const computedAriaHidden = ariaHidden !== null && ariaHidden !== void 0 ? ariaHidden : (hasAccessibleLabel ? undefined : 'true');
|
|
51
|
+
const computedRole = role !== null && role !== void 0 ? role : (hasAccessibleLabel ? 'img' : 'presentation');
|
|
52
|
+
return (React.createElement("svg", Object.assign({ stroke: color, fill: color, strokeWidth: strokeWidth, strokeLinecap: strokeLinecap, strokeLinejoin: strokeLinejoin, height: normalizedSize, width: normalizedSize, viewBox: viewBox, xmlns: "http://www.w3.org/2000/svg", className: className, style: style, "aria-label": ariaLabel, "aria-hidden": computedAriaHidden, role: computedRole, focusable: props.tabIndex !== undefined ? 'true' : 'false' }, props),
|
|
53
|
+
title && React.createElement("title", null, title),
|
|
54
|
+
children));
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Memoized version for performance optimization
|
|
58
|
+
* Prevents unnecessary re-renders when props haven't changed
|
|
59
|
+
*/
|
|
60
|
+
var IconBase = memo(IconBase$1);
|
|
61
|
+
|
|
62
|
+
const AccessTime = (props) => {
|
|
63
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
64
|
+
React.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z" })));
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const AccountCircle = (props) => {
|
|
68
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
69
|
+
React.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z" })));
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
const Add = (props) => {
|
|
73
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
74
|
+
React.createElement("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" })));
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const AddCircle = (props) => {
|
|
78
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
79
|
+
React.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z" })));
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const Alarm = (props) => {
|
|
83
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
84
|
+
React.createElement("path", { d: "M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z" })));
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
const ArrowDown = (props) => {
|
|
88
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
89
|
+
React.createElement("path", { d: "M7 10l5 5 5-5z" })));
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
const ArrowLeft = (props) => {
|
|
93
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
94
|
+
React.createElement("path", { d: "M14 7l-5 5 5 5z" })));
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const ArrowRight = (props) => {
|
|
98
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
99
|
+
React.createElement("path", { d: "M10 17l5-5-5-5z" })));
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
const ArrowUp = (props) => {
|
|
103
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
104
|
+
React.createElement("path", { d: "M7 14l5-5 5 5z" })));
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
const Article = (props) => {
|
|
108
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
109
|
+
React.createElement("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z" })));
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
const Assessment = (props) => {
|
|
113
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
114
|
+
React.createElement("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z" })));
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const Attach = (props) => {
|
|
118
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
119
|
+
React.createElement("path", { d: "M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-.9-2-2-2H7.5C5.57 9 4 10.57 4 12.5S5.57 16 7.5 16H17v2H7.5C4.46 18 2 15.54 2 12.5z" })));
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const Bookmark = (props) => {
|
|
123
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
124
|
+
React.createElement("path", { d: "M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z" })));
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
const BookmarkBorder = (props) => {
|
|
128
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
129
|
+
React.createElement("path", { d: "M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z" })));
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
const BugReport = (props) => {
|
|
133
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
134
|
+
React.createElement("path", { d: "M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z" })));
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
const Build = (props) => {
|
|
138
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
139
|
+
React.createElement("path", { d: "M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z" })));
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
const Call = (props) => {
|
|
143
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
144
|
+
React.createElement("path", { d: "M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z" })));
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
const Camera = (props) => {
|
|
148
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
149
|
+
React.createElement("path", { d: "M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z" })));
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
const Cancel = (props) => {
|
|
153
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
154
|
+
React.createElement("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })));
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
const Chat = (props) => {
|
|
158
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
159
|
+
React.createElement("path", { d: "M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z" })));
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
const Check = (props) => {
|
|
163
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
164
|
+
React.createElement("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" })));
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
const CheckCircle = (props) => {
|
|
168
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
169
|
+
React.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })));
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
const Close = (props) => {
|
|
173
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
174
|
+
React.createElement("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })));
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
const CloudDownload = (props) => {
|
|
178
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
179
|
+
React.createElement("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z" })));
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
const CloudUpload = (props) => {
|
|
183
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
184
|
+
React.createElement("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z" })));
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
const Code = (props) => {
|
|
188
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
189
|
+
React.createElement("path", { d: "M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z" })));
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
const Copy = (props) => {
|
|
193
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
194
|
+
React.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" })));
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
const CreditCard = (props) => {
|
|
198
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
199
|
+
React.createElement("path", { d: "M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z" })));
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
const Cut = (props) => {
|
|
203
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
204
|
+
React.createElement("path", { d: "M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z" })));
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
const Dashboard = (props) => {
|
|
208
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
209
|
+
React.createElement("path", { d: "M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z" })));
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
const DateRange = (props) => {
|
|
213
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
214
|
+
React.createElement("path", { d: "M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z" })));
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
const Delete = (props) => {
|
|
218
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
219
|
+
React.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" })));
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
const Description = (props) => {
|
|
223
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
224
|
+
React.createElement("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z" })));
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
const Download = (props) => {
|
|
228
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
229
|
+
React.createElement("path", { d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" })));
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
const Edit = (props) => {
|
|
233
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
234
|
+
React.createElement("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })));
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
const Email = (props) => {
|
|
238
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
239
|
+
React.createElement("path", { d: "M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z" })));
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
const Error$1 = (props) => {
|
|
243
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
244
|
+
React.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" })));
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
const Event = (props) => {
|
|
248
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
249
|
+
React.createElement("path", { d: "M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z" })));
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
const Extension = (props) => {
|
|
253
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
254
|
+
React.createElement("path", { d: "M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z" })));
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
const FastForward = (props) => {
|
|
258
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
259
|
+
React.createElement("path", { d: "M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z" })));
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
const FastRewind = (props) => {
|
|
263
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
264
|
+
React.createElement("path", { d: "M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z" })));
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
const Favorite = (props) => {
|
|
268
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
269
|
+
React.createElement("path", { d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" })));
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
const FavoriteBorder = (props) => {
|
|
273
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
274
|
+
React.createElement("path", { d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z" })));
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
const File = (props) => {
|
|
278
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
279
|
+
React.createElement("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z" })));
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
const FilterList = (props) => {
|
|
283
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
284
|
+
React.createElement("path", { d: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z" })));
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
const Folder = (props) => {
|
|
288
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
289
|
+
React.createElement("path", { d: "M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z" })));
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
const FolderOpen = (props) => {
|
|
293
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
294
|
+
React.createElement("path", { d: "M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z" })));
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
const Fullscreen = (props) => {
|
|
298
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
299
|
+
React.createElement("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" })));
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
const FullscreenExit = (props) => {
|
|
303
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
304
|
+
React.createElement("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" })));
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
const GridView = (props) => {
|
|
308
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
309
|
+
React.createElement("path", { d: "M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z" })));
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
const Group = (props) => {
|
|
313
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
314
|
+
React.createElement("path", { d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z" })));
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
const Heart = (props) => {
|
|
318
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
319
|
+
React.createElement("path", { d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" })));
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
const Help = (props) => {
|
|
323
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
324
|
+
React.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z" })));
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
const HelpOutline = (props) => {
|
|
328
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
329
|
+
React.createElement("path", { d: "M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z" })));
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
const Home = (props) => {
|
|
333
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
334
|
+
React.createElement("path", { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" })));
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
const Image = (props) => {
|
|
338
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
339
|
+
React.createElement("path", { d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z" })));
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
const Info = (props) => {
|
|
343
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
344
|
+
React.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" })));
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
const InsertChart = (props) => {
|
|
348
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
349
|
+
React.createElement("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z" })));
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
const Language = (props) => {
|
|
353
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
354
|
+
React.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z" })));
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
const Launch = (props) => {
|
|
358
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
359
|
+
React.createElement("path", { d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })));
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
const Link = (props) => {
|
|
363
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
364
|
+
React.createElement("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z" })));
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
const LocalOffer = (props) => {
|
|
368
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
369
|
+
React.createElement("path", { d: "M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z" })));
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
const LocationOn = (props) => {
|
|
373
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
374
|
+
React.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" })));
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
const Lock = (props) => {
|
|
378
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
379
|
+
React.createElement("path", { d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z" })));
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
const Login = (props) => {
|
|
383
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
384
|
+
React.createElement("path", { d: "M11 7L9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8v14z" })));
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
const Logout = (props) => {
|
|
388
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
389
|
+
React.createElement("path", { d: "M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z" })));
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
const Loop = (props) => {
|
|
393
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
394
|
+
React.createElement("path", { d: "M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z" })));
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
const Map = (props) => {
|
|
398
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
399
|
+
React.createElement("path", { d: "M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z" })));
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
const Menu = (props) => {
|
|
403
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
404
|
+
React.createElement("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" })));
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
const Message = (props) => {
|
|
408
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
409
|
+
React.createElement("path", { d: "M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" })));
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
const Mic = (props) => {
|
|
413
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
414
|
+
React.createElement("path", { d: "M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z" })));
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
const MicOff = (props) => {
|
|
418
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
419
|
+
React.createElement("path", { d: "M19 11h-1.7c0 .74-.16 1.43-.43 2.05l1.23 1.23c.56-.98.9-2.09.9-3.28zm-4.02.17c0-.06.02-.11.02-.17V5c0-1.66-1.34-3-3-3S9 3.34 9 5v.18l5.98 5.99zM4.27 3L3 4.27l6.01 6.01V11c0 1.66 1.33 3 2.99 3 .22 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c.91-.13 1.77-.45 2.54-.9L19.73 21 21 19.73 4.27 3z" })));
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
const MoreHoriz = (props) => {
|
|
423
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
424
|
+
React.createElement("path", { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })));
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
const MoreVert = (props) => {
|
|
428
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
429
|
+
React.createElement("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })));
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
const Music = (props) => {
|
|
433
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
434
|
+
React.createElement("path", { d: "M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z" })));
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
const MyLocation = (props) => {
|
|
438
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
439
|
+
React.createElement("path", { d: "M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z" })));
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
const Navigation = (props) => {
|
|
443
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
444
|
+
React.createElement("path", { d: "M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71z" })));
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
const Notifications = (props) => {
|
|
448
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
449
|
+
React.createElement("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z" })));
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
const OpenInNew = (props) => {
|
|
453
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
454
|
+
React.createElement("path", { d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })));
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
const Paste = (props) => {
|
|
458
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
459
|
+
React.createElement("path", { d: "M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z" })));
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
const Pause = (props) => {
|
|
463
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
464
|
+
React.createElement("path", { d: "M6 19h4V5H6v14zm8-14v14h4V5h-4z" })));
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
const Payment = (props) => {
|
|
468
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
469
|
+
React.createElement("path", { d: "M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z" })));
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
const Person = (props) => {
|
|
473
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
474
|
+
React.createElement("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })));
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
const Phone = (props) => {
|
|
478
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
479
|
+
React.createElement("path", { d: "M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z" })));
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
const Photo = (props) => {
|
|
483
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
484
|
+
React.createElement("path", { d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z" })));
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
const Place = (props) => {
|
|
488
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
489
|
+
React.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" })));
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
const PlayArrow = (props) => {
|
|
493
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
494
|
+
React.createElement("path", { d: "M8 5v14l11-7z" })));
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
const Power = (props) => {
|
|
498
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
499
|
+
React.createElement("path", { d: "M16 9v4.66l-3.5 3.51V19h-1v-1.83L8 13.65V9h8m0-6h-2v4h-4V3H8v4h-.01C6.9 6.99 6 7.89 6 8.98v5.52L9.5 18v3h5v-3l3.5-3.5V9c0-1.1-.9-2-2-2V3z" })));
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
const Print = (props) => {
|
|
503
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
504
|
+
React.createElement("path", { d: "M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z" })));
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
const Redo = (props) => {
|
|
508
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
509
|
+
React.createElement("path", { d: "M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z" })));
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
const Refresh = (props) => {
|
|
513
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
514
|
+
React.createElement("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z" })));
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
const Remove = (props) => {
|
|
518
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
519
|
+
React.createElement("path", { d: "M19 13H5v-2h14v2z" })));
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
const RemoveCircle = (props) => {
|
|
523
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
524
|
+
React.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z" })));
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
const Replay = (props) => {
|
|
528
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
529
|
+
React.createElement("path", { d: "M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z" })));
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
const Save = (props) => {
|
|
533
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
534
|
+
React.createElement("path", { d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z" })));
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
const Schedule = (props) => {
|
|
538
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
539
|
+
React.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z" })));
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
const Search = (props) => {
|
|
543
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
544
|
+
React.createElement("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" })));
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
const Send = (props) => {
|
|
548
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
549
|
+
React.createElement("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })));
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
const Settings = (props) => {
|
|
553
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
554
|
+
React.createElement("path", { d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z" })));
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
const Share = (props) => {
|
|
558
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
559
|
+
React.createElement("path", { d: "M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z" })));
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
const ShoppingCart = (props) => {
|
|
563
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
564
|
+
React.createElement("path", { d: "M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z" })));
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
const ShowChart = (props) => {
|
|
568
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
569
|
+
React.createElement("path", { d: "M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z" })));
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
const SkipNext = (props) => {
|
|
573
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
574
|
+
React.createElement("path", { d: "M6 18l8.5-6L6 6v12zM16 6v12h2V6h-2z" })));
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
const SkipPrevious = (props) => {
|
|
578
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
579
|
+
React.createElement("path", { d: "M6 6h2v12H6zm3.5 6l8.5 6V6z" })));
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
const Sort = (props) => {
|
|
583
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
584
|
+
React.createElement("path", { d: "M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z" })));
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
const Star = (props) => {
|
|
588
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
589
|
+
React.createElement("path", { d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" })));
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
const Stop = (props) => {
|
|
593
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
594
|
+
React.createElement("path", { d: "M6 6h12v12H6z" })));
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
const Sync = (props) => {
|
|
598
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
599
|
+
React.createElement("path", { d: "M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z" })));
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
const Terminal = (props) => {
|
|
603
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
604
|
+
React.createElement("path", { d: "M20 4H4c-1.11 0-2 .89-2 2v12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.58-2.59L7.5 9l4 4-4 4z" })));
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
const ThumbDown = (props) => {
|
|
608
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
609
|
+
React.createElement("path", { d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z" })));
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
const ThumbUp = (props) => {
|
|
613
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
614
|
+
React.createElement("path", { d: "M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z" })));
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
const Timeline = (props) => {
|
|
618
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
619
|
+
React.createElement("path", { d: "M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.35.07-.51l-4.51-4.51C8.35 9.02 8.18 9 8 9s-.35.02-.51.07l-4.56-4.55C2.98 4.35 3 4.18 3 4c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.18 0 .35-.02.51-.07l4.56 4.55C6.02 10.65 6 10.82 6 11c0 1.1.9 2 2 2s2-.9 2-2c0-.18-.02-.35-.07-.51l4.51-4.51C14.65 6.02 14.82 6 15 6s.35.02.51.07l3.56-3.55C19.02 2.35 19 2.18 19 2c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2c-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.33.07.51 0 1.1.9 2 2 2s2-.9 2-2z" })));
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
const Timer = (props) => {
|
|
623
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
624
|
+
React.createElement("path", { d: "M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z" })));
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
const Today = (props) => {
|
|
628
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
629
|
+
React.createElement("path", { d: "M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z" })));
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
const Undo = (props) => {
|
|
633
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
634
|
+
React.createElement("path", { d: "M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z" })));
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
const Unlock = (props) => {
|
|
638
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
639
|
+
React.createElement("path", { d: "M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z" })));
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
const Upload = (props) => {
|
|
643
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
644
|
+
React.createElement("path", { d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z" })));
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
const User = (props) => {
|
|
648
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
649
|
+
React.createElement("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })));
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
const Video = (props) => {
|
|
653
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
654
|
+
React.createElement("path", { d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z" })));
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
const ViewList = (props) => {
|
|
658
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
659
|
+
React.createElement("path", { d: "M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z" })));
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
const ViewModule = (props) => {
|
|
663
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
664
|
+
React.createElement("path", { d: "M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z" })));
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
const Visibility = (props) => {
|
|
668
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
669
|
+
React.createElement("path", { d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z" })));
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
const VisibilityOff = (props) => {
|
|
673
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
674
|
+
React.createElement("path", { d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z" })));
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
const Volume = (props) => {
|
|
678
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
679
|
+
React.createElement("path", { d: "M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z" })));
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
const VolumeOff = (props) => {
|
|
683
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
684
|
+
React.createElement("path", { d: "M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z" })));
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
const Warning = (props) => {
|
|
688
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
689
|
+
React.createElement("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })));
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
const ZoomIn = (props) => {
|
|
693
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
694
|
+
React.createElement("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2z" })));
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
const ZoomOut = (props) => {
|
|
698
|
+
return (React.createElement(IconBase, Object.assign({}, props),
|
|
699
|
+
React.createElement("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z" })));
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Context for global icon configuration
|
|
704
|
+
*/
|
|
705
|
+
const IconContext = createContext({});
|
|
706
|
+
/**
|
|
707
|
+
* Provider component for icon configuration
|
|
708
|
+
* Allows setting default props for all icons in a tree
|
|
709
|
+
*
|
|
710
|
+
* @example
|
|
711
|
+
* ```tsx
|
|
712
|
+
* <IconProvider value={{ defaultSize: 24, defaultColor: 'blue' }}>
|
|
713
|
+
* <Home /> // Will be 24px and blue
|
|
714
|
+
* <User /> // Will be 24px and blue
|
|
715
|
+
* </IconProvider>
|
|
716
|
+
* ```
|
|
717
|
+
*/
|
|
718
|
+
const IconProvider = ({ value, children }) => {
|
|
719
|
+
const memoizedValue = useMemo(() => value, [value]);
|
|
720
|
+
return (React.createElement(IconContext.Provider, { value: memoizedValue }, children));
|
|
721
|
+
};
|
|
722
|
+
/**
|
|
723
|
+
* Hook to access icon context configuration
|
|
724
|
+
* @returns Current icon configuration
|
|
725
|
+
*/
|
|
726
|
+
const useIconContext = () => {
|
|
727
|
+
return useContext(IconContext);
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Normalizes size prop to a valid CSS value
|
|
732
|
+
* @param size - Size value (number or string)
|
|
733
|
+
* @returns Normalized size string
|
|
734
|
+
*/
|
|
735
|
+
const normalizeSize = (size) => {
|
|
736
|
+
if (size === undefined)
|
|
737
|
+
return '1em';
|
|
738
|
+
return typeof size === 'number' ? `${size}px` : size;
|
|
739
|
+
};
|
|
740
|
+
/**
|
|
741
|
+
* Merges class names, filtering out falsy values
|
|
742
|
+
* @param classes - Array of class names
|
|
743
|
+
* @returns Merged class name string
|
|
744
|
+
*/
|
|
745
|
+
const mergeClassNames = (...classes) => {
|
|
746
|
+
return classes.filter(Boolean).join(' ');
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* Validates color value (basic validation)
|
|
750
|
+
* @param color - Color string
|
|
751
|
+
* @returns Whether color is valid
|
|
752
|
+
*/
|
|
753
|
+
const isValidColor = (color) => {
|
|
754
|
+
if (typeof color !== 'string')
|
|
755
|
+
return false;
|
|
756
|
+
// Basic validation - accepts hex, rgb, rgba, hsl, hsla, named colors, currentColor
|
|
757
|
+
const colorRegex = /^(#[0-9A-Fa-f]{3,8}|rgb|rgba|hsl|hsla|currentColor|transparent|[a-z]+).*$/;
|
|
758
|
+
return colorRegex.test(color);
|
|
759
|
+
};
|
|
760
|
+
/**
|
|
761
|
+
* Creates a unique ID for accessibility
|
|
762
|
+
* @param prefix - ID prefix
|
|
763
|
+
* @returns Unique ID
|
|
764
|
+
*/
|
|
765
|
+
let idCounter = 0;
|
|
766
|
+
const generateId = (prefix = 'icon') => {
|
|
767
|
+
return `${prefix}-${++idCounter}`;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* Merges icon props with default values
|
|
771
|
+
* @param props - Icon props
|
|
772
|
+
* @param defaults - Default values
|
|
773
|
+
* @returns Merged props
|
|
774
|
+
*/
|
|
775
|
+
const mergeIconProps = (props, defaults) => {
|
|
776
|
+
return Object.assign(Object.assign(Object.assign({}, defaults), props), { className: mergeClassNames(defaults.className, props.className), style: Object.assign(Object.assign({}, defaults.style), props.style) });
|
|
777
|
+
};
|
|
778
|
+
/**
|
|
779
|
+
* Converts kebab-case to PascalCase
|
|
780
|
+
* @param str - Kebab-case string
|
|
781
|
+
* @returns PascalCase string
|
|
782
|
+
*/
|
|
783
|
+
const kebabToPascal = (str) => {
|
|
784
|
+
return str
|
|
785
|
+
.split('-')
|
|
786
|
+
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
|
787
|
+
.join('');
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Converts PascalCase to kebab-case
|
|
791
|
+
* @param str - PascalCase string
|
|
792
|
+
* @returns Kebab-case string
|
|
793
|
+
*/
|
|
794
|
+
const pascalToKebab = (str) => {
|
|
795
|
+
return str
|
|
796
|
+
.replace(/([a-z0-9])([A-Z])/g, '$1-$2')
|
|
797
|
+
.toLowerCase();
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Hook to merge icon props with context defaults
|
|
802
|
+
* @param props - Icon component props
|
|
803
|
+
* @returns Merged props with defaults from context
|
|
804
|
+
*
|
|
805
|
+
* @example
|
|
806
|
+
* ```tsx
|
|
807
|
+
* const MyIcon = (props: IconProps) => {
|
|
808
|
+
* const mergedProps = useIcon(props);
|
|
809
|
+
* return <IconBase {...mergedProps}>...</IconBase>;
|
|
810
|
+
* };
|
|
811
|
+
* ```
|
|
812
|
+
*/
|
|
813
|
+
const useIcon = (props) => {
|
|
814
|
+
const context = useIconContext();
|
|
815
|
+
return useMemo(() => {
|
|
816
|
+
const defaults = {
|
|
817
|
+
size: context.defaultSize,
|
|
818
|
+
color: context.defaultColor,
|
|
819
|
+
className: context.classNamePrefix ? `${context.classNamePrefix}` : undefined,
|
|
820
|
+
};
|
|
821
|
+
return mergeIconProps(props, defaults);
|
|
822
|
+
}, [props, context]);
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Library version
|
|
827
|
+
*/
|
|
828
|
+
const VERSION = '1.0.0';
|
|
829
|
+
/**
|
|
830
|
+
* Default icon configuration
|
|
831
|
+
*/
|
|
832
|
+
const DEFAULT_ICON_CONFIG = {
|
|
833
|
+
defaultSize: '1em',
|
|
834
|
+
defaultColor: 'currentColor',
|
|
835
|
+
classNamePrefix: 'icon',
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* Standard viewBox sizes
|
|
839
|
+
*/
|
|
840
|
+
const VIEWBOX_SIZES = {
|
|
841
|
+
SMALL: '0 0 16 16',
|
|
842
|
+
MEDIUM: '0 0 24 24',
|
|
843
|
+
LARGE: '0 0 32 32',
|
|
844
|
+
XLARGE: '0 0 48 48',
|
|
845
|
+
};
|
|
846
|
+
/**
|
|
847
|
+
* Icon categories for organization
|
|
848
|
+
*/
|
|
849
|
+
const ICON_CATEGORIES = {
|
|
850
|
+
NAVIGATION: 'navigation',
|
|
851
|
+
SOCIAL: 'social',
|
|
852
|
+
UI: 'ui',
|
|
853
|
+
MEDIA: 'media',
|
|
854
|
+
EDITOR: 'editor',
|
|
855
|
+
BUSINESS: 'business',
|
|
856
|
+
EMOJI: 'emoji',
|
|
857
|
+
ARROWS: 'arrows',
|
|
858
|
+
BRANDS: 'brands',
|
|
859
|
+
};
|
|
860
|
+
/**
|
|
861
|
+
* Common icon sizes in pixels
|
|
862
|
+
*/
|
|
863
|
+
const ICON_SIZES = {
|
|
864
|
+
XS: 12,
|
|
865
|
+
SM: 16,
|
|
866
|
+
MD: 24,
|
|
867
|
+
LG: 32,
|
|
868
|
+
XL: 48,
|
|
869
|
+
XXL: 64,
|
|
870
|
+
};
|
|
871
|
+
/**
|
|
872
|
+
* Accessibility roles for icons
|
|
873
|
+
*/
|
|
874
|
+
const ICON_ROLES = {
|
|
875
|
+
IMG: 'img',
|
|
876
|
+
PRESENTATION: 'presentation',
|
|
877
|
+
BUTTON: 'button',
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
export { AccessTime, AccountCircle, Add, AddCircle, Alarm, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Article, Assessment, Attach, Bookmark, BookmarkBorder, BugReport, Build, Call, Camera, Cancel, Chat, Check, CheckCircle, Close, CloudDownload, CloudUpload, Code, Copy, CreditCard, Cut, DEFAULT_ICON_CONFIG, Dashboard, DateRange, Delete, Description, Download, Edit, Email, Error$1 as Error, Event, Extension, FastForward, FastRewind, Favorite, FavoriteBorder, File, FilterList, Folder, FolderOpen, Fullscreen, FullscreenExit, GridView, Group, Heart, Help, HelpOutline, Home, ICON_CATEGORIES, ICON_ROLES, ICON_SIZES, IconBase, IconProvider, Image, Info, InsertChart, Language, Launch, Link, LocalOffer, LocationOn, Lock, Login, Logout, Loop, Map, Menu, Message, Mic, MicOff, MoreHoriz, MoreVert, Music, MyLocation, Navigation, Notifications, OpenInNew, Paste, Pause, Payment, Person, Phone, Photo, Place, PlayArrow, Power, Print, Redo, Refresh, Remove, RemoveCircle, Replay, Save, Schedule, Search, Send, Settings, Share, ShoppingCart, ShowChart, SkipNext, SkipPrevious, Sort, Star, Stop, Sync, Terminal, ThumbDown, ThumbUp, Timeline, Timer, Today, Undo, Unlock, Upload, User, VERSION, VIEWBOX_SIZES, Video, ViewList, ViewModule, Visibility, VisibilityOff, Volume, VolumeOff, Warning, ZoomIn, ZoomOut, generateId, isValidColor, kebabToPascal, mergeClassNames, mergeIconProps, normalizeSize, pascalToKebab, useIcon, useIconContext };
|
|
881
|
+
//# sourceMappingURL=index.esm.js.map
|