@primer/styled-octicons 0.0.0-e76164b → 0.0.0-e79b4ff

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.
Files changed (251) hide show
  1. package/LICENSE +1 -1
  2. package/dist/icons/AlertIcon.js +6 -3
  3. package/dist/icons/ArchiveIcon.js +6 -3
  4. package/dist/icons/ArrowBothIcon.js +6 -3
  5. package/dist/icons/ArrowDownIcon.js +6 -3
  6. package/dist/icons/ArrowDownLeftIcon.js +6 -3
  7. package/dist/icons/ArrowDownRightIcon.js +6 -3
  8. package/dist/icons/ArrowLeftIcon.js +6 -3
  9. package/dist/icons/ArrowRightIcon.js +6 -3
  10. package/dist/icons/ArrowSwitchIcon.js +6 -3
  11. package/dist/icons/ArrowUpIcon.js +7 -4
  12. package/dist/icons/ArrowUpLeftIcon.js +6 -3
  13. package/dist/icons/ArrowUpRightIcon.js +6 -3
  14. package/dist/icons/BeakerIcon.js +6 -3
  15. package/dist/icons/BellFillIcon.js +7 -4
  16. package/dist/icons/BellIcon.js +6 -3
  17. package/dist/icons/BellSlashIcon.js +6 -3
  18. package/dist/icons/BlockedIcon.js +87 -0
  19. package/dist/icons/BoldIcon.js +6 -3
  20. package/dist/icons/BookIcon.js +6 -3
  21. package/dist/icons/BookmarkFillIcon.js +6 -3
  22. package/dist/icons/BookmarkIcon.js +6 -3
  23. package/dist/icons/BookmarkSlashFillIcon.js +6 -3
  24. package/dist/icons/BookmarkSlashIcon.js +6 -3
  25. package/dist/icons/BriefcaseIcon.js +6 -3
  26. package/dist/icons/BroadcastIcon.js +6 -3
  27. package/dist/icons/BrowserIcon.js +7 -4
  28. package/dist/icons/BugIcon.js +7 -4
  29. package/dist/icons/CalendarIcon.js +6 -3
  30. package/dist/icons/CheckCircleFillIcon.js +6 -3
  31. package/dist/icons/CheckCircleIcon.js +6 -3
  32. package/dist/icons/CheckIcon.js +6 -3
  33. package/dist/icons/ChecklistIcon.js +6 -3
  34. package/dist/icons/ChevronDownIcon.js +6 -3
  35. package/dist/icons/ChevronLeftIcon.js +6 -3
  36. package/dist/icons/ChevronRightIcon.js +6 -3
  37. package/dist/icons/ChevronUpIcon.js +6 -3
  38. package/dist/icons/CircleIcon.js +7 -4
  39. package/dist/icons/CircleSlashIcon.js +6 -3
  40. package/dist/icons/ClockIcon.js +6 -3
  41. package/dist/icons/CodeIcon.js +6 -3
  42. package/dist/icons/CodeReviewIcon.js +6 -3
  43. package/dist/icons/CodeSquareIcon.js +6 -3
  44. package/dist/icons/CodescanCheckmarkIcon.js +87 -0
  45. package/dist/icons/CodescanIcon.js +87 -0
  46. package/dist/icons/CodespacesIcon.js +87 -0
  47. package/dist/icons/ColumnsIcon.js +87 -0
  48. package/dist/icons/CommentDiscussionIcon.js +6 -3
  49. package/dist/icons/CommentIcon.js +6 -3
  50. package/dist/icons/CommitIcon.js +6 -3
  51. package/dist/icons/ContainerIcon.js +6 -3
  52. package/dist/icons/CopyIcon.js +7 -4
  53. package/dist/icons/CpuIcon.js +6 -3
  54. package/dist/icons/CreditCardIcon.js +6 -3
  55. package/dist/icons/CrossReferenceIcon.js +6 -3
  56. package/dist/icons/DashIcon.js +6 -3
  57. package/dist/icons/DatabaseIcon.js +6 -3
  58. package/dist/icons/DependabotIcon.js +87 -0
  59. package/dist/icons/DesktopDownloadIcon.js +7 -4
  60. package/dist/icons/DeviceCameraIcon.js +6 -3
  61. package/dist/icons/DeviceCameraVideoIcon.js +6 -3
  62. package/dist/icons/DeviceDesktopIcon.js +6 -3
  63. package/dist/icons/DeviceMobileIcon.js +6 -3
  64. package/dist/icons/{GitForkIcon.js → DiamondIcon.js} +11 -8
  65. package/dist/icons/DiffAddedIcon.js +6 -3
  66. package/dist/icons/DiffIcon.js +6 -3
  67. package/dist/icons/DiffIgnoredIcon.js +6 -3
  68. package/dist/icons/DiffModifiedIcon.js +6 -3
  69. package/dist/icons/DiffRemovedIcon.js +6 -3
  70. package/dist/icons/DiffRenamedIcon.js +6 -3
  71. package/dist/icons/DotFillIcon.js +6 -3
  72. package/dist/icons/DotIcon.js +6 -3
  73. package/dist/icons/DownloadIcon.js +6 -3
  74. package/dist/icons/DuplicateIcon.js +87 -0
  75. package/dist/icons/EllipsisIcon.js +6 -3
  76. package/dist/icons/EyeClosedIcon.js +6 -3
  77. package/dist/icons/EyeIcon.js +6 -3
  78. package/dist/icons/FileBadgeIcon.js +6 -3
  79. package/dist/icons/FileBinaryIcon.js +6 -3
  80. package/dist/icons/FileCodeIcon.js +6 -3
  81. package/dist/icons/FileDiffIcon.js +6 -3
  82. package/dist/icons/FileDirectoryFillIcon.js +6 -3
  83. package/dist/icons/FileDirectoryIcon.js +6 -3
  84. package/dist/icons/FileIcon.js +6 -3
  85. package/dist/icons/FileMediaIcon.js +6 -3
  86. package/dist/icons/FileSubmoduleIcon.js +6 -3
  87. package/dist/icons/FileSymlinkFileIcon.js +6 -3
  88. package/dist/icons/FileZipIcon.js +6 -3
  89. package/dist/icons/FilterIcon.js +6 -3
  90. package/dist/icons/FlameIcon.js +6 -3
  91. package/dist/icons/FoldDownIcon.js +7 -4
  92. package/dist/icons/FoldIcon.js +7 -4
  93. package/dist/icons/FoldUpIcon.js +7 -4
  94. package/dist/icons/GearIcon.js +6 -3
  95. package/dist/icons/GiftIcon.js +6 -3
  96. package/dist/icons/GitBranchIcon.js +6 -3
  97. package/dist/icons/GitCommitIcon.js +6 -3
  98. package/dist/icons/GitCompareIcon.js +6 -3
  99. package/dist/icons/GitMergeIcon.js +6 -3
  100. package/dist/icons/GitPullRequestClosedIcon.js +87 -0
  101. package/dist/icons/GitPullRequestDraftIcon.js +87 -0
  102. package/dist/icons/GitPullRequestIcon.js +6 -3
  103. package/dist/icons/GlobeIcon.js +6 -3
  104. package/dist/icons/GrabberIcon.js +6 -3
  105. package/dist/icons/GraphIcon.js +6 -3
  106. package/dist/icons/HashIcon.js +87 -0
  107. package/dist/icons/HeadingIcon.js +6 -3
  108. package/dist/icons/HeartFillIcon.js +6 -3
  109. package/dist/icons/HeartIcon.js +6 -3
  110. package/dist/icons/HistoryIcon.js +6 -3
  111. package/dist/icons/HomeFillIcon.js +6 -3
  112. package/dist/icons/HomeIcon.js +6 -3
  113. package/dist/icons/HorizontalRuleIcon.js +6 -3
  114. package/dist/icons/HourglassIcon.js +6 -3
  115. package/dist/icons/HubotIcon.js +6 -3
  116. package/dist/icons/ImageIcon.js +6 -3
  117. package/dist/icons/InboxIcon.js +6 -3
  118. package/dist/icons/InfinityIcon.js +6 -3
  119. package/dist/icons/InfoIcon.js +6 -3
  120. package/dist/icons/IssueClosedIcon.js +7 -4
  121. package/dist/icons/IssueDraftIcon.js +87 -0
  122. package/dist/icons/IssueOpenedIcon.js +7 -4
  123. package/dist/icons/IssueReopenedIcon.js +7 -4
  124. package/dist/icons/ItalicIcon.js +6 -3
  125. package/dist/icons/KebabHorizontalIcon.js +6 -3
  126. package/dist/icons/{TrashcanIcon.js → KeyAsteriskIcon.js} +11 -8
  127. package/dist/icons/KeyIcon.js +6 -3
  128. package/dist/icons/LawIcon.js +6 -3
  129. package/dist/icons/LightBulbIcon.js +6 -3
  130. package/dist/icons/LinkExternalIcon.js +6 -3
  131. package/dist/icons/LinkIcon.js +6 -3
  132. package/dist/icons/ListOrderedIcon.js +6 -3
  133. package/dist/icons/ListUnorderedIcon.js +6 -3
  134. package/dist/icons/LocationIcon.js +6 -3
  135. package/dist/icons/LockIcon.js +6 -3
  136. package/dist/icons/LogoGistIcon.js +6 -3
  137. package/dist/icons/LogoGithubIcon.js +6 -3
  138. package/dist/icons/MailIcon.js +6 -3
  139. package/dist/icons/MarkGithubIcon.js +6 -3
  140. package/dist/icons/MarkdownIcon.js +6 -3
  141. package/dist/icons/MegaphoneIcon.js +7 -4
  142. package/dist/icons/MentionIcon.js +6 -3
  143. package/dist/icons/MeterIcon.js +6 -3
  144. package/dist/icons/MilestoneIcon.js +6 -3
  145. package/dist/icons/MirrorIcon.js +6 -3
  146. package/dist/icons/MoonIcon.js +6 -3
  147. package/dist/icons/MortarBoardIcon.js +6 -3
  148. package/dist/icons/MultiSelectIcon.js +87 -0
  149. package/dist/icons/MuteIcon.js +6 -3
  150. package/dist/icons/NoEntryIcon.js +6 -3
  151. package/dist/icons/NorthStarIcon.js +6 -3
  152. package/dist/icons/NoteIcon.js +6 -3
  153. package/dist/icons/NumberIcon.js +87 -0
  154. package/dist/icons/OrganizationIcon.js +6 -3
  155. package/dist/icons/PackageDependenciesIcon.js +6 -3
  156. package/dist/icons/PackageDependentsIcon.js +6 -3
  157. package/dist/icons/PackageIcon.js +6 -3
  158. package/dist/icons/PaintbrushIcon.js +6 -3
  159. package/dist/icons/PaperAirplaneIcon.js +6 -3
  160. package/dist/icons/{ClippyIcon.js → PasteIcon.js} +10 -7
  161. package/dist/icons/PencilIcon.js +6 -3
  162. package/dist/icons/PeopleIcon.js +6 -3
  163. package/dist/icons/PersonAddIcon.js +87 -0
  164. package/dist/icons/{InsightsIcon.js → PersonFillIcon.js} +11 -8
  165. package/dist/icons/PersonIcon.js +6 -3
  166. package/dist/icons/PinIcon.js +6 -3
  167. package/dist/icons/PlayIcon.js +6 -3
  168. package/dist/icons/PlugIcon.js +6 -3
  169. package/dist/icons/PlusCircleIcon.js +6 -3
  170. package/dist/icons/PlusIcon.js +6 -3
  171. package/dist/icons/ProjectIcon.js +6 -3
  172. package/dist/icons/PulseIcon.js +6 -3
  173. package/dist/icons/QuestionIcon.js +6 -3
  174. package/dist/icons/QuoteIcon.js +6 -3
  175. package/dist/icons/ReplyIcon.js +6 -3
  176. package/dist/icons/RepoCloneIcon.js +6 -3
  177. package/dist/icons/RepoForkedIcon.js +7 -4
  178. package/dist/icons/RepoIcon.js +6 -3
  179. package/dist/icons/RepoPullIcon.js +6 -3
  180. package/dist/icons/RepoPushIcon.js +6 -3
  181. package/dist/icons/RepoTemplateIcon.js +6 -3
  182. package/dist/icons/ReportIcon.js +6 -3
  183. package/dist/icons/RocketIcon.js +6 -3
  184. package/dist/icons/RowsIcon.js +87 -0
  185. package/dist/icons/RssIcon.js +6 -3
  186. package/dist/icons/RubyIcon.js +6 -3
  187. package/dist/icons/ScreenFullIcon.js +6 -3
  188. package/dist/icons/ScreenNormalIcon.js +6 -3
  189. package/dist/icons/SearchIcon.js +6 -3
  190. package/dist/icons/ServerIcon.js +6 -3
  191. package/dist/icons/ShareAndroidIcon.js +6 -3
  192. package/dist/icons/ShareIcon.js +6 -3
  193. package/dist/icons/ShieldCheckIcon.js +6 -3
  194. package/dist/icons/ShieldIcon.js +6 -3
  195. package/dist/icons/ShieldLockIcon.js +6 -3
  196. package/dist/icons/ShieldXIcon.js +6 -3
  197. package/dist/icons/SidebarCollapseIcon.js +87 -0
  198. package/dist/icons/SidebarExpandIcon.js +87 -0
  199. package/dist/icons/SignInIcon.js +6 -3
  200. package/dist/icons/SignOutIcon.js +6 -3
  201. package/dist/icons/SingleSelectIcon.js +87 -0
  202. package/dist/icons/SkipIcon.js +6 -3
  203. package/dist/icons/SmileyIcon.js +6 -3
  204. package/dist/icons/SortAscIcon.js +87 -0
  205. package/dist/icons/SortDescIcon.js +87 -0
  206. package/dist/icons/SquareFillIcon.js +6 -3
  207. package/dist/icons/SquareIcon.js +6 -3
  208. package/dist/icons/SquirrelIcon.js +6 -3
  209. package/dist/icons/StackIcon.js +87 -0
  210. package/dist/icons/StarFillIcon.js +6 -3
  211. package/dist/icons/StarIcon.js +6 -3
  212. package/dist/icons/StopIcon.js +6 -3
  213. package/dist/icons/StopwatchIcon.js +6 -3
  214. package/dist/icons/StrikethroughIcon.js +6 -3
  215. package/dist/icons/SunIcon.js +6 -3
  216. package/dist/icons/SyncIcon.js +6 -3
  217. package/dist/icons/TabIcon.js +6 -3
  218. package/dist/icons/TableIcon.js +87 -0
  219. package/dist/icons/TagIcon.js +6 -3
  220. package/dist/icons/TasklistIcon.js +6 -3
  221. package/dist/icons/TelescopeFillIcon.js +87 -0
  222. package/dist/icons/TelescopeIcon.js +6 -3
  223. package/dist/icons/TerminalIcon.js +6 -3
  224. package/dist/icons/ThreeBarsIcon.js +6 -3
  225. package/dist/icons/ThumbsdownIcon.js +6 -3
  226. package/dist/icons/ThumbsupIcon.js +6 -3
  227. package/dist/icons/ToolsIcon.js +6 -3
  228. package/dist/icons/TrashIcon.js +7 -4
  229. package/dist/icons/TriangleDownIcon.js +6 -3
  230. package/dist/icons/TriangleLeftIcon.js +6 -3
  231. package/dist/icons/TriangleRightIcon.js +6 -3
  232. package/dist/icons/TriangleUpIcon.js +6 -3
  233. package/dist/icons/TypographyIcon.js +6 -3
  234. package/dist/icons/UnfoldIcon.js +7 -4
  235. package/dist/icons/UnlockIcon.js +6 -3
  236. package/dist/icons/UnmuteIcon.js +6 -3
  237. package/dist/icons/UnverifiedIcon.js +6 -3
  238. package/dist/icons/UploadIcon.js +6 -3
  239. package/dist/icons/VerifiedIcon.js +6 -3
  240. package/dist/icons/VersionsIcon.js +6 -3
  241. package/dist/icons/VideoIcon.js +87 -0
  242. package/dist/icons/WorkflowIcon.js +6 -3
  243. package/dist/icons/XCircleFillIcon.js +6 -3
  244. package/dist/icons/XCircleIcon.js +6 -3
  245. package/dist/icons/XIcon.js +6 -3
  246. package/dist/icons/ZapIcon.js +6 -3
  247. package/dist/index.d.ts +28 -5
  248. package/dist/index.esm.js +28 -5
  249. package/dist/index.umd.js +668 -297
  250. package/package.json +7 -5
  251. package/dist/icons/OctofaceIcon.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: 'currentColor',
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
  };
