@primer/styled-octicons 0.0.0-dd899ea → 0.0.0-dd916c4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) 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 +87 -0
  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 +87 -0
  26. package/dist/icons/BroadcastIcon.js +6 -3
  27. package/dist/icons/BrowserIcon.js +87 -0
  28. package/dist/icons/BugIcon.js +87 -0
  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/{EyeSlashIcon.js → CodescanCheckmarkIcon.js} +11 -8
  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 +87 -0
  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 +7 -4
  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/{FileSymlinkIcon.js → DeviceCameraIcon.js} +11 -8
  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/DiamondIcon.js +87 -0
  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 +7 -4
  72. package/dist/icons/DotIcon.js +7 -4
  73. package/dist/icons/DownloadIcon.js +6 -3
  74. package/dist/icons/DuplicateIcon.js +87 -0
  75. package/dist/icons/{TrashcanIcon.js → EllipsisIcon.js} +11 -8
  76. package/dist/icons/EyeClosedIcon.js +7 -4
  77. package/dist/icons/EyeIcon.js +6 -3
  78. package/dist/icons/FileBadgeIcon.js +87 -0
  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 +7 -4
  88. package/dist/icons/FileZipIcon.js +6 -3
  89. package/dist/icons/FilterIcon.js +6 -3
  90. package/dist/icons/FlameIcon.js +7 -4
  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/{FireIcon.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 +7 -4
  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/{OctofaceIcon.js → MeterIcon.js} +11 -8
  144. package/dist/icons/MilestoneIcon.js +6 -3
  145. package/dist/icons/MirrorIcon.js +6 -3
  146. package/dist/icons/MoonIcon.js +87 -0
  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 +87 -0
  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/PersonFillIcon.js +87 -0
  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 +7 -4
  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 +87 -0
  177. package/dist/icons/RepoForkedIcon.js +7 -4
  178. package/dist/icons/RepoIcon.js +6 -3
  179. package/dist/icons/{InsightsIcon.js → RepoPullIcon.js} +11 -8
  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 +87 -0
  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/SelectSingleIcon.js +87 -0
  191. package/dist/icons/ServerIcon.js +6 -3
  192. package/dist/icons/ShareAndroidIcon.js +6 -3
  193. package/dist/icons/ShareIcon.js +6 -3
  194. package/dist/icons/ShieldCheckIcon.js +6 -3
  195. package/dist/icons/ShieldIcon.js +6 -3
  196. package/dist/icons/ShieldLockIcon.js +6 -3
  197. package/dist/icons/ShieldXIcon.js +6 -3
  198. package/dist/icons/SidebarCollapseIcon.js +87 -0
  199. package/dist/icons/SidebarExpandIcon.js +87 -0
  200. package/dist/icons/SignInIcon.js +6 -3
  201. package/dist/icons/SignOutIcon.js +6 -3
  202. package/dist/icons/{GitForkIcon.js → SingleSelectIcon.js} +11 -8
  203. package/dist/icons/SkipIcon.js +6 -3
  204. package/dist/icons/SmileyIcon.js +7 -4
  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 +6 -3
  212. package/dist/icons/StarIcon.js +6 -3
  213. package/dist/icons/StopIcon.js +6 -3
  214. package/dist/icons/StopwatchIcon.js +6 -3
  215. package/dist/icons/StrikethroughIcon.js +87 -0
  216. package/dist/icons/SunIcon.js +87 -0
  217. package/dist/icons/SyncIcon.js +6 -3
  218. package/dist/icons/TabIcon.js +6 -3
  219. package/dist/icons/TableIcon.js +87 -0
  220. package/dist/icons/TagIcon.js +6 -3
  221. package/dist/icons/TasklistIcon.js +6 -3
  222. package/dist/icons/TelescopeFillIcon.js +87 -0
  223. package/dist/icons/TelescopeIcon.js +6 -3
  224. package/dist/icons/TerminalIcon.js +6 -3
  225. package/dist/icons/ThreeBarsIcon.js +6 -3
  226. package/dist/icons/ThumbsdownIcon.js +6 -3
  227. package/dist/icons/ThumbsupIcon.js +6 -3
  228. package/dist/icons/ToolsIcon.js +6 -3
  229. package/dist/icons/TrashIcon.js +7 -4
  230. package/dist/icons/TriangleDownIcon.js +7 -4
  231. package/dist/icons/TriangleLeftIcon.js +6 -3
  232. package/dist/icons/TriangleRightIcon.js +6 -3
  233. package/dist/icons/TriangleUpIcon.js +6 -3
  234. package/dist/icons/TypographyIcon.js +6 -3
  235. package/dist/icons/UnfoldIcon.js +7 -4
  236. package/dist/icons/UnlockIcon.js +6 -3
  237. package/dist/icons/UnmuteIcon.js +6 -3
  238. package/dist/icons/UnverifiedIcon.js +7 -4
  239. package/dist/icons/UploadIcon.js +6 -3
  240. package/dist/icons/VerifiedIcon.js +6 -3
  241. package/dist/icons/VersionsIcon.js +6 -3
  242. package/dist/icons/VideoIcon.js +87 -0
  243. package/dist/icons/WorkflowIcon.js +6 -3
  244. package/dist/icons/XCircleFillIcon.js +7 -4
  245. package/dist/icons/XCircleIcon.js +7 -4
  246. package/dist/icons/XIcon.js +6 -3
  247. package/dist/icons/ZapIcon.js +87 -0
  248. package/dist/index.d.ts +49 -10
  249. package/dist/index.esm.js +49 -10
  250. package/dist/index.umd.js +985 -358
  251. package/package.json +7 -5
  252. package/dist/icons/SettingsIcon.js +0 -84
  253. package/dist/icons/UnverifedIcon.js +0 -84
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@primer/styled-octicons",
3
- "version": "0.0.0-dd899ea",
3
+ "version": "0.0.0-dd916c4",
4
4
  "description": "A scalable set of icons handcrafted with <3 by GitHub.",
5
- "homepage": "https://octicons.github.com",
5
+ "homepage": "https://primer.style/octicons",
6
6
  "author": "GitHub, Inc.",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.umd.js",
@@ -41,20 +41,22 @@
41
41
  "styled-components": "4.x || 5.x"
42
42
  },
