@primer/styled-octicons 0.0.0-e68bed5 → 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 (249) hide show
  1. package/dist/icons/AlertIcon.js +2 -1
  2. package/dist/icons/ArchiveIcon.js +2 -1
  3. package/dist/icons/ArrowBothIcon.js +2 -1
  4. package/dist/icons/ArrowDownIcon.js +2 -1
  5. package/dist/icons/ArrowDownLeftIcon.js +2 -1
  6. package/dist/icons/ArrowDownRightIcon.js +2 -1
  7. package/dist/icons/ArrowLeftIcon.js +2 -1
  8. package/dist/icons/ArrowRightIcon.js +2 -1
  9. package/dist/icons/ArrowSwitchIcon.js +2 -1
  10. package/dist/icons/ArrowUpIcon.js +3 -2
  11. package/dist/icons/ArrowUpLeftIcon.js +2 -1
  12. package/dist/icons/ArrowUpRightIcon.js +2 -1
  13. package/dist/icons/BeakerIcon.js +2 -1
  14. package/dist/icons/BellFillIcon.js +3 -2
  15. package/dist/icons/BellIcon.js +2 -1
  16. package/dist/icons/BellSlashIcon.js +2 -1
  17. package/dist/icons/BlockedIcon.js +2 -1
  18. package/dist/icons/BoldIcon.js +2 -1
  19. package/dist/icons/BookIcon.js +2 -1
  20. package/dist/icons/BookmarkFillIcon.js +2 -1
  21. package/dist/icons/BookmarkIcon.js +2 -1
  22. package/dist/icons/BookmarkSlashFillIcon.js +2 -1
  23. package/dist/icons/BookmarkSlashIcon.js +2 -1
  24. package/dist/icons/BriefcaseIcon.js +2 -1
  25. package/dist/icons/BroadcastIcon.js +2 -1
  26. package/dist/icons/BrowserIcon.js +2 -1
  27. package/dist/icons/BugIcon.js +2 -1
  28. package/dist/icons/CalendarIcon.js +2 -1
  29. package/dist/icons/CheckCircleFillIcon.js +2 -1
  30. package/dist/icons/CheckCircleIcon.js +2 -1
  31. package/dist/icons/CheckIcon.js +2 -1
  32. package/dist/icons/ChecklistIcon.js +2 -1
  33. package/dist/icons/ChevronDownIcon.js +2 -1
  34. package/dist/icons/ChevronLeftIcon.js +2 -1
  35. package/dist/icons/ChevronRightIcon.js +2 -1
  36. package/dist/icons/ChevronUpIcon.js +2 -1
  37. package/dist/icons/CircleIcon.js +2 -1
  38. package/dist/icons/CircleSlashIcon.js +2 -1
  39. package/dist/icons/ClockIcon.js +2 -1
  40. package/dist/icons/CodeIcon.js +2 -1
  41. package/dist/icons/CodeReviewIcon.js +2 -1
  42. package/dist/icons/CodeSquareIcon.js +2 -1
  43. package/dist/icons/CodescanCheckmarkIcon.js +2 -1
  44. package/dist/icons/CodescanIcon.js +2 -1
  45. package/dist/icons/CodespacesIcon.js +2 -1
  46. package/dist/icons/{OctofaceIcon.js → ColumnsIcon.js} +8 -7
  47. package/dist/icons/CommentDiscussionIcon.js +2 -1
  48. package/dist/icons/CommentIcon.js +2 -1
  49. package/dist/icons/CommitIcon.js +2 -1
  50. package/dist/icons/ContainerIcon.js +2 -1
  51. package/dist/icons/CopyIcon.js +87 -0
  52. package/dist/icons/CpuIcon.js +2 -1
  53. package/dist/icons/CreditCardIcon.js +2 -1
  54. package/dist/icons/CrossReferenceIcon.js +2 -1
  55. package/dist/icons/DashIcon.js +2 -1
  56. package/dist/icons/DatabaseIcon.js +2 -1
  57. package/dist/icons/DependabotIcon.js +2 -1
  58. package/dist/icons/DesktopDownloadIcon.js +2 -1
  59. package/dist/icons/DeviceCameraIcon.js +2 -1
  60. package/dist/icons/DeviceCameraVideoIcon.js +2 -1
  61. package/dist/icons/DeviceDesktopIcon.js +2 -1
  62. package/dist/icons/DeviceMobileIcon.js +2 -1
  63. package/dist/icons/DiamondIcon.js +87 -0
  64. package/dist/icons/DiffAddedIcon.js +2 -1
  65. package/dist/icons/DiffIcon.js +2 -1
  66. package/dist/icons/DiffIgnoredIcon.js +2 -1
  67. package/dist/icons/DiffModifiedIcon.js +2 -1
  68. package/dist/icons/DiffRemovedIcon.js +2 -1
  69. package/dist/icons/DiffRenamedIcon.js +2 -1
  70. package/dist/icons/DotFillIcon.js +2 -1
  71. package/dist/icons/DotIcon.js +2 -1
  72. package/dist/icons/DownloadIcon.js +2 -1
  73. package/dist/icons/DuplicateIcon.js +3 -2
  74. package/dist/icons/EllipsisIcon.js +2 -1
  75. package/dist/icons/EyeClosedIcon.js +2 -1
  76. package/dist/icons/EyeIcon.js +2 -1
  77. package/dist/icons/FileBadgeIcon.js +2 -1
  78. package/dist/icons/FileBinaryIcon.js +2 -1
  79. package/dist/icons/FileCodeIcon.js +2 -1
  80. package/dist/icons/FileDiffIcon.js +2 -1
  81. package/dist/icons/FileDirectoryFillIcon.js +2 -1
  82. package/dist/icons/FileDirectoryIcon.js +2 -1
  83. package/dist/icons/FileIcon.js +2 -1
  84. package/dist/icons/FileMediaIcon.js +2 -1
  85. package/dist/icons/FileSubmoduleIcon.js +2 -1
  86. package/dist/icons/FileSymlinkFileIcon.js +2 -1
  87. package/dist/icons/FileZipIcon.js +2 -1
  88. package/dist/icons/FilterIcon.js +2 -1
  89. package/dist/icons/FlameIcon.js +2 -1
  90. package/dist/icons/FoldDownIcon.js +2 -1
  91. package/dist/icons/FoldIcon.js +2 -1
  92. package/dist/icons/FoldUpIcon.js +2 -1
  93. package/dist/icons/GearIcon.js +2 -1
  94. package/dist/icons/GiftIcon.js +2 -1
  95. package/dist/icons/GitBranchIcon.js +2 -1
  96. package/dist/icons/GitCommitIcon.js +2 -1
  97. package/dist/icons/GitCompareIcon.js +2 -1
  98. package/dist/icons/GitMergeIcon.js +2 -1
  99. package/dist/icons/GitPullRequestClosedIcon.js +87 -0
  100. package/dist/icons/GitPullRequestDraftIcon.js +87 -0
  101. package/dist/icons/GitPullRequestIcon.js +2 -1
  102. package/dist/icons/GlobeIcon.js +2 -1
  103. package/dist/icons/GrabberIcon.js +2 -1
  104. package/dist/icons/GraphIcon.js +2 -1
  105. package/dist/icons/HashIcon.js +87 -0
  106. package/dist/icons/HeadingIcon.js +2 -1
  107. package/dist/icons/HeartFillIcon.js +2 -1
  108. package/dist/icons/HeartIcon.js +2 -1
  109. package/dist/icons/HistoryIcon.js +2 -1
  110. package/dist/icons/HomeFillIcon.js +2 -1
  111. package/dist/icons/HomeIcon.js +2 -1
  112. package/dist/icons/HorizontalRuleIcon.js +2 -1
  113. package/dist/icons/HourglassIcon.js +2 -1
  114. package/dist/icons/HubotIcon.js +2 -1
  115. package/dist/icons/ImageIcon.js +2 -1
  116. package/dist/icons/InboxIcon.js +2 -1
  117. package/dist/icons/InfinityIcon.js +2 -1
  118. package/dist/icons/InfoIcon.js +2 -1
  119. package/dist/icons/IssueClosedIcon.js +3 -2
  120. package/dist/icons/IssueDraftIcon.js +87 -0
  121. package/dist/icons/IssueOpenedIcon.js +3 -2
  122. package/dist/icons/IssueReopenedIcon.js +3 -2
  123. package/dist/icons/ItalicIcon.js +2 -1
  124. package/dist/icons/KebabHorizontalIcon.js +2 -1
  125. package/dist/icons/KeyAsteriskIcon.js +87 -0
  126. package/dist/icons/KeyIcon.js +2 -1
  127. package/dist/icons/LawIcon.js +2 -1
  128. package/dist/icons/LightBulbIcon.js +2 -1
  129. package/dist/icons/LinkExternalIcon.js +2 -1
  130. package/dist/icons/LinkIcon.js +2 -1
  131. package/dist/icons/ListOrderedIcon.js +2 -1
  132. package/dist/icons/ListUnorderedIcon.js +2 -1
  133. package/dist/icons/LocationIcon.js +2 -1
  134. package/dist/icons/LockIcon.js +2 -1
  135. package/dist/icons/LogoGistIcon.js +2 -1
  136. package/dist/icons/LogoGithubIcon.js +2 -1
  137. package/dist/icons/MailIcon.js +2 -1
  138. package/dist/icons/MarkGithubIcon.js +2 -1
  139. package/dist/icons/MarkdownIcon.js +2 -1
  140. package/dist/icons/MegaphoneIcon.js +2 -1
  141. package/dist/icons/MentionIcon.js +2 -1
  142. package/dist/icons/MeterIcon.js +2 -1
  143. package/dist/icons/MilestoneIcon.js +2 -1
  144. package/dist/icons/MirrorIcon.js +2 -1
  145. package/dist/icons/MoonIcon.js +2 -1
  146. package/dist/icons/MortarBoardIcon.js +2 -1
  147. package/dist/icons/MultiSelectIcon.js +2 -1
  148. package/dist/icons/MuteIcon.js +2 -1
  149. package/dist/icons/NoEntryIcon.js +2 -1
  150. package/dist/icons/NorthStarIcon.js +2 -1
  151. package/dist/icons/NoteIcon.js +2 -1
  152. package/dist/icons/NumberIcon.js +3 -2
  153. package/dist/icons/OrganizationIcon.js +2 -1
  154. package/dist/icons/PackageDependenciesIcon.js +2 -1
  155. package/dist/icons/PackageDependentsIcon.js +2 -1
  156. package/dist/icons/PackageIcon.js +2 -1
  157. package/dist/icons/PaintbrushIcon.js +2 -1
  158. package/dist/icons/PaperAirplaneIcon.js +2 -1
  159. package/dist/icons/{ClippyIcon.js → PasteIcon.js} +7 -6
  160. package/dist/icons/PencilIcon.js +2 -1
  161. package/dist/icons/PeopleIcon.js +2 -1
  162. package/dist/icons/PersonAddIcon.js +2 -1
  163. package/dist/icons/{GitForkIcon.js → PersonFillIcon.js} +8 -7
  164. package/dist/icons/PersonIcon.js +2 -1
  165. package/dist/icons/PinIcon.js +2 -1
  166. package/dist/icons/PlayIcon.js +2 -1
  167. package/dist/icons/PlugIcon.js +2 -1
  168. package/dist/icons/PlusCircleIcon.js +2 -1
  169. package/dist/icons/PlusIcon.js +2 -1
  170. package/dist/icons/ProjectIcon.js +2 -1
  171. package/dist/icons/PulseIcon.js +2 -1
  172. package/dist/icons/QuestionIcon.js +2 -1
  173. package/dist/icons/QuoteIcon.js +2 -1
  174. package/dist/icons/ReplyIcon.js +2 -1
  175. package/dist/icons/RepoCloneIcon.js +2 -1
  176. package/dist/icons/RepoForkedIcon.js +3 -2
  177. package/dist/icons/RepoIcon.js +2 -1
  178. package/dist/icons/RepoPullIcon.js +2 -1
  179. package/dist/icons/RepoPushIcon.js +2 -1
  180. package/dist/icons/RepoTemplateIcon.js +2 -1
  181. package/dist/icons/ReportIcon.js +2 -1
  182. package/dist/icons/RocketIcon.js +2 -1
  183. package/dist/icons/RowsIcon.js +87 -0
  184. package/dist/icons/RssIcon.js +2 -1
  185. package/dist/icons/RubyIcon.js +2 -1
  186. package/dist/icons/ScreenFullIcon.js +2 -1
  187. package/dist/icons/ScreenNormalIcon.js +2 -1
  188. package/dist/icons/SearchIcon.js +2 -1
  189. package/dist/icons/ServerIcon.js +2 -1
  190. package/dist/icons/ShareAndroidIcon.js +2 -1
  191. package/dist/icons/ShareIcon.js +2 -1
  192. package/dist/icons/ShieldCheckIcon.js +2 -1
  193. package/dist/icons/ShieldIcon.js +2 -1
  194. package/dist/icons/ShieldLockIcon.js +2 -1
  195. package/dist/icons/ShieldXIcon.js +2 -1
  196. package/dist/icons/SidebarCollapseIcon.js +2 -1
  197. package/dist/icons/SidebarExpandIcon.js +2 -1
  198. package/dist/icons/SignInIcon.js +2 -1
  199. package/dist/icons/SignOutIcon.js +2 -1
  200. package/dist/icons/SingleSelectIcon.js +87 -0
  201. package/dist/icons/SkipIcon.js +2 -1
  202. package/dist/icons/SmileyIcon.js +2 -1
  203. package/dist/icons/SortAscIcon.js +87 -0
  204. package/dist/icons/SortDescIcon.js +87 -0
  205. package/dist/icons/SquareFillIcon.js +2 -1
  206. package/dist/icons/SquareIcon.js +2 -1
  207. package/dist/icons/SquirrelIcon.js +2 -1
  208. package/dist/icons/StackIcon.js +87 -0
  209. package/dist/icons/StarFillIcon.js +2 -1
  210. package/dist/icons/StarIcon.js +2 -1
  211. package/dist/icons/StopIcon.js +2 -1
  212. package/dist/icons/StopwatchIcon.js +2 -1
  213. package/dist/icons/StrikethroughIcon.js +2 -1
  214. package/dist/icons/SunIcon.js +2 -1
  215. package/dist/icons/SyncIcon.js +2 -1
  216. package/dist/icons/TabIcon.js +2 -1
  217. package/dist/icons/TableIcon.js +2 -1
  218. package/dist/icons/TagIcon.js +2 -1
  219. package/dist/icons/TasklistIcon.js +2 -1
  220. package/dist/icons/TelescopeFillIcon.js +87 -0
  221. package/dist/icons/TelescopeIcon.js +2 -1
  222. package/dist/icons/TerminalIcon.js +2 -1
  223. package/dist/icons/ThreeBarsIcon.js +2 -1
  224. package/dist/icons/ThumbsdownIcon.js +2 -1
  225. package/dist/icons/ThumbsupIcon.js +2 -1
  226. package/dist/icons/ToolsIcon.js +2 -1
  227. package/dist/icons/TrashIcon.js +2 -1
  228. package/dist/icons/TriangleDownIcon.js +2 -1
  229. package/dist/icons/TriangleLeftIcon.js +2 -1
  230. package/dist/icons/TriangleRightIcon.js +2 -1
  231. package/dist/icons/TriangleUpIcon.js +2 -1
  232. package/dist/icons/TypographyIcon.js +2 -1
  233. package/dist/icons/UnfoldIcon.js +2 -1
  234. package/dist/icons/UnlockIcon.js +2 -1
  235. package/dist/icons/UnmuteIcon.js +2 -1
  236. package/dist/icons/UnverifiedIcon.js +2 -1
  237. package/dist/icons/UploadIcon.js +2 -1
  238. package/dist/icons/VerifiedIcon.js +2 -1
  239. package/dist/icons/VersionsIcon.js +2 -1
  240. package/dist/icons/VideoIcon.js +2 -1
  241. package/dist/icons/WorkflowIcon.js +2 -1
  242. package/dist/icons/XCircleFillIcon.js +2 -1
  243. package/dist/icons/XCircleIcon.js +2 -1
  244. package/dist/icons/XIcon.js +2 -1
  245. package/dist/icons/ZapIcon.js +2 -1
  246. package/dist/index.d.ts +16 -3
  247. package/dist/index.esm.js +16 -3
  248. package/dist/index.umd.js +265 -56
  249. package/package.json +7 -5