@@ -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: 'currentColor',
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
  };
@@ -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: 'currentColor',
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 FlameIcon(props) {
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
  };
@@ -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: 'currentColor',
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 FoldDownIcon(props) {
62
- var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M8.177 14.323l2.896-2.896a.25.25 0 00-.177-.427H8.75V7.764a.75.75 0 10-1.5 0V11H5.104a.25.25 0 00-.177.427l2.896 2.896a.25.25 0 00.354 0zM2.25 5a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM6 4.25a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5a.75.75 0 01.75.75zM8.25 5a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM12 4.25a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5a.75.75 0 01.75.75zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M12 19a.75.75 0 01-.53-.22l-3.25-3.25a.75.75 0 111.06-1.06L12 17.19l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25A.75.75 0 0112 19z\"></path><path fill-rule=\"evenodd\" d=\"M12 18a.75.75 0 01-.75-.75v-7.5a.75.75 0 011.5 0v7.5A.75.75 0 0112 18zM10.75 6a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1A.75.75 0 012.75 6zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1A.75.75 0 016.75 6zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75z\"></path>" } };
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M8.177 14.323l2.896-2.896a.25.25 0 00-.177-.427H8.75V7.764a.75.75 0 10-1.5 0V11H5.104a.25.25 0 00-.177.427l2.896 2.896a.25.25 0 00.354 0zM2.25 5a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM6 4.25a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5a.75.75 0 01.75.75zM8.25 5a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM12 4.25a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5a.75.75 0 01.75.75zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M12 19a.75.75 0 01-.53-.22l-3.25-3.25a.75.75 0 111.06-1.06L12 17.19l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25A.75.75 0 0112 19z\"></path><path fill-rule=\"evenodd\" d=\"M12 18a.75.75 0 01-.75-.75v-7.5a.75.75 0 011.5 0v7.5A.75.75 0 0112 18zM10.75 6a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1A.75.75 0 012.75 6zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1A.75.75 0 016.75 6zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75z\"></path>" } };
63
66
  return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