43
43
  "devDependencies": {
44
+ "@github/prettier-config": "0.0.4",
44
45
  "@testing-library/jest-dom": "^5.3.0",
45
46
  "@testing-library/react": "^10.0.2",
46
47
  "@types/react": "^16.4.6",
47
48
  "babel-preset-env": "^1.7.0",
48
49
  "babel-preset-react": "^6.24.1",
49
50
  "babel-preset-stage-0": "^6.24.1",
50
- "eslint": "^5.0.1",
51
- "eslint-plugin-github": "^1.1.0",
51
+ "eslint": "^6.5.1",
52
+ "eslint-plugin-github": "4.1.3",
52
53
  "eslint-plugin-jest": "^21.17.0",
54
+ "eslint-plugin-jsx-a11y": "6.4.1",
55
+ "eslint-plugin-react": "7.23.2",
53
56
  "fs-extra": "^6.0.1",
54
57
  "jest": "^23.2.0",
55
58
  "jest-styled-components": "^7.0.2",
56
59
  "next": "^5.1.0",
57
- "primer-react": "0.0.6-alpha.1",
58
60
  "react": "^16.4.0",
59
61
  "react-dom": "^16.4.1",
60
62
  "rollup": "^0.62.0",
@@ -1,84 +0,0 @@
1
- import React from 'react';
2
- import { compose, space, color } from 'styled-system';
3
- import css from '@styled-system/css';
4
- import styled from 'styled-components';
5
-
6
- var sizeMap = {
7
- small: 16,
8
- medium: 32,
9
- large: 64
10
- };
11
-
12
- function getSvgProps(_ref) {
13
- var ariaLabel = _ref['aria-label'],
14
- className = _ref.className,
15
- size = _ref.size,
16
- verticalAlign = _ref.verticalAlign,
17
- svgDataByHeight = _ref.svgDataByHeight;
18
-
19
- var height = sizeMap[size] || size;
20
- var naturalHeight = closestNaturalHeight(Object.keys(svgDataByHeight), height);
21
- var naturalWidth = svgDataByHeight[naturalHeight].width;
22
- var width = height * (naturalWidth / naturalHeight);
23
- var path = svgDataByHeight[naturalHeight].path;
24
-
25
- return {
26
- 'aria-hidden': ariaLabel ? 'false' : 'true',
27
- 'aria-label': ariaLabel,
28
- role: 'img',
29
- className: className,
30
- viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
31
- width: width,
32
- height: height,
33
- fill: 'currentColor',
34
- style: {
35
- display: 'inline-block',
36
- userSelect: 'none',
37
- verticalAlign: verticalAlign
38
- },
39
- dangerouslySetInnerHTML: { __html: path }
40
- };
41
- }
42
-
43
- function closestNaturalHeight(naturalHeights, height) {
44
- return naturalHeights.map(function (naturalHeight) {
45
- return parseInt(naturalHeight, 10);
46
- }).reduce(function (acc, naturalHeight) {
47
- return naturalHeight <= height ? naturalHeight : acc;
48
- }, naturalHeights[0]);
49
- }
50
-
51
- var _extends = Object.assign || function (target) {
52
- for (var i = 1; i < arguments.length; i++) {
53
- var source = arguments[i];for (var key in source) {
54
- if (Object.prototype.hasOwnProperty.call(source, key)) {
55
- target[key] = source[key];
56
- }
57
- }
58
- }return target;
59
- };
60
-
61
- function SettingsIcon(props) {
62
- var svgDataByHeight = { "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M11.31 2.525a9.648 9.648 0 011.38 0c.055.004.135.05.162.16l.351 1.45c.153.628.626 1.08 1.173 1.278.205.074.405.157.6.249a1.832 1.832 0 001.733-.074l1.275-.776c.097-.06.186-.036.228 0 .348.302.674.628.976.976.036.042.06.13 0 .228l-.776 1.274a1.832 1.832 0 00-.074 1.734c.092.195.175.395.248.6.198.547.652 1.02 1.278 1.172l1.45.353c.111.026.157.106.161.161a9.653 9.653 0 010 1.38c-.004.055-.05.135-.16.162l-1.45.351a1.833 1.833 0 00-1.278 1.173 6.926 6.926 0 01-.25.6 1.832 1.832 0 00.075 1.733l.776 1.275c.06.097.036.186 0 .228a9.555 9.555 0 01-.976.976c-.042.036-.13.06-.228 0l-1.275-.776a1.832 1.832 0 00-1.733-.074 6.926 6.926 0 01-.6.248 1.833 1.833 0 00-1.172 1.278l-.353 1.45c-.026.111-.106.157-.161.161a9.653 9.653 0 01-1.38 0c-.055-.004-.135-.05-.162-.16l-.351-1.45a1.833 1.833 0 00-1.173-1.278 6.928 6.928 0 01-.6-.25 1.832 1.832 0 00-1.734.075l-1.274.776c-.097.06-.186.036-.228 0a9.56 9.56 0 01-.976-.976c-.036-.042-.06-.13 0-.228l.776-1.275a1.832 1.832 0 00.074-1.733 6.948 6.948 0 01-.249-.6 1.833 1.833 0 00-1.277-1.172l-1.45-.353c-.111-.026-.157-.106-.161-.161a9.648 9.648 0 010-1.38c.004-.055.05-.135.16-.162l1.45-.351a1.833 1.833 0 001.278-1.173 6.95 6.95 0 01.249-.6 1.832 1.832 0 00-.074-1.734l-.776-1.274c-.06-.097-.036-.186 0-.228.302-.348.628-.674.976-.976.042-.036.13-.06.228 0l1.274.776a1.832 1.832 0 001.734.074 6.95 6.95 0 01.6-.249 1.833 1.833 0 001.172-1.277l.353-1.45c.026-.111.106-.157.161-.161zM12 1c-.268 0-.534.01-.797.028-.763.055-1.345.617-1.512 1.304l-.352 1.45c-.02.078-.09.172-.225.22a8.45 8.45 0 00-.728.303c-.13.06-.246.044-.315.002l-1.274-.776c-.604-.368-1.412-.354-1.99.147-.403.348-.78.726-1.129 1.128-.5.579-.515 1.387-.147 1.99l.776 1.275c.042.069.059.185-.002.315a8.45 8.45 0 00-.302.728c-.05.135-.143.206-.221.225l-1.45.352c-.687.167-1.249.749-1.304 1.512a11.149 11.149 0 000 1.594c.055.763.617 1.345 1.304 1.512l1.45.352c.078.02.172.09.22.225.09.248.191.491.303.729.06.129.044.245.002.314l-.776 1.274c-.368.604-.354 1.412.147 1.99.348.403.726.78 1.128 1.129.579.5 1.387.515 1.99.147l1.275-.776c.069-.042.185-.059.315.002.237.112.48.213.728.302.135.05.206.143.225.221l.352 1.45c.167.687.749 1.249 1.512 1.303a11.125 11.125 0 001.594 0c.763-.054 1.345-.616 1.512-1.303l.352-1.45c.02-.078.09-.172.225-.22.248-.09.491-.191.729-.303.129-.06.245-.044.314-.002l1.274.776c.604.368 1.412.354 1.99-.147.403-.348.78-.726 1.129-1.128.5-.579.515-1.387.147-1.99l-.776-1.275c-.042-.069-.059-.185.002-.315.112-.237.213-.48.302-.728.05-.135.143-.206.221-.225l1.45-.352c.687-.167 1.249-.749 1.303-1.512a11.125 11.125 0 000-1.594c-.054-.763-.616-1.345-1.303-1.512l-1.45-.352c-.078-.02-.172-.09-.22-.225a8.469 8.469 0 00-.303-.728c-.06-.13-.044-.246-.002-.315l.776-1.274c.368-.604.354-1.412-.147-1.99-.348-.403-.726-.78-1.128-1.129-.579-.5-1.387-.515-1.99-.147l-1.275.776c-.069.042-.185.059-.315-.002a8.465 8.465 0 00-.728-.302c-.135-.05-.206-.143-.225-.221l-.352-1.45c-.167-.687-.749-1.249-1.512-1.304A11.149 11.149 0 0012 1zm2.5 11a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm1.5 0a4 4 0 11-8 0 4 4 0 018 0z\"></path>" } };
63
- return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
64
- }
65
-
66
- SettingsIcon.defaultProps = {
67
- className: 'octicon',
68
- size: 16,
69
- verticalAlign: 'text-bottom'
70
- };
71
-
72
- // eslint-disable-next-line import/no-namespace
73
-
74
- var COMMON = compose(space, color);
75
-
76
- var sx = function sx(props) {
77
- return css(props.sx);
78
- };
79
-
80
- /* THIS FILE IS GENERATED. DO NOT EDIT IT. */
81
-
82
- var StyledSettingsIcon = styled(SettingsIcon)(COMMON, sx);
83
-
84
- export default StyledSettingsIcon;
@@ -1,84 +0,0 @@
1
- import React from 'react';
2
- import { compose, space, color } from 'styled-system';
3
- import css from '@styled-system/css';
4
- import styled from 'styled-components';
5
-
6
- var sizeMap = {
7
- small: 16,
8
- medium: 32,
9
- large: 64
10
- };
11
-
12
- function getSvgProps(_ref) {
13
- var ariaLabel = _ref['aria-label'],
14
- className = _ref.className,
15
- size = _ref.size,
16
- verticalAlign = _ref.verticalAlign,
17
- svgDataByHeight = _ref.svgDataByHeight;
18
-
19
- var height = sizeMap[size] || size;
20
- var naturalHeight = closestNaturalHeight(Object.keys(svgDataByHeight), height);
21
- var naturalWidth = svgDataByHeight[naturalHeight].width;
22
- var width = height * (naturalWidth / naturalHeight);
23
- var path = svgDataByHeight[naturalHeight].path;
24
-
25
- return {
26
- 'aria-hidden': ariaLabel ? 'false' : 'true',
27
- 'aria-label': ariaLabel,
28
- role: 'img',
29
- className: className,
30
- viewBox: '0 0 ' + naturalWidth + ' ' + naturalHeight,
31
- width: width,
32
- height: height,
33
- fill: 'currentColor',
34
- style: {
35
- display: 'inline-block',
36
- userSelect: 'none',
37
- verticalAlign: verticalAlign
38
- },
39
- dangerouslySetInnerHTML: { __html: path }
40
- };
41
- }
42
-
43
- function closestNaturalHeight(naturalHeights, height) {
44
- return naturalHeights.map(function (naturalHeight) {
45
- return parseInt(naturalHeight, 10);
46
- }).reduce(function (acc, naturalHeight) {
47
- return naturalHeight <= height ? naturalHeight : acc;
48
- }, naturalHeights[0]);
49
- }
50
-
51
- var _extends = Object.assign || function (target) {
52
- for (var i = 1; i < arguments.length; i++) {
53
- var source = arguments[i];for (var key in source) {
54
- if (Object.prototype.hasOwnProperty.call(source, key)) {
55
- target[key] = source[key];
56
- }
57
- }
58
- }return target;
59
- };
60
-
61
- function UnverifedIcon(props) {
62
- var svgDataByHeight = { "24": { "width": 24, "path": "<path d=\"M13 16.5a1 1 0 11-2 0 1 1 0 012 0zm-2.517-7.665c.112-.223.268-.424.488-.57C11.186 8.12 11.506 8 12 8c.384 0 .766.118 1.034.319a.953.953 0 01.403.806c0 .48-.218.81-.62 1.186a9.293 9.293 0 01-.409.354 19.8 19.8 0 00-.294.249c-.246.213-.524.474-.738.795l-.126.19V13.5a.75.75 0 001.5 0v-1.12c.09-.1.203-.208.347-.333.063-.055.14-.119.222-.187.166-.14.358-.3.52-.452.536-.5 1.098-1.2 1.098-2.283a2.45 2.45 0 00-1.003-2.006C13.37 6.695 12.658 6.5 12 6.5c-.756 0-1.373.191-1.861.517a2.944 2.944 0 00-.997 1.148.75.75 0 001.341.67z\"></path><path fill-rule=\"evenodd\" d=\"M9.864 1.2a3.61 3.61 0 014.272 0l1.375 1.01c.274.2.593.333.929.384l1.686.259a3.61 3.61 0 013.021 3.02l.259 1.687c.051.336.183.655.384.929l1.01 1.375a3.61 3.61 0 010 4.272l-1.01 1.375a2.11 2.11 0 00-.384.929l-.259 1.686a3.61 3.61 0 01-3.02 3.021l-1.687.259a2.11 2.11 0 00-.929.384l-1.375 1.01a3.61 3.61 0 01-4.272 0l-1.375-1.01a2.11 2.11 0 00-.929-.384l-1.686-.259a3.61 3.61 0 01-3.021-3.02l-.259-1.687a2.11 2.11 0 00-.384-.929L1.2 14.136a3.61 3.61 0 010-4.272l1.01-1.375a2.11 2.11 0 00.384-.929l.259-1.686a3.61 3.61 0 013.02-3.021l1.687-.259a2.11 2.11 0 00.929-.384L9.864 1.2zm3.384 1.209a2.11 2.11 0 00-2.496 0l-1.376 1.01a3.61 3.61 0 01-1.589.658l-1.686.258a2.11 2.11 0 00-1.766 1.766l-.258 1.686a3.61 3.61 0 01-.658 1.59l-1.01 1.375a2.11 2.11 0 000 2.496l1.01 1.376a3.61 3.61 0 01.658 1.589l.258 1.686a2.11 2.11 0 001.766 1.765l1.686.26a3.61 3.61 0 011.59.657l1.375 1.01a2.11 2.11 0 002.496 0l1.376-1.01a3.61 3.61 0 011.589-.658l1.686-.258a2.11 2.11 0 001.765-1.766l.26-1.686a3.61 3.61 0 01.657-1.59l1.01-1.375a2.11 2.11 0 000-2.496l-1.01-1.376a3.61 3.61 0 01-.658-1.589l-.258-1.686a2.11 2.11 0 00-1.766-1.766l-1.686-.258a3.61 3.61 0 01-1.59-.658l-1.375-1.01z\"></path>" } };
63
- return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
64
- }
65
-
66
- UnverifedIcon.defaultProps = {
67
- className: 'octicon',
68
- size: 16,
69
- verticalAlign: 'text-bottom'
70
- };
71
-
72
- // eslint-disable-next-line import/no-namespace
73
-
74
- var COMMON = compose(space, color);
75
-
76
- var sx = function sx(props) {
77
- return css(props.sx);
78
- };
79
-
80
- /* THIS FILE IS GENERATED. DO NOT EDIT IT. */
81
-
82
- var StyledUnverifedIcon = styled(UnverifedIcon)(COMMON, sx);
83
-
84
- export default StyledUnverifedIcon;