@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
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -58,13 +61,13 @@ var _extends = Object.assign || function (target) {
|
|
|
58
61
|
}return target;
|
|
59
62
|
};
|
|
60
63
|
|
|
61
|
-
function
|
|
62
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"
|
|
64
|
+
function EllipsisIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M0 5.75C0 4.784.784 4 1.75 4h12.5c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0114.25 12H1.75A1.75 1.75 0 010 10.25v-4.5zM4 7a1 1 0 100 2 1 1 0 000-2zm3 1a1 1 0 112 0 1 1 0 01-2 0zm5-1a1 1 0 100 2 1 1 0 000-2z\"></path>" } };
|
|
63
66
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
64
67
|
}
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
className: 'octicon',
|
|
69
|
+
EllipsisIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-ellipsis',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -79,6 +82,6 @@ var sx = function sx(props) {
|
|
|
79
82
|
|
|
80
83
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
81
84
|
|
|
82
|
-
var
|
|
85
|
+
var StyledEllipsisIcon = styled(EllipsisIcon)(COMMON, sx);
|
|
83
86
|
|
|
84
|
-
export default
|
|
87
|
+
export default StyledEllipsisIcon;
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -59,12 +62,12 @@ var _extends = Object.assign || function (target) {
|
|
|
59
62
|
};
|
|
60
63
|
|
|
61
64
|
function EyeClosedIcon(props) {
|
|
62
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M.143 2.31a.75.75 0 011.047-.167l14.5 10.5a.75.75 0 11-.88 1.214l-2.248-1.628C11.346 13.19 9.792 14 8 14c-1.981 0-3.67-.992-4.933-2.078C1.797 10.832.88 9.577.43 8.9a1.618 1.618 0 010-1.797c.353-.533.995-1.42 1.868-2.305L.31 3.357A.75.75 0 01.143 2.31zm3.386 3.378a14.21 14.21 0 00-1.85 2.244.12.12 0 00-.022.068c0 .021.006.045.022.068.412.621 1.242 1.75 2.366 2.717C5.175 11.758 6.527 12.5 8 12.5c1.195 0 2.31-.488 3.29-1.191L9.063 9.695A2 2 0 016.058 7.52l-2.53-1.832zM8 3.5c-.516 0-1.017.09-1.499.251a.75.75 0 11-.473-1.423A6.23 6.23 0 018 2c1.981 0 3.67.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.619 1.619 0 010 1.798c-.11.166-.248.365-.41.587a.75.75 0 11-1.21-.887c.148-.201.272-.382.371-.53a.119.119 0 000-.137c-.412-.621-1.242-1.75-2.366-2.717C10.825 4.242 9.473 3.5 8 3.5z\"></path>" } };
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M.143 2.31a.75.75 0 011.047-.167l14.5 10.5a.75.75 0 11-.88 1.214l-2.248-1.628C11.346 13.19 9.792 14 8 14c-1.981 0-3.67-.992-4.933-2.078C1.797 10.832.88 9.577.43 8.9a1.618 1.618 0 010-1.797c.353-.533.995-1.42 1.868-2.305L.31 3.357A.75.75 0 01.143 2.31zm3.386 3.378a14.21 14.21 0 00-1.85 2.244.12.12 0 00-.022.068c0 .021.006.045.022.068.412.621 1.242 1.75 2.366 2.717C5.175 11.758 6.527 12.5 8 12.5c1.195 0 2.31-.488 3.29-1.191L9.063 9.695A2 2 0 016.058 7.52l-2.53-1.832zM8 3.5c-.516 0-1.017.09-1.499.251a.75.75 0 11-.473-1.423A6.23 6.23 0 018 2c1.981 0 3.67.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.619 1.619 0 010 1.798c-.11.166-.248.365-.41.587a.75.75 0 11-1.21-.887c.148-.201.272-.382.371-.53a.119.119 0 000-.137c-.412-.621-1.242-1.75-2.366-2.717C10.825 4.242 9.473 3.5 8 3.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M8.052 5.837A9.715 9.715 0 0112 5c2.955 0 5.309 1.315 7.06 2.864 1.756 1.553 2.866 3.307 3.307 4.08a.11.11 0 01.016.055.122.122 0 01-.017.06 16.766 16.766 0 01-1.53 2.218.75.75 0 101.163.946 18.253 18.253 0 001.67-2.42 1.607 1.607 0 00.001-1.602c-.485-.85-1.69-2.757-3.616-4.46C18.124 5.034 15.432 3.5 12 3.5c-1.695 0-3.215.374-4.552.963a.75.75 0 00.604 1.373z\"></path><path fill-rule=\"evenodd\" d=\"M19.166 17.987C17.328 19.38 14.933 20.5 12 20.5c-3.432 0-6.125-1.534-8.054-3.24C2.02 15.556.814 13.648.33 12.798a1.606 1.606 0 01.001-1.6A18.305 18.305 0 013.648 7.01L1.317 5.362a.75.75 0 11.866-1.224l20.5 14.5a.75.75 0 11-.866 1.224l-2.651-1.875zM4.902 7.898c-1.73 1.541-2.828 3.273-3.268 4.044a.118.118 0 00-.017.059c0 .015.003.034.016.055.441.774 1.551 2.527 3.307 4.08C6.69 17.685 9.045 19 12 19c2.334 0 4.29-.82 5.874-1.927l-3.516-2.487a3.5 3.5 0 01-5.583-3.949L4.902 7.899z\"></path>" } };
|
|
63
66
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
EyeClosedIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-eye-closed',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
package/dist/icons/EyeIcon.js
CHANGED
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function EyeIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
EyeIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-eye',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
17
|
+
size = _ref.size,
|
|
18
|
+
verticalAlign = _ref.verticalAlign,
|
|
19
|
+
svgDataByHeight = _ref.svgDataByHeight;
|
|
20
|
+
|
|
21
|
+
var height = sizeMap[size] || size;
|
|
22
|
+
var naturalHeight = closestNaturalHeight(Object.keys(svgDataByHeight), height);
|
|
23
|
+
var naturalWidth = svgDataByHeight[naturalHeight].width;
|
|
24
|
+
var width = height * (naturalWidth / naturalHeight);
|
|
25
|
+
var path = svgDataByHeight[naturalHeight].path;
|
|
26
|
+
|
|
27
|
+
return {
|
|
28
|
+
'aria-hidden': ariaLabel ? 'false' : 'true',
|
|
29
|
+
'aria-label': ariaLabel,
|
|
30
|
+
role: 'img',
|
|
31
|
+
className: className,
|
|
32
|
+
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
33
|
+
width: width,
|
|
34
|
+
height: height,
|
|
35
|
+
fill: fill,
|
|
36
|
+
style: {
|
|
37
|
+
display: 'inline-block',
|
|
38
|
+
userSelect: 'none',
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
41
|
+
},
|
|
42
|
+
dangerouslySetInnerHTML: { __html: path }
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function closestNaturalHeight(naturalHeights, height) {
|
|
47
|
+
return naturalHeights.map(function (naturalHeight) {
|
|
48
|
+
return parseInt(naturalHeight, 10);
|
|
49
|
+
}).reduce(function (acc, naturalHeight) {
|
|
50
|
+
return naturalHeight <= height ? naturalHeight : acc;
|
|
51
|
+
}, naturalHeights[0]);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
var _extends = Object.assign || function (target) {
|
|
55
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
56
|
+
var source = arguments[i];for (var key in source) {
|
|
57
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
58
|
+
target[key] = source[key];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}return target;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
function FileBadgeIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M2.75 1.5a.25.25 0 00-.25.25v11.5c0 .138.112.25.25.25h3.5a.75.75 0 010 1.5h-3.5A1.75 1.75 0 011 13.25V1.75C1 .784 1.784 0 2.75 0h8a1.75 1.75 0 011.508.862.75.75 0 11-1.289.768.25.25 0 00-.219-.13h-8z\"></path><path fill-rule=\"evenodd\" d=\"M8 7a4 4 0 116.49 3.13l.995 4.973a.75.75 0 01-.991.852l-2.409-.876a.25.25 0 00-.17 0l-2.409.876a.75.75 0 01-.991-.852l.994-4.973A3.993 3.993 0 018 7zm4-2.5a2.5 2.5 0 100 5 2.5 2.5 0 000-5zm0 6.5a4 4 0 001.104-.154l.649 3.243-1.155-.42c-.386-.14-.81-.14-1.196 0l-1.155.42.649-3.243A4 4 0 0012 11z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
FileBadgeIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-file-badge',
|
|
71
|
+
size: 16,
|
|
72
|
+
verticalAlign: 'text-bottom'
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
// eslint-disable-next-line import/no-namespace
|
|
76
|
+
|
|
77
|
+
var COMMON = compose(space, color);
|
|
78
|
+
|
|
79
|
+
var sx = function sx(props) {
|
|
80
|
+
return css(props.sx);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
84
|
+
|
|
85
|
+
var StyledFileBadgeIcon = styled(FileBadgeIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledFileBadgeIcon;
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileBinaryIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileBinaryIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-binary',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileCodeIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileCodeIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-code',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileDiffIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileDiffIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-diff',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileDirectoryFillIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileDirectoryFillIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-directory-fill',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileDirectoryIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileDirectoryIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-directory',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
package/dist/icons/FileIcon.js
CHANGED
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileMediaIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileMediaIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-media',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileSubmoduleIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileSubmoduleIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-submodule',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -59,12 +62,12 @@ var _extends = Object.assign || function (target) {
|
|
|
59
62
|
};
|
|
60
63
|
|
|
61
64
|
function FileSymlinkFileIcon(props) {
|
|
62
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2 1.75C2 .784 2.784 0 3.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0112.25 15h-7a.75.75 0 010-1.5h7a.25.25 0 00.25-.25V6H9.75A1.75 1.75 0 018 4.25V1.5H3.75a.25.25 0 00-.25.25V4.5a.75.75 0 01-1.5 0V1.75zm7.5-.188V4.25c0 .138.112.25.25.25h2.688a.252.252 0 00-.011-.013L9.513 1.573a.248.248 0 00-.013-.011zm-8 10.675a2.25 2.25 0 012.262-2.25L4 9.99v1.938c0 .218.26.331.42.183l2.883-2.677a.25.25 0 000-.366L4.42 6.39a.25.25 0 00-.42.183V8.49l-.23-.001A3.75 3.75 0 000 12.238v1.012a.75.75 0 001.5 0v-1.013z\"></path>" } };
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2 1.75C2 .784 2.784 0 3.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0112.25 15h-7a.75.75 0 010-1.5h7a.25.25 0 00.25-.25V6H9.75A1.75 1.75 0 018 4.25V1.5H3.75a.25.25 0 00-.25.25V4.5a.75.75 0 01-1.5 0V1.75zm7.5-.188V4.25c0 .138.112.25.25.25h2.688a.252.252 0 00-.011-.013L9.513 1.573a.248.248 0 00-.013-.011zm-8 10.675a2.25 2.25 0 012.262-2.25L4 9.99v1.938c0 .218.26.331.42.183l2.883-2.677a.25.25 0 000-.366L4.42 6.39a.25.25 0 00-.42.183V8.49l-.23-.001A3.75 3.75 0 000 12.238v1.012a.75.75 0 001.5 0v-1.013z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M3 3a2 2 0 012-2h9.982a2 2 0 011.414.586l4.018 4.018A2 2 0 0121 7.018V21a2 2 0 01-2 2H4.75a.75.75 0 010-1.5H19a.5.5 0 00.5-.5V8.5h-4a2 2 0 01-2-2v-4H5a.5.5 0 00-.5.5v6.25a.75.75 0 01-1.5 0V3zm12-.5v4a.5.5 0 00.5.5h4a.5.5 0 00-.146-.336l-4.018-4.018A.5.5 0 0015 2.5zm-5.692 12l-2.104-2.236a.75.75 0 111.092-1.028l3.294 3.5a.75.75 0 010 1.028l-3.294 3.5a.75.75 0 11-1.092-1.028L9.308 16H4.09a2.59 2.59 0 00-2.59 2.59v3.16a.75.75 0 01-1.5 0v-3.16a4.09 4.09 0 014.09-4.09h5.218z\"></path>" } };
|
|
63
66
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileSymlinkFileIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-symlink-file',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FileZipIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FileZipIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-file-zip',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
package/dist/icons/FilterIcon.js
CHANGED
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -64,7 +67,7 @@ function FilterIcon(props) {
|
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FilterIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-filter',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|
package/dist/icons/FlameIcon.js
CHANGED
|
@@ -12,6 +12,8 @@ var sizeMap = {
|
|
|
12
12
|
function getSvgProps(_ref) {
|
|
13
13
|
var ariaLabel = _ref['aria-label'],
|
|
14
14
|
className = _ref.className,
|
|
15
|
+
_ref$fill = _ref.fill,
|
|
16
|
+
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
15
17
|
size = _ref.size,
|
|
16
18
|
verticalAlign = _ref.verticalAlign,
|
|
17
19
|
svgDataByHeight = _ref.svgDataByHeight;
|
|
@@ -30,11 +32,12 @@ function getSvgProps(_ref) {
|
|
|
30
32
|
viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
|
|
31
33
|
width: width,
|
|
32
34
|
height: height,
|
|
33
|
-
fill:
|
|
35
|
+
fill: fill,
|
|
34
36
|
style: {
|
|
35
37
|
display: 'inline-block',
|
|
36
38
|
userSelect: 'none',
|
|
37
|
-
verticalAlign: verticalAlign
|
|
39
|
+
verticalAlign: verticalAlign,
|
|
40
|
+
overflow: 'visible'
|
|
38
41
|
},
|
|
39
42
|
dangerouslySetInnerHTML: { __html: path }
|
|
40
43
|
};
|
|
@@ -59,12 +62,12 @@ var _extends = Object.assign || function (target) {
|
|
|
59
62
|
};
|
|
60
63
|
|
|
61
64
|
function FlameIcon(props) {
|
|
62
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M7.998 14.5c2.832 0 5-1.98 5-4.5 0-1.463-.68-2.19-1.879-3.383l-.036-.037c-1.013-1.008-2.3-2.29-2.834-4.434-.322.256-.63.579-.864.953-.432.696-.621 1.58-.046 2.73.473.947.67 2.284-.278 3.232-.61.61-1.545.84-2.403.633a2.788 2.788 0 01-1.436-.874A3.21 3.21 0 003 10c0 2.53 2.164 4.5 4.998 4.5zM9.533.753C9.496.34 9.16.009 8.77.146 7.035.75 4.34 3.187 5.997 6.5c.344.689.285 1.218.003 1.5-.419.419-1.54.487-2.04-.832-.173-.454-.659-.762-1.035-.454C2.036 7.44 1.5 8.702 1.5 10c0 3.512 2.998 6 6.498 6s6.5-2.5 6.5-6c0-2.137-1.128-3.26-2.312-4.438-1.19-1.184-2.436-2.425-2.653-4.81z\"></path>" } };
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M7.998 14.5c2.832 0 5-1.98 5-4.5 0-1.463-.68-2.19-1.879-3.383l-.036-.037c-1.013-1.008-2.3-2.29-2.834-4.434-.322.256-.63.579-.864.953-.432.696-.621 1.58-.046 2.73.473.947.67 2.284-.278 3.232-.61.61-1.545.84-2.403.633a2.788 2.788 0 01-1.436-.874A3.21 3.21 0 003 10c0 2.53 2.164 4.5 4.998 4.5zM9.533.753C9.496.34 9.16.009 8.77.146 7.035.75 4.34 3.187 5.997 6.5c.344.689.285 1.218.003 1.5-.419.419-1.54.487-2.04-.832-.173-.454-.659-.762-1.035-.454C2.036 7.44 1.5 8.702 1.5 10c0 3.512 2.998 6 6.498 6s6.5-2.5 6.5-6c0-2.137-1.128-3.26-2.312-4.438-1.19-1.184-2.436-2.425-2.653-4.81z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M12.185 21.5c4.059 0 7.065-2.84 7.065-6.75 0-2.337-1.093-3.489-2.678-5.158l-.021-.023c-1.44-1.517-3.139-3.351-3.649-6.557a6.14 6.14 0 00-1.911 1.76c-.787 1.144-1.147 2.633-.216 4.495.603 1.205.777 2.74-.277 3.794-.657.657-1.762 1.1-2.956.586-.752-.324-1.353-.955-1.838-1.79-.567.706-.954 1.74-.954 2.893 0 3.847 3.288 6.75 7.435 6.75zm2.08-19.873c-.017-.345-.296-.625-.632-.543-2.337.575-6.605 4.042-4.2 8.854.474.946.392 1.675.004 2.062-.64.64-1.874.684-2.875-1.815-.131-.327-.498-.509-.803-.334-1.547.888-2.509 2.86-2.509 4.899 0 4.829 4.122 8.25 8.935 8.25 4.812 0 8.565-3.438 8.565-8.25 0-2.939-1.466-4.482-3.006-6.102-1.61-1.694-3.479-3.476-3.479-7.021z\"></path>" } };
|
|
63
66
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
FlameIcon.defaultProps = {
|
|
67
|
-
className: 'octicon',
|
|
70
|
+
className: 'octicon octicon-flame',
|
|
68
71
|
size: 16,
|
|
69
72
|
verticalAlign: 'text-bottom'
|
|
70
73
|
};
|