64
67
  }
65
68
 
66
69
  FoldDownIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-fold-down',
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: 'currentColor',
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 FoldIcon(props) {
62
- var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M10.896 2H8.75V.75a.75.75 0 00-1.5 0V2H5.104a.25.25 0 00-.177.427l2.896 2.896a.25.25 0 00.354 0l2.896-2.896A.25.25 0 0010.896 2zM8.75 15.25a.75.75 0 01-1.5 0V14H5.104a.25.25 0 01-.177-.427l2.896-2.896a.25.25 0 01.354 0l2.896 2.896a.25.25 0 01-.177.427H8.75v1.25zm-6.5-6.5a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM6 8a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5A.75.75 0 016 8zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM12 8a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5A.75.75 0 0112 8zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M12 15a.75.75 0 01.53.22l3.25 3.25a.75.75 0 11-1.06 1.06L12 16.81l-2.72 2.72a.75.75 0 01-1.06-1.06l3.25-3.25A.75.75 0 0112 15z\"></path><path fill-rule=\"evenodd\" d=\"M12 15.75a.75.75 0 01.75.75v5.75a.75.75 0 01-1.5 0V16.5a.75.75 0 01.75-.75zm.53-6.97a.75.75 0 01-1.06 0L8.22 5.53a.75.75 0 011.06-1.06L12 7.19l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25z\"></path><path fill-rule=\"evenodd\" d=\"M12 8.5a.75.75 0 01-.75-.75v-6a.75.75 0 011.5 0v6a.75.75 0 01-.75.75zM10.75 12a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75z\"></path>" } };
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M10.896 2H8.75V.75a.75.75 0 00-1.5 0V2H5.104a.25.25 0 00-.177.427l2.896 2.896a.25.25 0 00.354 0l2.896-2.896A.25.25 0 0010.896 2zM8.75 15.25a.75.75 0 01-1.5 0V14H5.104a.25.25 0 01-.177-.427l2.896-2.896a.25.25 0 01.354 0l2.896 2.896a.25.25 0 01-.177.427H8.75v1.25zm-6.5-6.5a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM6 8a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5A.75.75 0 016 8zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5zM12 8a.75.75 0 01-.75.75h-.5a.75.75 0 010-1.5h.5A.75.75 0 0112 8zm2.25.75a.75.75 0 000-1.5h-.5a.75.75 0 000 1.5h.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M12 15a.75.75 0 01.53.22l3.25 3.25a.75.75 0 11-1.06 1.06L12 16.81l-2.72 2.72a.75.75 0 01-1.06-1.06l3.25-3.25A.75.75 0 0112 15z\"></path><path fill-rule=\"evenodd\" d=\"M12 15.75a.75.75 0 01.75.75v5.75a.75.75 0 01-1.5 0V16.5a.75.75 0 01.75-.75zm.53-6.97a.75.75 0 01-1.06 0L8.22 5.53a.75.75 0 011.06-1.06L12 7.19l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25z\"></path><path fill-rule=\"evenodd\" d=\"M12 8.5a.75.75 0 01-.75-.75v-6a.75.75 0 011.5 0v6a.75.75 0 01-.75.75zM10.75 12a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75z\"></path>" } };
63
66
  return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