@@ -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 SortAscIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M0 4.25a.75.75 0 01.75-.75h2.5a.75.75 0 010 1.5H.75A.75.75 0 010 4.25zm0 4a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5H.75A.75.75 0 010 8.25zm0 4a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5H.75a.75.75 0 01-.75-.75zm12.927-9.677a.25.25 0 00-.354 0l-3 3A.25.25 0 009.75 6H12v6.75a.75.75 0 001.5 0V6h2.25a.25.25 0 00.177-.427l-3-3z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M18.5 17.25a.75.75 0 01-1.5 0V7.56l-2.22 2.22a.75.75 0 11-1.06-1.06l3.5-3.5a.75.75 0 011.06 0l3.5 3.5a.75.75 0 01-1.06 1.06L18.5 7.56v9.69zm-15.75.25a.75.75 0 010-1.5h9.5a.75.75 0 010 1.5h-9.5zm0-5a.75.75 0 010-1.5h5.5a.75.75 0 010 1.5h-5.5zm0-5a.75.75 0 010-1.5h3.5a.75.75 0 010 1.5h-3.5z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ SortAscIcon.defaultProps = {
70
+ className: 'octicon octicon-sort-asc',
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 StyledSortAscIcon = styled(SortAscIcon)(COMMON, sx);
86
+
87
+ export default StyledSortAscIcon;
@@ -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 SortDescIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M0 4.25a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5H.75A.75.75 0 010 4.25zm0 4a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5H.75A.75.75 0 010 8.25zm0 4a.75.75 0 01.75-.75h2.5a.75.75 0 010 1.5H.75a.75.75 0 01-.75-.75z\"></path><path d=\"M13.5 10h2.25a.25.25 0 01.177.427l-3 3a.25.25 0 01-.354 0l-3-3A.25.25 0 019.75 10H12V3.75a.75.75 0 011.5 0V10z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M18.5 16.44V6.75a.75.75 0 00-1.5 0v9.69l-2.22-2.22a.75.75 0 10-1.06 1.06l3.5 3.5a.75.75 0 001.06 0l3.5-3.5a.75.75 0 10-1.06-1.06l-2.22 2.22zM2 7.25a.75.75 0 01.75-.75h9.5a.75.75 0 010 1.5h-9.5A.75.75 0 012 7.25zm0 5a.75.75 0 01.75-.75h5.5a.75.75 0 010 1.5h-5.5a.75.75 0 01-.75-.75zm0 5a.75.75 0 01.75-.75h3.5a.75.75 0 010 1.5h-3.5a.75.75 0 01-.75-.75z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ SortDescIcon.defaultProps = {
70
+ className: 'octicon octicon-sort-desc',
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 StyledSortDescIcon = styled(SortDescIcon)(COMMON, sx);
86
+
87
+ export default StyledSortDescIcon;
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -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 StackIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M7.122.392a1.75 1.75 0 011.756 0l5.003 2.902c.83.481.83 1.68 0 2.162L8.878 8.358a1.75 1.75 0 01-1.756 0L2.119 5.456a1.25 1.25 0 010-2.162L7.122.392zM8.125 1.69a.25.25 0 00-.25 0l-4.63 2.685 4.63 2.685a.25.25 0 00.25 0l4.63-2.685-4.63-2.685zM1.601 7.789a.75.75 0 011.025-.273l5.249 3.044a.25.25 0 00.25 0l5.249-3.044a.75.75 0 01.752 1.298l-5.248 3.044a1.75 1.75 0 01-1.756 0L1.874 8.814A.75.75 0 011.6 7.789zm0 3.5a.75.75 0 011.025-.273l5.249 3.044a.25.25 0 00.25 0l5.249-3.044a.75.75 0 01.752 1.298l-5.248 3.044a1.75 1.75 0 01-1.756 0l-5.248-3.044a.75.75 0 01-.273-1.025z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M11.063 1.456a1.75 1.75 0 011.874 0l8.383 5.316a1.75 1.75 0 010 2.956l-8.383 5.316a1.75 1.75 0 01-1.874 0L2.68 9.728a1.75 1.75 0 010-2.956l8.383-5.316zm1.071 1.267a.25.25 0 00-.268 0L3.483 8.039a.25.25 0 000 .422l8.383 5.316a.25.25 0 00.268 0l8.383-5.316a.25.25 0 000-.422l-8.383-5.316z\"></path><path fill-rule=\"evenodd\" d=\"M1.867 12.324a.75.75 0 011.035-.232l8.964 5.685a.25.25 0 00.268 0l8.964-5.685a.75.75 0 01.804 1.267l-8.965 5.685a1.75 1.75 0 01-1.874 0l-8.965-5.685a.75.75 0 01-.231-1.035z\"></path><path fill-rule=\"evenodd\" d=\"M1.867 16.324a.75.75 0 011.035-.232l8.964 5.685a.25.25 0 00.268 0l8.964-5.685a.75.75 0 01.804 1.267l-8.965 5.685a1.75 1.75 0 01-1.874 0l-8.965-5.685a.75.75 0 01-.231-1.035z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ StackIcon.defaultProps = {
70
+ className: 'octicon octicon-stack',
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 StyledStackIcon = styled(StackIcon)(COMMON, sx);
86
+
87
+ export default StyledStackIcon;
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -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 TelescopeFillIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M8.531 10.21a.75.75 0 01.944.253l2.644 3.864a.75.75 0 11-1.238.847L9 12.424v2.826a.75.75 0 01-1.5 0v-2.826l-1.881 2.75a.75.75 0 01-1.238-.848l2.048-2.992a.75.75 0 01.293-.252l1.81-.871zM11.905.42a1.5 1.5 0 012.144.49l1.692 2.93a1.5 1.5 0 01-.649 2.102L2.895 11.815a1.5 1.5 0 01-1.95-.602l-.68-1.176a1.5 1.5 0 01.455-1.99L11.905.422zM3.279 8.119l.835 1.445 1.355-.653-.947-1.64-1.243.848zm7.728-1.874L9.6 3.808l1.243-.848 1.52 2.631-1.356.653z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M17.155 22.87a.75.75 0 00.226-1.036l-4-6.239a.75.75 0 00-.941-.277l-2.75 1.25a.75.75 0 00-.318.273l-3.25 4.989a.75.75 0 001.256.819l3.131-4.806.51-.232v5.64a.75.75 0 101.5 0v-6.22l3.6 5.613a.75.75 0 001.036.226z\"></path><path fill-rule=\"evenodd\" d=\"M.408 15.13a2 2 0 01.59-2.642L17.038 1.33a2 2 0 012.85.602l2.828 4.644a2 2 0 01-.851 2.847l-17.762 8.43a2 2 0 01-2.59-.807L.408 15.13zm5.263-4.066l1.987 3.44-1.36.645-1.862-3.225 1.235-.86zm7.842-5.455l2.857 4.76 1.361-.646-2.984-4.973-1.234.859z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ TelescopeFillIcon.defaultProps = {
70
+ className: 'octicon octicon-telescope-fill',
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 StyledTelescopeFillIcon = styled(TelescopeFillIcon)(COMMON, sx);
86
+
87
+ export default StyledTelescopeFillIcon;
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };
@@ -36,7 +36,8 @@ function getSvgProps(_ref) {
36
36
  style: {
37
37
  display: 'inline-block',
38
38
  userSelect: 'none',
39
- verticalAlign: verticalAlign
39
+ verticalAlign: verticalAlign,
40
+ overflow: 'visible'
40
41
  },
41
42
  dangerouslySetInnerHTML: { __html: path }
42
43
  };