@primer/styled-octicons 0.0.0-dd899ea → 0.0.0-dd916c4
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 +1 -1
- package/dist/icons/AlertIcon.js +6 -3
- package/dist/icons/ArchiveIcon.js +6 -3
- package/dist/icons/ArrowBothIcon.js +6 -3
- package/dist/icons/ArrowDownIcon.js +6 -3
- package/dist/icons/ArrowDownLeftIcon.js +6 -3
- package/dist/icons/ArrowDownRightIcon.js +6 -3
- package/dist/icons/ArrowLeftIcon.js +6 -3
- package/dist/icons/ArrowRightIcon.js +6 -3
- package/dist/icons/ArrowSwitchIcon.js +87 -0
- package/dist/icons/ArrowUpIcon.js +7 -4
- package/dist/icons/ArrowUpLeftIcon.js +6 -3
- package/dist/icons/ArrowUpRightIcon.js +6 -3
- package/dist/icons/BeakerIcon.js +6 -3
- package/dist/icons/BellFillIcon.js +7 -4
- package/dist/icons/BellIcon.js +6 -3
- package/dist/icons/BellSlashIcon.js +6 -3
- package/dist/icons/BlockedIcon.js +87 -0
- package/dist/icons/BoldIcon.js +6 -3
- package/dist/icons/BookIcon.js +6 -3
- package/dist/icons/BookmarkFillIcon.js +6 -3
- package/dist/icons/BookmarkIcon.js +6 -3
- package/dist/icons/BookmarkSlashFillIcon.js +6 -3
- package/dist/icons/BookmarkSlashIcon.js +6 -3
- package/dist/icons/BriefcaseIcon.js +87 -0
- package/dist/icons/BroadcastIcon.js +6 -3
- package/dist/icons/BrowserIcon.js +87 -0
- package/dist/icons/BugIcon.js +87 -0
- package/dist/icons/CalendarIcon.js +6 -3
- package/dist/icons/CheckCircleFillIcon.js +6 -3
- package/dist/icons/CheckCircleIcon.js +6 -3
- package/dist/icons/CheckIcon.js +6 -3
- package/dist/icons/ChecklistIcon.js +6 -3
- package/dist/icons/ChevronDownIcon.js +6 -3
- package/dist/icons/ChevronLeftIcon.js +6 -3
- package/dist/icons/ChevronRightIcon.js +6 -3
- package/dist/icons/ChevronUpIcon.js +6 -3
- package/dist/icons/CircleIcon.js +7 -4
- package/dist/icons/CircleSlashIcon.js +6 -3
- package/dist/icons/ClockIcon.js +6 -3
- package/dist/icons/CodeIcon.js +6 -3
- package/dist/icons/CodeReviewIcon.js +6 -3
- package/dist/icons/CodeSquareIcon.js +6 -3
- package/dist/icons/{EyeSlashIcon.js → CodescanCheckmarkIcon.js} +11 -8
- package/dist/icons/CodescanIcon.js +87 -0
- package/dist/icons/CodespacesIcon.js +87 -0
- package/dist/icons/ColumnsIcon.js +87 -0
- package/dist/icons/CommentDiscussionIcon.js +6 -3
- package/dist/icons/CommentIcon.js +6 -3
- package/dist/icons/CommitIcon.js +6 -3
- package/dist/icons/ContainerIcon.js +87 -0
- package/dist/icons/CopyIcon.js +7 -4
- package/dist/icons/CpuIcon.js +6 -3
- package/dist/icons/CreditCardIcon.js +6 -3
- package/dist/icons/CrossReferenceIcon.js +6 -3
- package/dist/icons/DashIcon.js +7 -4
- package/dist/icons/DatabaseIcon.js +6 -3
- package/dist/icons/DependabotIcon.js +87 -0
- package/dist/icons/DesktopDownloadIcon.js +7 -4
- package/dist/icons/{FileSymlinkIcon.js → DeviceCameraIcon.js} +11 -8
- package/dist/icons/DeviceCameraVideoIcon.js +6 -3
- package/dist/icons/DeviceDesktopIcon.js +6 -3
- package/dist/icons/DeviceMobileIcon.js +6 -3
- package/dist/icons/DiamondIcon.js +87 -0
- package/dist/icons/DiffAddedIcon.js +6 -3
- package/dist/icons/DiffIcon.js +6 -3
- package/dist/icons/DiffIgnoredIcon.js +6 -3
- package/dist/icons/DiffModifiedIcon.js +6 -3
- package/dist/icons/DiffRemovedIcon.js +6 -3
- package/dist/icons/DiffRenamedIcon.js +6 -3
- package/dist/icons/DotFillIcon.js +7 -4
- package/dist/icons/DotIcon.js +7 -4
- package/dist/icons/DownloadIcon.js +6 -3
- package/dist/icons/DuplicateIcon.js +87 -0
- package/dist/icons/{TrashcanIcon.js → EllipsisIcon.js} +11 -8
- package/dist/icons/EyeClosedIcon.js +7 -4
- package/dist/icons/EyeIcon.js +6 -3
- package/dist/icons/FileBadgeIcon.js +87 -0
- package/dist/icons/FileBinaryIcon.js +6 -3
- package/dist/icons/FileCodeIcon.js +6 -3
- package/dist/icons/FileDiffIcon.js +6 -3
- package/dist/icons/FileDirectoryFillIcon.js +6 -3
- package/dist/icons/FileDirectoryIcon.js +6 -3
- package/dist/icons/FileIcon.js +6 -3
- package/dist/icons/FileMediaIcon.js +6 -3
- package/dist/icons/FileSubmoduleIcon.js +6 -3
- package/dist/icons/FileSymlinkFileIcon.js +7 -4
- package/dist/icons/FileZipIcon.js +6 -3
- package/dist/icons/FilterIcon.js +6 -3
- package/dist/icons/FlameIcon.js +7 -4
- package/dist/icons/FoldDownIcon.js +7 -4
- package/dist/icons/FoldIcon.js +7 -4
- package/dist/icons/FoldUpIcon.js +7 -4
- package/dist/icons/GearIcon.js +6 -3
- package/dist/icons/GiftIcon.js +6 -3
- package/dist/icons/GitBranchIcon.js +6 -3
- package/dist/icons/GitCommitIcon.js +6 -3
- package/dist/icons/GitCompareIcon.js +6 -3
- package/dist/icons/GitMergeIcon.js +6 -3
- package/dist/icons/GitPullRequestClosedIcon.js +87 -0
- package/dist/icons/GitPullRequestDraftIcon.js +87 -0
- package/dist/icons/GitPullRequestIcon.js +6 -3
- package/dist/icons/GlobeIcon.js +6 -3
- package/dist/icons/GrabberIcon.js +6 -3
- package/dist/icons/GraphIcon.js +6 -3
- package/dist/icons/HashIcon.js +87 -0
- package/dist/icons/HeadingIcon.js +6 -3
- package/dist/icons/HeartFillIcon.js +6 -3
- package/dist/icons/HeartIcon.js +6 -3
- package/dist/icons/HistoryIcon.js +6 -3
- package/dist/icons/HomeFillIcon.js +6 -3
- package/dist/icons/HomeIcon.js +6 -3
- package/dist/icons/HorizontalRuleIcon.js +6 -3
- package/dist/icons/HourglassIcon.js +6 -3
- package/dist/icons/HubotIcon.js +6 -3
- package/dist/icons/ImageIcon.js +6 -3
- package/dist/icons/InboxIcon.js +6 -3
- package/dist/icons/InfinityIcon.js +6 -3
- package/dist/icons/InfoIcon.js +6 -3
- package/dist/icons/IssueClosedIcon.js +7 -4
- package/dist/icons/IssueDraftIcon.js +87 -0
- package/dist/icons/IssueOpenedIcon.js +7 -4
- package/dist/icons/IssueReopenedIcon.js +7 -4
- package/dist/icons/ItalicIcon.js +6 -3
- package/dist/icons/KebabHorizontalIcon.js +6 -3
- package/dist/icons/{FireIcon.js → KeyAsteriskIcon.js} +11 -8
- package/dist/icons/KeyIcon.js +6 -3
- package/dist/icons/LawIcon.js +6 -3
- package/dist/icons/LightBulbIcon.js +6 -3
- package/dist/icons/LinkExternalIcon.js +7 -4
- package/dist/icons/LinkIcon.js +6 -3
- package/dist/icons/ListOrderedIcon.js +6 -3
- package/dist/icons/ListUnorderedIcon.js +6 -3
- package/dist/icons/LocationIcon.js +6 -3
- package/dist/icons/LockIcon.js +6 -3
- package/dist/icons/LogoGistIcon.js +6 -3
- package/dist/icons/LogoGithubIcon.js +6 -3
- package/dist/icons/MailIcon.js +6 -3
- package/dist/icons/MarkGithubIcon.js +6 -3
- package/dist/icons/MarkdownIcon.js +6 -3
- package/dist/icons/MegaphoneIcon.js +7 -4
- package/dist/icons/MentionIcon.js +6 -3
- package/dist/icons/{OctofaceIcon.js → MeterIcon.js} +11 -8
- package/dist/icons/MilestoneIcon.js +6 -3
- package/dist/icons/MirrorIcon.js +6 -3
- package/dist/icons/MoonIcon.js +87 -0
- package/dist/icons/MortarBoardIcon.js +6 -3
- package/dist/icons/MultiSelectIcon.js +87 -0
- package/dist/icons/MuteIcon.js +6 -3
- package/dist/icons/NoEntryIcon.js +6 -3
- package/dist/icons/NorthStarIcon.js +6 -3
- package/dist/icons/NoteIcon.js +6 -3
- package/dist/icons/NumberIcon.js +87 -0
- package/dist/icons/OrganizationIcon.js +6 -3
- package/dist/icons/PackageDependenciesIcon.js +6 -3
- package/dist/icons/PackageDependentsIcon.js +6 -3
- package/dist/icons/PackageIcon.js +6 -3
- package/dist/icons/PaintbrushIcon.js +87 -0
- package/dist/icons/PaperAirplaneIcon.js +6 -3
- package/dist/icons/{ClippyIcon.js → PasteIcon.js} +10 -7
- package/dist/icons/PencilIcon.js +6 -3
- package/dist/icons/PeopleIcon.js +6 -3
- package/dist/icons/PersonAddIcon.js +87 -0
- package/dist/icons/PersonFillIcon.js +87 -0
- package/dist/icons/PersonIcon.js +6 -3
- package/dist/icons/PinIcon.js +6 -3
- package/dist/icons/PlayIcon.js +6 -3
- package/dist/icons/PlugIcon.js +6 -3
- package/dist/icons/PlusCircleIcon.js +6 -3
- package/dist/icons/PlusIcon.js +7 -4
- package/dist/icons/ProjectIcon.js +6 -3
- package/dist/icons/PulseIcon.js +6 -3
- package/dist/icons/QuestionIcon.js +6 -3
- package/dist/icons/QuoteIcon.js +6 -3
- package/dist/icons/ReplyIcon.js +6 -3
- package/dist/icons/RepoCloneIcon.js +87 -0
- package/dist/icons/RepoForkedIcon.js +7 -4
- package/dist/icons/RepoIcon.js +6 -3
- package/dist/icons/{InsightsIcon.js → RepoPullIcon.js} +11 -8
- package/dist/icons/RepoPushIcon.js +6 -3
- package/dist/icons/RepoTemplateIcon.js +6 -3
- package/dist/icons/ReportIcon.js +6 -3
- package/dist/icons/RocketIcon.js +6 -3
- package/dist/icons/RowsIcon.js +87 -0
- package/dist/icons/RssIcon.js +6 -3
- package/dist/icons/RubyIcon.js +87 -0
- package/dist/icons/ScreenFullIcon.js +6 -3
- package/dist/icons/ScreenNormalIcon.js +6 -3
- package/dist/icons/SearchIcon.js +6 -3
- package/dist/icons/SelectSingleIcon.js +87 -0
- package/dist/icons/ServerIcon.js +6 -3
- package/dist/icons/ShareAndroidIcon.js +6 -3
- package/dist/icons/ShareIcon.js +6 -3
- package/dist/icons/ShieldCheckIcon.js +6 -3
- package/dist/icons/ShieldIcon.js +6 -3
- package/dist/icons/ShieldLockIcon.js +6 -3
- package/dist/icons/ShieldXIcon.js +6 -3
- package/dist/icons/SidebarCollapseIcon.js +87 -0
- package/dist/icons/SidebarExpandIcon.js +87 -0
- package/dist/icons/SignInIcon.js +6 -3
- package/dist/icons/SignOutIcon.js +6 -3
- package/dist/icons/{GitForkIcon.js → SingleSelectIcon.js} +11 -8
- package/dist/icons/SkipIcon.js +6 -3
- package/dist/icons/SmileyIcon.js +7 -4
- package/dist/icons/SortAscIcon.js +87 -0
- package/dist/icons/SortDescIcon.js +87 -0
- package/dist/icons/SquareFillIcon.js +87 -0
- package/dist/icons/SquareIcon.js +87 -0
- package/dist/icons/SquirrelIcon.js +87 -0
- package/dist/icons/StackIcon.js +87 -0
- package/dist/icons/StarFillIcon.js +6 -3
- package/dist/icons/StarIcon.js +6 -3
- package/dist/icons/StopIcon.js +6 -3
- package/dist/icons/StopwatchIcon.js +6 -3
- package/dist/icons/StrikethroughIcon.js +87 -0
- package/dist/icons/SunIcon.js +87 -0
- package/dist/icons/SyncIcon.js +6 -3
- package/dist/icons/TabIcon.js +6 -3
- package/dist/icons/TableIcon.js +87 -0
- package/dist/icons/TagIcon.js +6 -3
- package/dist/icons/TasklistIcon.js +6 -3
- package/dist/icons/TelescopeFillIcon.js +87 -0
- package/dist/icons/TelescopeIcon.js +6 -3
- package/dist/icons/TerminalIcon.js +6 -3
- package/dist/icons/ThreeBarsIcon.js +6 -3
- package/dist/icons/ThumbsdownIcon.js +6 -3
- package/dist/icons/ThumbsupIcon.js +6 -3
- package/dist/icons/ToolsIcon.js +6 -3
- package/dist/icons/TrashIcon.js +7 -4
- package/dist/icons/TriangleDownIcon.js +7 -4
- package/dist/icons/TriangleLeftIcon.js +6 -3
- package/dist/icons/TriangleRightIcon.js +6 -3
- package/dist/icons/TriangleUpIcon.js +6 -3
- package/dist/icons/TypographyIcon.js +6 -3
- package/dist/icons/UnfoldIcon.js +7 -4
- package/dist/icons/UnlockIcon.js +6 -3
- package/dist/icons/UnmuteIcon.js +6 -3
- package/dist/icons/UnverifiedIcon.js +7 -4
- package/dist/icons/UploadIcon.js +6 -3
- package/dist/icons/VerifiedIcon.js +6 -3
- package/dist/icons/VersionsIcon.js +6 -3
- package/dist/icons/VideoIcon.js +87 -0
- package/dist/icons/WorkflowIcon.js +6 -3
- package/dist/icons/XCircleFillIcon.js +7 -4
- package/dist/icons/XCircleIcon.js +7 -4
- package/dist/icons/XIcon.js +6 -3
- package/dist/icons/ZapIcon.js +87 -0
- package/dist/index.d.ts +49 -10
- package/dist/index.esm.js +49 -10
- package/dist/index.umd.js +985 -358
- package/package.json +7 -5
- package/dist/icons/SettingsIcon.js +0 -84
- package/dist/icons/UnverifedIcon.js +0 -84
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/styled-octicons",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-dd916c4",
|
|
4
4
|
"description": "A scalable set of icons handcrafted with <3 by GitHub.",
|
|
5
|
-
"homepage": "https://octicons
|
|
5
|
+
"homepage": "https://primer.style/octicons",
|
|
6
6
|
"author": "GitHub, Inc.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.umd.js",
|
|
@@ -41,20 +41,22 @@
|
|
|
41
41
|
"styled-components": "4.x || 5.x"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
+
"@github/prettier-config": "0.0.4",
|
|
44
45
|
"@testing-library/jest-dom": "^5.3.0",
|
|
45
46
|
"@testing-library/react": "^10.0.2",
|
|
46
47
|
"@types/react": "^16.4.6",
|
|
47
48
|
"babel-preset-env": "^1.7.0",
|
|
48
49
|
"babel-preset-react": "^6.24.1",
|
|
49
50
|
"babel-preset-stage-0": "^6.24.1",
|
|
50
|
-
"eslint": "^5.
|
|
51
|
-
"eslint-plugin-github": "
|
|
51
|
+
"eslint": "^6.5.1",
|
|
52
|
+
"eslint-plugin-github": "4.1.3",
|
|
52
53
|
"eslint-plugin-jest": "^21.17.0",
|
|
54
|
+
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
55
|
+
"eslint-plugin-react": "7.23.2",
|
|
53
56
|
"fs-extra": "^6.0.1",
|
|
54
57
|
"jest": "^23.2.0",
|
|
55
58
|
"jest-styled-components": "^7.0.2",
|
|
56
59
|
"next": "^5.1.0",
|
|
57
|
-
"primer-react": "0.0.6-alpha.1",
|
|
58
60
|
"react": "^16.4.0",
|
|
59
61
|
"react-dom": "^16.4.1",
|
|
60
62
|
"rollup": "^0.62.0",
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { compose, space, color } from 'styled-system';
|
|
3
|
-
import css from '@styled-system/css';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
|
|
6
|
-
var sizeMap = {
|
|
7
|
-
small: 16,
|
|
8
|
-
medium: 32,
|
|
9
|
-
large: 64
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
function getSvgProps(_ref) {
|
|
13
|
-
var ariaLabel = _ref['aria-label'],
|
|
14
|
-
className = _ref.className,
|
|
15
|
-
size = _ref.size,
|
|
16
|
-
verticalAlign = _ref.verticalAlign,
|
|
17
|
-
svgDataByHeight = _ref.svgDataByHeight;
|
|
18
|
-
|
|
19
|
-
var height = sizeMap[size] || size;
|
|
20
|
-
var naturalHeight = closestNaturalHeight(Object.keys(svgDataByHeight), height);
|
|
21
|
-
var naturalWidth = svgDataByHeight[naturalHeight].width;
|
|
22
|
-
var width = height * (naturalWidth / naturalHeight);
|
|
23
|
-
var path = svgDataByHeight[naturalHeight].path;
|
|
24
|
-
|
|
25
|
-
return {
|
|
26
|
-
'aria-hidden': ariaLabel ? 'false' : 'true',
|
|
27
|
-
'aria-label': ariaLabel,
|
|
28
|
-
role: 'img',
|
|
29
|
-
className: className,
|
|
30
|
-
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
|
-
width: width,
|
|
32
|
-
height: height,
|
|
33
|
-
fill: 'currentColor',
|
|
34
|
-
style: {
|
|
35
|
-
display: 'inline-block',
|
|
36
|
-
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
38
|
-
},
|
|
39
|
-
dangerouslySetInnerHTML: { __html: path }
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function closestNaturalHeight(naturalHeights, height) {
|
|
44
|
-
return naturalHeights.map(function (naturalHeight) {
|
|
45
|
-
return parseInt(naturalHeight, 10);
|
|
46
|
-
}).reduce(function (acc, naturalHeight) {
|
|
47
|
-
return naturalHeight <= height ? naturalHeight : acc;
|
|
48
|
-
}, naturalHeights[0]);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
var _extends = Object.assign || function (target) {
|
|
52
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
53
|
-
var source = arguments[i];for (var key in source) {
|
|
54
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
55
|
-
target[key] = source[key];
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}return target;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
function SettingsIcon(props) {
|
|
62
|
-
var svgDataByHeight = { "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M11.31 2.525a9.648 9.648 0 011.38 0c.055.004.135.05.162.16l.351 1.45c.153.628.626 1.08 1.173 1.278.205.074.405.157.6.249a1.832 1.832 0 001.733-.074l1.275-.776c.097-.06.186-.036.228 0 .348.302.674.628.976.976.036.042.06.13 0 .228l-.776 1.274a1.832 1.832 0 00-.074 1.734c.092.195.175.395.248.6.198.547.652 1.02 1.278 1.172l1.45.353c.111.026.157.106.161.161a9.653 9.653 0 010 1.38c-.004.055-.05.135-.16.162l-1.45.351a1.833 1.833 0 00-1.278 1.173 6.926 6.926 0 01-.25.6 1.832 1.832 0 00.075 1.733l.776 1.275c.06.097.036.186 0 .228a9.555 9.555 0 01-.976.976c-.042.036-.13.06-.228 0l-1.275-.776a1.832 1.832 0 00-1.733-.074 6.926 6.926 0 01-.6.248 1.833 1.833 0 00-1.172 1.278l-.353 1.45c-.026.111-.106.157-.161.161a9.653 9.653 0 01-1.38 0c-.055-.004-.135-.05-.162-.16l-.351-1.45a1.833 1.833 0 00-1.173-1.278 6.928 6.928 0 01-.6-.25 1.832 1.832 0 00-1.734.075l-1.274.776c-.097.06-.186.036-.228 0a9.56 9.56 0 01-.976-.976c-.036-.042-.06-.13 0-.228l.776-1.275a1.832 1.832 0 00.074-1.733 6.948 6.948 0 01-.249-.6 1.833 1.833 0 00-1.277-1.172l-1.45-.353c-.111-.026-.157-.106-.161-.161a9.648 9.648 0 010-1.38c.004-.055.05-.135.16-.162l1.45-.351a1.833 1.833 0 001.278-1.173 6.95 6.95 0 01.249-.6 1.832 1.832 0 00-.074-1.734l-.776-1.274c-.06-.097-.036-.186 0-.228.302-.348.628-.674.976-.976.042-.036.13-.06.228 0l1.274.776a1.832 1.832 0 001.734.074 6.95 6.95 0 01.6-.249 1.833 1.833 0 001.172-1.277l.353-1.45c.026-.111.106-.157.161-.161zM12 1c-.268 0-.534.01-.797.028-.763.055-1.345.617-1.512 1.304l-.352 1.45c-.02.078-.09.172-.225.22a8.45 8.45 0 00-.728.303c-.13.06-.246.044-.315.002l-1.274-.776c-.604-.368-1.412-.354-1.99.147-.403.348-.78.726-1.129 1.128-.5.579-.515 1.387-.147 1.99l.776 1.275c.042.069.059.185-.002.315a8.45 8.45 0 00-.302.728c-.05.135-.143.206-.221.225l-1.45.352c-.687.167-1.249.749-1.304 1.512a11.149 11.149 0 000 1.594c.055.763.617 1.345 1.304 1.512l1.45.352c.078.02.172.09.22.225.09.248.191.491.303.729.06.129.044.245.002.314l-.776 1.274c-.368.604-.354 1.412.147 1.99.348.403.726.78 1.128 1.129.579.5 1.387.515 1.99.147l1.275-.776c.069-.042.185-.059.315.002.237.112.48.213.728.302.135.05.206.143.225.221l.352 1.45c.167.687.749 1.249 1.512 1.303a11.125 11.125 0 001.594 0c.763-.054 1.345-.616 1.512-1.303l.352-1.45c.02-.078.09-.172.225-.22.248-.09.491-.191.729-.303.129-.06.245-.044.314-.002l1.274.776c.604.368 1.412.354 1.99-.147.403-.348.78-.726 1.129-1.128.5-.579.515-1.387.147-1.99l-.776-1.275c-.042-.069-.059-.185.002-.315.112-.237.213-.48.302-.728.05-.135.143-.206.221-.225l1.45-.352c.687-.167 1.249-.749 1.303-1.512a11.125 11.125 0 000-1.594c-.054-.763-.616-1.345-1.303-1.512l-1.45-.352c-.078-.02-.172-.09-.22-.225a8.469 8.469 0 00-.303-.728c-.06-.13-.044-.246-.002-.315l.776-1.274c.368-.604.354-1.412-.147-1.99-.348-.403-.726-.78-1.128-1.129-.579-.5-1.387-.515-1.99-.147l-1.275.776c-.069.042-.185.059-.315-.002a8.465 8.465 0 00-.728-.302c-.135-.05-.206-.143-.225-.221l-.352-1.45c-.167-.687-.749-1.249-1.512-1.304A11.149 11.149 0 0012 1zm2.5 11a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm1.5 0a4 4 0 11-8 0 4 4 0 018 0z\"></path>" } };
|
|
63
|
-
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
SettingsIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
68
|
-
size: 16,
|
|
69
|
-
verticalAlign: 'text-bottom'
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
// eslint-disable-next-line import/no-namespace
|
|
73
|
-
|
|
74
|
-
var COMMON = compose(space, color);
|
|
75
|
-
|
|
76
|
-
var sx = function sx(props) {
|
|
77
|
-
return css(props.sx);
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
81
|
-
|
|
82
|
-
var StyledSettingsIcon = styled(SettingsIcon)(COMMON, sx);
|
|
83
|
-
|
|
84
|
-
export default StyledSettingsIcon;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { compose, space, color } from 'styled-system';
|
|
3
|
-
import css from '@styled-system/css';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
|
|
6
|
-
var sizeMap = {
|
|
7
|
-
small: 16,
|
|
8
|
-
medium: 32,
|
|
9
|
-
large: 64
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
function getSvgProps(_ref) {
|
|
13
|
-
var ariaLabel = _ref['aria-label'],
|
|
14
|
-
className = _ref.className,
|
|
15
|
-
size = _ref.size,
|
|
16
|
-
verticalAlign = _ref.verticalAlign,
|
|
17
|
-
svgDataByHeight = _ref.svgDataByHeight;
|
|
18
|
-
|
|
19
|
-
var height = sizeMap[size] || size;
|
|
20
|
-
var naturalHeight = closestNaturalHeight(Object.keys(svgDataByHeight), height);
|
|
21
|
-
var naturalWidth = svgDataByHeight[naturalHeight].width;
|
|
22
|
-
var width = height * (naturalWidth / naturalHeight);
|
|
23
|
-
var path = svgDataByHeight[naturalHeight].path;
|
|
24
|
-
|
|
25
|
-
return {
|
|
26
|
-
'aria-hidden': ariaLabel ? 'false' : 'true',
|
|
27
|
-
'aria-label': ariaLabel,
|
|
28
|
-
role: 'img',
|
|
29
|
-
className: className,
|
|
30
|
-
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
|
-
width: width,
|
|
32
|
-
height: height,
|
|
33
|
-
fill: 'currentColor',
|
|
34
|
-
style: {
|
|
35
|
-
display: 'inline-block',
|
|
36
|
-
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
38
|
-
},
|
|
39
|
-
dangerouslySetInnerHTML: { __html: path }
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function closestNaturalHeight(naturalHeights, height) {
|
|
44
|
-
return naturalHeights.map(function (naturalHeight) {
|
|
45
|
-
return parseInt(naturalHeight, 10);
|
|
46
|
-
}).reduce(function (acc, naturalHeight) {
|
|
47
|
-
return naturalHeight <= height ? naturalHeight : acc;
|
|
48
|
-
}, naturalHeights[0]);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
var _extends = Object.assign || function (target) {
|
|
52
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
53
|
-
var source = arguments[i];for (var key in source) {
|
|
54
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
55
|
-
target[key] = source[key];
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}return target;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
function UnverifedIcon(props) {
|
|
62
|
-
var svgDataByHeight = { "24": { "width": 24, "path": "<path d=\"M13 16.5a1 1 0 11-2 0 1 1 0 012 0zm-2.517-7.665c.112-.223.268-.424.488-.57C11.186 8.12 11.506 8 12 8c.384 0 .766.118 1.034.319a.953.953 0 01.403.806c0 .48-.218.81-.62 1.186a9.293 9.293 0 01-.409.354 19.8 19.8 0 00-.294.249c-.246.213-.524.474-.738.795l-.126.19V13.5a.75.75 0 001.5 0v-1.12c.09-.1.203-.208.347-.333.063-.055.14-.119.222-.187.166-.14.358-.3.52-.452.536-.5 1.098-1.2 1.098-2.283a2.45 2.45 0 00-1.003-2.006C13.37 6.695 12.658 6.5 12 6.5c-.756 0-1.373.191-1.861.517a2.944 2.944 0 00-.997 1.148.75.75 0 001.341.67z\"></path><path fill-rule=\"evenodd\" d=\"M9.864 1.2a3.61 3.61 0 014.272 0l1.375 1.01c.274.2.593.333.929.384l1.686.259a3.61 3.61 0 013.021 3.02l.259 1.687c.051.336.183.655.384.929l1.01 1.375a3.61 3.61 0 010 4.272l-1.01 1.375a2.11 2.11 0 00-.384.929l-.259 1.686a3.61 3.61 0 01-3.02 3.021l-1.687.259a2.11 2.11 0 00-.929.384l-1.375 1.01a3.61 3.61 0 01-4.272 0l-1.375-1.01a2.11 2.11 0 00-.929-.384l-1.686-.259a3.61 3.61 0 01-3.021-3.02l-.259-1.687a2.11 2.11 0 00-.384-.929L1.2 14.136a3.61 3.61 0 010-4.272l1.01-1.375a2.11 2.11 0 00.384-.929l.259-1.686a3.61 3.61 0 013.02-3.021l1.687-.259a2.11 2.11 0 00.929-.384L9.864 1.2zm3.384 1.209a2.11 2.11 0 00-2.496 0l-1.376 1.01a3.61 3.61 0 01-1.589.658l-1.686.258a2.11 2.11 0 00-1.766 1.766l-.258 1.686a3.61 3.61 0 01-.658 1.59l-1.01 1.375a2.11 2.11 0 000 2.496l1.01 1.376a3.61 3.61 0 01.658 1.589l.258 1.686a2.11 2.11 0 001.766 1.765l1.686.26a3.61 3.61 0 011.59.657l1.375 1.01a2.11 2.11 0 002.496 0l1.376-1.01a3.61 3.61 0 011.589-.658l1.686-.258a2.11 2.11 0 001.765-1.766l.26-1.686a3.61 3.61 0 01.657-1.59l1.01-1.375a2.11 2.11 0 000-2.496l-1.01-1.376a3.61 3.61 0 01-.658-1.589l-.258-1.686a2.11 2.11 0 00-1.766-1.766l-1.686-.258a3.61 3.61 0 01-1.59-.658l-1.375-1.01z\"></path>" } };
|
|
63
|
-
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
UnverifedIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
68
|
-
size: 16,
|
|
69
|
-
verticalAlign: 'text-bottom'
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
// eslint-disable-next-line import/no-namespace
|
|
73
|
-
|
|
74
|
-
var COMMON = compose(space, color);
|
|
75
|
-
|
|
76
|
-
var sx = function sx(props) {
|
|
77
|
-
return css(props.sx);
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
81
|
-
|
|
82
|
-
var StyledUnverifedIcon = styled(UnverifedIcon)(COMMON, sx);
|
|
83
|
-
|
|
84
|
-
export default StyledUnverifedIcon;
|