64
67
  }
65
68
 
66
69
  FoldIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-fold',
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: 'currentColor',
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 FoldUpIcon(props) {
62
- var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M7.823 1.677L4.927 4.573A.25.25 0 005.104 5H7.25v3.236a.75.75 0 101.5 0V5h2.146a.25.25 0 00.177-.427L8.177 1.677a.25.25 0 00-.354 0zM13.75 11a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zm-3.75.75a.75.75 0 01.75-.75h.5a.75.75 0 010 1.5h-.5a.75.75 0 01-.75-.75zM7.75 11a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM4 11.75a.75.75 0 01.75-.75h.5a.75.75 0 010 1.5h-.5a.75.75 0 01-.75-.75zM1.75 11a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M11.47 5.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 01-1.06 1.06L12 6.81 9.28 9.53a.75.75 0 01-1.06-1.06l3.25-3.25z\"></path><path fill-rule=\"evenodd\" d=\"M12 5.5a.75.75 0 01.75.75v8a.75.75 0 01-1.5 0v-8A.75.75 0 0112 5.5zM10.75 18a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75z\"></path>" } };
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M7.823 1.677L4.927 4.573A.25.25 0 005.104 5H7.25v3.236a.75.75 0 101.5 0V5h2.146a.25.25 0 00.177-.427L8.177 1.677a.25.25 0 00-.354 0zM13.75 11a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zm-3.75.75a.75.75 0 01.75-.75h.5a.75.75 0 010 1.5h-.5a.75.75 0 01-.75-.75zM7.75 11a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM4 11.75a.75.75 0 01.75-.75h.5a.75.75 0 010 1.5h-.5a.75.75 0 01-.75-.75zM1.75 11a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M11.47 5.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 01-1.06 1.06L12 6.81 9.28 9.53a.75.75 0 01-1.06-1.06l3.25-3.25z\"></path><path fill-rule=\"evenodd\" d=\"M12 5.5a.75.75 0 01.75.75v8a.75.75 0 01-1.5 0v-8A.75.75 0 0112 5.5zM10.75 18a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm-8 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75zm12 0a.75.75 0 01.75-.75h1a.75.75 0 010 1.5h-1a.75.75 0 01-.75-.75z\"></path>" } };
63
66
  return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
