@primer/styled-octicons 0.0.0-24cce42 → 0.0.0-250e7f6

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/README.md +2 -2
  3. package/dist/icons/AlertIcon.js +87 -0
  4. package/dist/icons/ArchiveIcon.js +87 -0
  5. package/dist/icons/ArrowBothIcon.js +87 -0
  6. package/dist/icons/ArrowDownIcon.js +87 -0
  7. package/dist/icons/ArrowDownLeftIcon.js +87 -0
  8. package/dist/icons/ArrowDownRightIcon.js +87 -0
  9. package/dist/icons/ArrowLeftIcon.js +87 -0
  10. package/dist/icons/ArrowRightIcon.js +87 -0
  11. package/dist/icons/ArrowSwitchIcon.js +87 -0
  12. package/dist/icons/ArrowUpIcon.js +87 -0
  13. package/dist/icons/ArrowUpLeftIcon.js +87 -0
  14. package/dist/icons/ArrowUpRightIcon.js +87 -0
  15. package/dist/icons/BeakerIcon.js +87 -0
  16. package/dist/icons/BellFillIcon.js +87 -0
  17. package/dist/icons/BellIcon.js +87 -0
  18. package/dist/icons/BellSlashIcon.js +87 -0
  19. package/dist/icons/BlockedIcon.js +87 -0
  20. package/dist/icons/BoldIcon.js +87 -0
  21. package/dist/icons/BookIcon.js +87 -0
  22. package/dist/icons/BookmarkFillIcon.js +87 -0
  23. package/dist/icons/BookmarkIcon.js +87 -0
  24. package/dist/icons/BookmarkSlashFillIcon.js +87 -0
  25. package/dist/icons/BookmarkSlashIcon.js +87 -0
  26. package/dist/icons/BriefcaseIcon.js +87 -0
  27. package/dist/icons/BroadcastIcon.js +87 -0
  28. package/dist/icons/BrowserIcon.js +87 -0
  29. package/dist/icons/BugIcon.js +87 -0
  30. package/dist/icons/CalendarIcon.js +87 -0
  31. package/dist/icons/CheckCircleFillIcon.js +87 -0
  32. package/dist/icons/CheckCircleIcon.js +87 -0
  33. package/dist/icons/CheckIcon.js +87 -0
  34. package/dist/icons/ChecklistIcon.js +87 -0
  35. package/dist/icons/ChevronDownIcon.js +87 -0
  36. package/dist/icons/ChevronLeftIcon.js +87 -0
  37. package/dist/icons/ChevronRightIcon.js +87 -0
  38. package/dist/icons/ChevronUpIcon.js +87 -0
  39. package/dist/icons/CircleIcon.js +87 -0
  40. package/dist/icons/CircleSlashIcon.js +87 -0
  41. package/dist/icons/ClockIcon.js +87 -0
  42. package/dist/icons/CodeIcon.js +87 -0
  43. package/dist/icons/CodeReviewIcon.js +87 -0
  44. package/dist/icons/CodeSquareIcon.js +87 -0
  45. package/dist/icons/CodescanCheckmarkIcon.js +87 -0
  46. package/dist/icons/CodescanIcon.js +87 -0
  47. package/dist/icons/CodespacesIcon.js +87 -0
  48. package/dist/icons/ColumnsIcon.js +87 -0
  49. package/dist/icons/CommentDiscussionIcon.js +87 -0
  50. package/dist/icons/CommentIcon.js +87 -0
  51. package/dist/icons/CommitIcon.js +87 -0
  52. package/dist/icons/ContainerIcon.js +87 -0
  53. package/dist/icons/CopyIcon.js +87 -0
  54. package/dist/icons/CpuIcon.js +87 -0
  55. package/dist/icons/CreditCardIcon.js +87 -0
  56. package/dist/icons/CrossReferenceIcon.js +87 -0
  57. package/dist/icons/DashIcon.js +87 -0
  58. package/dist/icons/DatabaseIcon.js +87 -0
  59. package/dist/icons/DependabotIcon.js +87 -0
  60. package/dist/icons/DesktopDownloadIcon.js +87 -0
  61. package/dist/icons/DeviceCameraIcon.js +87 -0
  62. package/dist/icons/DeviceCameraVideoIcon.js +87 -0
  63. package/dist/icons/DeviceDesktopIcon.js +87 -0
  64. package/dist/icons/DeviceMobileIcon.js +87 -0
  65. package/dist/icons/DiamondIcon.js +87 -0
  66. package/dist/icons/DiffAddedIcon.js +87 -0
  67. package/dist/icons/DiffIcon.js +87 -0
  68. package/dist/icons/DiffIgnoredIcon.js +87 -0
  69. package/dist/icons/DiffModifiedIcon.js +87 -0
  70. package/dist/icons/DiffRemovedIcon.js +87 -0
  71. package/dist/icons/DiffRenamedIcon.js +87 -0
  72. package/dist/icons/DotFillIcon.js +87 -0
  73. package/dist/icons/DotIcon.js +87 -0
  74. package/dist/icons/DownloadIcon.js +87 -0
  75. package/dist/icons/DuplicateIcon.js +87 -0
  76. package/dist/icons/EllipsisIcon.js +87 -0
  77. package/dist/icons/EyeClosedIcon.js +87 -0
  78. package/dist/icons/EyeIcon.js +87 -0
  79. package/dist/icons/FileBadgeIcon.js +87 -0
  80. package/dist/icons/FileBinaryIcon.js +87 -0
  81. package/dist/icons/FileCodeIcon.js +87 -0
  82. package/dist/icons/FileDiffIcon.js +87 -0
  83. package/dist/icons/FileDirectoryFillIcon.js +87 -0
  84. package/dist/icons/FileDirectoryIcon.js +87 -0
  85. package/dist/icons/FileIcon.js +87 -0
  86. package/dist/icons/FileMediaIcon.js +87 -0
  87. package/dist/icons/FileSubmoduleIcon.js +87 -0
  88. package/dist/icons/FileSymlinkFileIcon.js +87 -0
  89. package/dist/icons/FileZipIcon.js +87 -0
  90. package/dist/icons/FilterIcon.js +87 -0
  91. package/dist/icons/FlameIcon.js +87 -0
  92. package/dist/icons/FoldDownIcon.js +87 -0
  93. package/dist/icons/FoldIcon.js +87 -0
  94. package/dist/icons/FoldUpIcon.js +87 -0
  95. package/dist/icons/GearIcon.js +87 -0
  96. package/dist/icons/GiftIcon.js +87 -0
  97. package/dist/icons/GitBranchIcon.js +87 -0
  98. package/dist/icons/GitCommitIcon.js +87 -0
  99. package/dist/icons/GitCompareIcon.js +87 -0
  100. package/dist/icons/GitMergeIcon.js +87 -0
  101. package/dist/icons/GitPullRequestClosedIcon.js +87 -0
  102. package/dist/icons/GitPullRequestDraftIcon.js +87 -0
  103. package/dist/icons/GitPullRequestIcon.js +87 -0
  104. package/dist/icons/GlobeIcon.js +87 -0
  105. package/dist/icons/GrabberIcon.js +87 -0
  106. package/dist/icons/GraphIcon.js +87 -0
  107. package/dist/icons/HashIcon.js +87 -0
  108. package/dist/icons/HeadingIcon.js +87 -0
  109. package/dist/icons/HeartFillIcon.js +87 -0
  110. package/dist/icons/HeartIcon.js +87 -0
  111. package/dist/icons/HistoryIcon.js +87 -0
  112. package/dist/icons/HomeFillIcon.js +87 -0
  113. package/dist/icons/HomeIcon.js +87 -0
  114. package/dist/icons/HorizontalRuleIcon.js +87 -0
  115. package/dist/icons/HourglassIcon.js +87 -0
  116. package/dist/icons/HubotIcon.js +87 -0
  117. package/dist/icons/ImageIcon.js +87 -0
  118. package/dist/icons/InboxIcon.js +87 -0
  119. package/dist/icons/InfinityIcon.js +87 -0
  120. package/dist/icons/InfoIcon.js +87 -0
  121. package/dist/icons/IssueClosedIcon.js +87 -0
  122. package/dist/icons/IssueDraftIcon.js +87 -0
  123. package/dist/icons/IssueOpenedIcon.js +87 -0
  124. package/dist/icons/IssueReopenedIcon.js +87 -0
  125. package/dist/icons/ItalicIcon.js +87 -0
  126. package/dist/icons/KebabHorizontalIcon.js +87 -0
  127. package/dist/icons/KeyAsteriskIcon.js +87 -0
  128. package/dist/icons/KeyIcon.js +87 -0
  129. package/dist/icons/LawIcon.js +87 -0
  130. package/dist/icons/LightBulbIcon.js +87 -0
  131. package/dist/icons/LinkExternalIcon.js +87 -0
  132. package/dist/icons/LinkIcon.js +87 -0
  133. package/dist/icons/ListOrderedIcon.js +87 -0
  134. package/dist/icons/ListUnorderedIcon.js +87 -0
  135. package/dist/icons/LocationIcon.js +87 -0
  136. package/dist/icons/LockIcon.js +87 -0
  137. package/dist/icons/LogoGistIcon.js +87 -0
  138. package/dist/icons/LogoGithubIcon.js +87 -0
  139. package/dist/icons/MailIcon.js +87 -0
  140. package/dist/icons/MarkGithubIcon.js +87 -0
  141. package/dist/icons/MarkdownIcon.js +87 -0
  142. package/dist/icons/MegaphoneIcon.js +87 -0
  143. package/dist/icons/MentionIcon.js +87 -0
  144. package/dist/icons/MeterIcon.js +87 -0
  145. package/dist/icons/MilestoneIcon.js +87 -0
  146. package/dist/icons/MirrorIcon.js +87 -0
  147. package/dist/icons/MoonIcon.js +87 -0
  148. package/dist/icons/MortarBoardIcon.js +87 -0
  149. package/dist/icons/MultiSelectIcon.js +87 -0
  150. package/dist/icons/MuteIcon.js +87 -0
  151. package/dist/icons/NoEntryIcon.js +87 -0
  152. package/dist/icons/NorthStarIcon.js +87 -0
  153. package/dist/icons/NoteIcon.js +87 -0
  154. package/dist/icons/NumberIcon.js +87 -0
  155. package/dist/icons/OrganizationIcon.js +87 -0
  156. package/dist/icons/PackageDependenciesIcon.js +87 -0
  157. package/dist/icons/PackageDependentsIcon.js +87 -0
  158. package/dist/icons/PackageIcon.js +87 -0
  159. package/dist/icons/PaintbrushIcon.js +87 -0
  160. package/dist/icons/PaperAirplaneIcon.js +87 -0
  161. package/dist/icons/PasteIcon.js +87 -0
  162. package/dist/icons/PencilIcon.js +87 -0
  163. package/dist/icons/PeopleIcon.js +87 -0
  164. package/dist/icons/PersonAddIcon.js +87 -0
  165. package/dist/icons/PersonFillIcon.js +87 -0
  166. package/dist/icons/PersonIcon.js +87 -0
  167. package/dist/icons/PinIcon.js +87 -0
  168. package/dist/icons/PlayIcon.js +87 -0
  169. package/dist/icons/PlugIcon.js +87 -0
  170. package/dist/icons/PlusCircleIcon.js +87 -0
  171. package/dist/icons/PlusIcon.js +87 -0
  172. package/dist/icons/ProjectIcon.js +87 -0
  173. package/dist/icons/PulseIcon.js +87 -0
  174. package/dist/icons/QuestionIcon.js +87 -0
  175. package/dist/icons/QuoteIcon.js +87 -0
  176. package/dist/icons/ReplyIcon.js +87 -0
  177. package/dist/icons/RepoCloneIcon.js +87 -0
  178. package/dist/icons/RepoForkedIcon.js +87 -0
  179. package/dist/icons/RepoIcon.js +87 -0
  180. package/dist/icons/RepoPullIcon.js +87 -0
  181. package/dist/icons/RepoPushIcon.js +87 -0
  182. package/dist/icons/RepoTemplateIcon.js +87 -0
  183. package/dist/icons/ReportIcon.js +87 -0
  184. package/dist/icons/RocketIcon.js +87 -0
  185. package/dist/icons/RowsIcon.js +87 -0
  186. package/dist/icons/RssIcon.js +87 -0
  187. package/dist/icons/RubyIcon.js +87 -0
  188. package/dist/icons/ScreenFullIcon.js +87 -0
  189. package/dist/icons/ScreenNormalIcon.js +87 -0
  190. package/dist/icons/SearchIcon.js +87 -0
  191. package/dist/icons/ServerIcon.js +87 -0
  192. package/dist/icons/ShareAndroidIcon.js +87 -0
  193. package/dist/icons/ShareIcon.js +87 -0
  194. package/dist/icons/ShieldCheckIcon.js +87 -0
  195. package/dist/icons/ShieldIcon.js +87 -0
  196. package/dist/icons/ShieldLockIcon.js +87 -0
  197. package/dist/icons/ShieldXIcon.js +87 -0
  198. package/dist/icons/SidebarCollapseIcon.js +87 -0
  199. package/dist/icons/SidebarExpandIcon.js +87 -0
  200. package/dist/icons/SignInIcon.js +87 -0
  201. package/dist/icons/SignOutIcon.js +87 -0
  202. package/dist/icons/SingleSelectIcon.js +87 -0
  203. package/dist/icons/SkipIcon.js +87 -0
  204. package/dist/icons/SmileyIcon.js +87 -0
  205. package/dist/icons/SortAscIcon.js +87 -0
  206. package/dist/icons/SortDescIcon.js +87 -0
  207. package/dist/icons/SquareFillIcon.js +87 -0
  208. package/dist/icons/SquareIcon.js +87 -0
  209. package/dist/icons/SquirrelIcon.js +87 -0
  210. package/dist/icons/StackIcon.js +87 -0
  211. package/dist/icons/StarFillIcon.js +87 -0
  212. package/dist/icons/StarIcon.js +87 -0
  213. package/dist/icons/StopIcon.js +87 -0
  214. package/dist/icons/StopwatchIcon.js +87 -0
  215. package/dist/icons/StrikethroughIcon.js +87 -0
  216. package/dist/icons/SunIcon.js +87 -0
  217. package/dist/icons/SyncIcon.js +87 -0
  218. package/dist/icons/TabIcon.js +87 -0
  219. package/dist/icons/TableIcon.js +87 -0
  220. package/dist/icons/TagIcon.js +87 -0
  221. package/dist/icons/TasklistIcon.js +87 -0
  222. package/dist/icons/TelescopeFillIcon.js +87 -0
  223. package/dist/icons/TelescopeIcon.js +87 -0
  224. package/dist/icons/TerminalIcon.js +87 -0
  225. package/dist/icons/ThreeBarsIcon.js +87 -0
  226. package/dist/icons/ThumbsdownIcon.js +87 -0
  227. package/dist/icons/ThumbsupIcon.js +87 -0
  228. package/dist/icons/ToolsIcon.js +87 -0
  229. package/dist/icons/TrashIcon.js +87 -0
  230. package/dist/icons/TriangleDownIcon.js +87 -0
  231. package/dist/icons/TriangleLeftIcon.js +87 -0
  232. package/dist/icons/TriangleRightIcon.js +87 -0
  233. package/dist/icons/TriangleUpIcon.js +87 -0
  234. package/dist/icons/TypographyIcon.js +87 -0
  235. package/dist/icons/UnfoldIcon.js +87 -0
  236. package/dist/icons/UnlockIcon.js +87 -0
  237. package/dist/icons/UnmuteIcon.js +87 -0
  238. package/dist/icons/UnverifiedIcon.js +87 -0
  239. package/dist/icons/UploadIcon.js +87 -0
  240. package/dist/icons/VerifiedIcon.js +87 -0
  241. package/dist/icons/VersionsIcon.js +87 -0
  242. package/dist/icons/VideoIcon.js +87 -0
  243. package/dist/icons/WorkflowIcon.js +87 -0
  244. package/dist/icons/XCircleFillIcon.js +87 -0
  245. package/dist/icons/XCircleIcon.js +87 -0
  246. package/dist/icons/XIcon.js +87 -0
  247. package/dist/icons/ZapIcon.js +87 -0
  248. package/dist/index.d.ts +54 -12
  249. package/dist/index.esm.js +245 -3139
  250. package/dist/index.umd.js +1351 -703
  251. package/package.json +13 -9
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 GitHub Inc.
3
+ Copyright (c) 2021 GitHub Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # @primer/octicons-react
1
+ # @primer/styled-octicons
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@primer/octicons-react.svg)](https://www.npmjs.org/package/@primer/octicons-react)
3
+ [![npm version](https://img.shields.io/npm/v/@primer/styled-octicons.svg)](https://www.npmjs.org/package/@primer/styled-octicons)
4
4
 
5
5
  See https://primer.style/octicons/packages/styled-system
@@ -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 AlertIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M13 17.5a1 1 0 11-2 0 1 1 0 012 0zm-.25-8.25a.75.75 0 00-1.5 0v4.5a.75.75 0 001.5 0v-4.5z\"></path><path fill-rule=\"evenodd\" d=\"M9.836 3.244c.963-1.665 3.365-1.665 4.328 0l8.967 15.504c.963 1.667-.24 3.752-2.165 3.752H3.034c-1.926 0-3.128-2.085-2.165-3.752L9.836 3.244zm3.03.751a1 1 0 00-1.732 0L2.168 19.499A1 1 0 003.034 21h17.932a1 1 0 00.866-1.5L12.866 3.994z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ AlertIcon.defaultProps = {
70
+ className: 'octicon octicon-alert',
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 StyledAlertIcon = styled(AlertIcon)(COMMON, sx);
86
+
87
+ export default StyledAlertIcon;
@@ -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 ArchiveIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M1.75 2.5a.25.25 0 00-.25.25v1.5c0 .138.112.25.25.25h12.5a.25.25 0 00.25-.25v-1.5a.25.25 0 00-.25-.25H1.75zM0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v1.5A1.75 1.75 0 0114.25 6H1.75A1.75 1.75 0 010 4.25v-1.5zM1.75 7a.75.75 0 01.75.75v5.5c0 .138.112.25.25.25h10.5a.25.25 0 00.25-.25v-5.5a.75.75 0 111.5 0v5.5A1.75 1.75 0 0113.25 15H2.75A1.75 1.75 0 011 13.25v-5.5A.75.75 0 011.75 7zm4.5 1a.75.75 0 000 1.5h3.5a.75.75 0 100-1.5h-3.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M2.75 2A1.75 1.75 0 001 3.75v3.5C1 8.216 1.784 9 2.75 9h18.5A1.75 1.75 0 0023 7.25v-3.5A1.75 1.75 0 0021.25 2H2.75zm18.5 1.5H2.75a.25.25 0 00-.25.25v3.5c0 .138.112.25.25.25h18.5a.25.25 0 00.25-.25v-3.5a.25.25 0 00-.25-.25z\"></path><path d=\"M2.75 10a.75.75 0 01.75.75v9.5c0 .138.112.25.25.25h16.5a.25.25 0 00.25-.25v-9.5a.75.75 0 011.5 0v9.5A1.75 1.75 0 0120.25 22H3.75A1.75 1.75 0 012 20.25v-9.5a.75.75 0 01.75-.75z\"></path><path d=\"M9.75 11.5a.75.75 0 000 1.5h4.5a.75.75 0 000-1.5h-4.5z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ ArchiveIcon.defaultProps = {
70
+ className: 'octicon octicon-archive',
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 StyledArchiveIcon = styled(ArchiveIcon)(COMMON, sx);
86
+
87
+ export default StyledArchiveIcon;
@@ -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 ArrowBothIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M3.72 3.72a.75.75 0 011.06 1.06L2.56 7h10.88l-2.22-2.22a.75.75 0 011.06-1.06l3.5 3.5a.75.75 0 010 1.06l-3.5 3.5a.75.75 0 11-1.06-1.06l2.22-2.22H2.56l2.22 2.22a.75.75 0 11-1.06 1.06l-3.5-3.5a.75.75 0 010-1.06l3.5-3.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M7.78 5.97a.75.75 0 00-1.06 0l-5.25 5.25a.75.75 0 000 1.06l5.25 5.25a.75.75 0 001.06-1.06L3.81 12.5h16.38l-3.97 3.97a.75.75 0 101.06 1.06l5.25-5.25a.75.75 0 000-1.06l-5.25-5.25a.75.75 0 10-1.06 1.06L20.19 11H3.81l3.97-3.97a.75.75 0 000-1.06z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ ArrowBothIcon.defaultProps = {
70
+ className: 'octicon octicon-arrow-both',
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 StyledArrowBothIcon = styled(ArrowBothIcon)(COMMON, sx);
86
+
87
+ export default StyledArrowBothIcon;
@@ -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 ArrowDownIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M13.03 8.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0L3.47 9.28a.75.75 0 011.06-1.06l2.97 2.97V3.75a.75.75 0 011.5 0v7.44l2.97-2.97a.75.75 0 011.06 0z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M4.97 13.22a.75.75 0 000 1.06l6.25 6.25a.75.75 0 001.06 0l6.25-6.25a.75.75 0 10-1.06-1.06l-4.97 4.97V3.75a.75.75 0 00-1.5 0v14.44l-4.97-4.97a.75.75 0 00-1.06 0z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ ArrowDownIcon.defaultProps = {
70
+ className: 'octicon octicon-arrow-down',
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 StyledArrowDownIcon = styled(ArrowDownIcon)(COMMON, sx);
86
+
87
+ export default StyledArrowDownIcon;
@@ -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 ArrowDownLeftIcon(props) {
65
+ var svgDataByHeight = { "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M5.75 8.5a.75.75 0 00-.75.75v9c0 .414.336.75.75.75h9a.75.75 0 000-1.5H7.56L17.78 7.28a.75.75 0 00-1.06-1.06L6.5 16.44V9.25a.75.75 0 00-.75-.75z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ ArrowDownLeftIcon.defaultProps = {
70
+ className: 'octicon octicon-arrow-down-left',
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 StyledArrowDownLeftIcon = styled(ArrowDownLeftIcon)(COMMON, sx);
86
+
87
+ export default StyledArrowDownLeftIcon;
@@ -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 ArrowDownRightIcon(props) {
65
+ var svgDataByHeight = { "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M18.25 8.5a.75.75 0 01.75.75v9a.75.75 0 01-.75.75h-9a.75.75 0 010-1.5h7.19L6.22 7.28a.75.75 0 011.06-1.06L17.5 16.44V9.25a.75.75 0 01.75-.75z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ ArrowDownRightIcon.defaultProps = {
70
+ className: 'octicon octicon-arrow-down-right',
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 StyledArrowDownRightIcon = styled(ArrowDownRightIcon)(COMMON, sx);
86
+
87
+ export default StyledArrowDownRightIcon;
@@ -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 ArrowLeftIcon(props) {
65
+ var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M7.78 12.53a.75.75 0 01-1.06 0L2.47 8.28a.75.75 0 010-1.06l4.25-4.25a.75.75 0 011.06 1.06L4.81 7h7.44a.75.75 0 010 1.5H4.81l2.97 2.97a.75.75 0 010 1.06z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M10.78 19.03a.75.75 0 01-1.06 0l-6.25-6.25a.75.75 0 010-1.06l6.25-6.25a.75.75 0 111.06 1.06L5.81 11.5h14.44a.75.75 0 010 1.5H5.81l4.97 4.97a.75.75 0 010 1.06z\"></path>" } };
66
+ return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
67
+ }
68
+
69
+ ArrowLeftIcon.defaultProps = {
70
+ className: 'octicon octicon-arrow-left',
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 StyledArrowLeftIcon = styled(ArrowLeftIcon)(COMMON, sx);
86
+
87
+ export default StyledArrowLeftIcon;