64
67
  }
65
68
 
66
69
  FoldUpIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-fold-up',
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: 'currentColor',
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 GearIcon(props) {
64
67
  }
65
68
 
66
69
  GearIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-gear',
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: 'currentColor',
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 GiftIcon(props) {
64
67
  }
65
68
 
66
69
  GiftIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-gift',
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: 'currentColor',
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 GitBranchIcon(props) {
64
67
  }
65
68
 
66
69
  GitBranchIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-git-branch',
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: 'currentColor',
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 GitCommitIcon(props) {
64
67
  }
65
68
 
66
69
  GitCommitIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-git-commit',
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: 'currentColor',
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 GitCompareIcon(props) {
64
67
  }
65
68
 
66
69
  GitCompareIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-git-compare',
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: 'currentColor',
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 GitMergeIcon(props) {
64
67
  }
65
68
 
66
69
  GitMergeIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-git-merge',
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 GitPullRequestClosedIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M10.72 1.227a.75.75 0 011.06 0l.97.97.97-.97a.75.75 0 111.06 1.061l-.97.97.97.97a.75.75 0 01-1.06 1.06l-.97-.97-.97.97a.75.75 0 11-1.06-1.06l.97-.97-.97-.97a.75.75 0 010-1.06zM12.75 6.5a.75.75 0 00-.75.75v3.378a2.251 2.251 0 101.5 0V7.25a.75.75 0 00-.75-.75zm0 5.5a.75.75 0 100 1.5.75.75 0 000-1.5zM2.5 3.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.25 1a2.25 2.25 0 00-.75 4.372v5.256a2.251 2.251 0 101.5 0V5.372A2.25 2.25 0 003.25 1zm0 11a.75.75 0 100 1.5.75.75 0 000-1.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M22.266 2.711a.75.75 0 10-1.061-1.06l-1.983 1.983-1.984-1.983a.75.75 0 10-1.06 1.06l1.983 1.983-1.983 1.984a.75.75 0 001.06 1.06l1.984-1.983 1.983 1.983a.75.75 0 001.06-1.06l-1.983-1.984 1.984-1.983z\"></path><path fill-rule=\"evenodd\" d=\"M4.75 1.5a3.25 3.25 0 00-.745 6.414A.758.758 0 004 8v8a.81.81 0 00.005.086A3.251 3.251 0 004.75 22.5a3.25 3.25 0 00.745-6.414A.758.758 0 005.5 16V8a.758.758 0 00-.005-.086A3.251 3.251 0 004.75 1.5zM3 4.75a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zm0 14.5a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zm13 0a3.251 3.251 0 012.5-3.163V9.625a.75.75 0 011.5 0v6.462a3.251 3.251 0 01-.75 6.413A3.25 3.25 0 0116 19.25zm3.25-1.75a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ GitPullRequestClosedIcon.defaultProps = {
70
+ className: 'octicon octicon-git-pull-request-closed',
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 StyledGitPullRequestClosedIcon = styled(GitPullRequestClosedIcon)(COMMON, sx);
86
+
87
+ export default StyledGitPullRequestClosedIcon;
@@ -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 GitPullRequestDraftIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 3.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.25 1a2.25 2.25 0 00-.75 4.372v5.256a2.251 2.251 0 101.5 0V5.372A2.25 2.25 0 003.25 1zm0 11a.75.75 0 100 1.5.75.75 0 000-1.5zm9.5 3a2.25 2.25 0 100-4.5 2.25 2.25 0 000 4.5zm0-3a.75.75 0 100 1.5.75.75 0 000-1.5z\"></path><path d=\"M14 7.5a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm0-4.25a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M4.75 1.5a3.25 3.25 0 00-.745 6.414A.758.758 0 004 8v8a.81.81 0 00.005.086A3.251 3.251 0 004.75 22.5a3.25 3.25 0 00.745-6.414A.757.757 0 005.5 16V8a.758.758 0 00-.005-.086A3.251 3.251 0 004.75 1.5zM3 4.75a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zm0 14.5a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zm13 0a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zm3.25-1.75a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5z\"></path><path d=\"M19.25 6a1.75 1.75 0 100-3.5 1.75 1.75 0 000 3.5zM21 11.25a1.75 1.75 0 11-3.5 0 1.75 1.75 0 013.5 0z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ GitPullRequestDraftIcon.defaultProps = {
70
+ className: 'octicon octicon-git-pull-request-draft',
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 StyledGitPullRequestDraftIcon = styled(GitPullRequestDraftIcon)(COMMON, sx);
86
+
87
+ export default StyledGitPullRequestDraftIcon;
@@ -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: 'currentColor',
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 GitPullRequestIcon(props) {
64
67
  }
65
68
 
66
69
  GitPullRequestIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-git-pull-request',
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: 'currentColor',
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 GlobeIcon(props) {
64
67
  }
65
68
 
66
69
  GlobeIcon.defaultProps = {
67
- className: 'octicon',
70
+ className: 'octicon octicon-globe',
68
71
  size: 16,
69
72
  verticalAlign: 'text-bottom'
70
73
  };