@primer/styled-octicons 17.0.0 → 17.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons/CloudIcon.js +87 -0
- package/dist/icons/CloudOfflineIcon.js +87 -0
- package/dist/icons/CopilotErrorIcon.js +87 -0
- package/dist/icons/CopilotIcon.js +87 -0
- package/dist/icons/CopilotWarningIcon.js +87 -0
- package/dist/icons/FileAddedIcon.js +87 -0
- package/dist/icons/FileDirectoryOpenFillIcon.js +87 -0
- package/dist/icons/FileIcon.js +1 -1
- package/dist/icons/FileMovedIcon.js +87 -0
- package/dist/icons/FileRemovedIcon.js +87 -0
- package/dist/icons/OrganizationIcon.js +1 -1
- package/dist/icons/RepoLockedIcon.js +1 -1
- package/dist/icons/SlidersIcon.js +87 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.esm.js +10 -0
- package/dist/index.umd.js +163 -3
- package/package.json +1 -1
|
@@ -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 FileMovedIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0113.25 16h-3.5a.75.75 0 010-1.5h3.5a.25.25 0 00.25-.25V4.664a.25.25 0 00-.073-.177l-2.914-2.914a.25.25 0 00-.177-.073H3.75a.25.25 0 00-.25.25v6.5a.75.75 0 01-1.5 0v-6.5z\"></path><path d=\"M5.427 15.573l3.146-3.146a.25.25 0 000-.354L5.427 8.927A.25.25 0 005 9.104V11.5H.75a.75.75 0 000 1.5H5v2.396c0 .223.27.335.427.177z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
FileMovedIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-file-moved',
|
|
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 StyledFileMovedIcon = styled(FileMovedIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledFileMovedIcon;
|
|
@@ -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 FileRemovedIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M3.75 1.5a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 00.25-.25V4.664a.25.25 0 00-.073-.177l-2.914-2.914a.25.25 0 00-.177-.073H3.75zM2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0113.25 16h-9.5A1.75 1.75 0 012 14.25V1.75zM8.25 7.5h2.242a.75.75 0 010 1.5h-2.24l-2.254.015a.75.75 0 01-.01-1.5L8.25 7.5z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
FileRemovedIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-file-removed',
|
|
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 StyledFileRemovedIcon = styled(FileRemovedIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledFileRemovedIcon;
|
|
@@ -62,7 +62,7 @@ var _extends = Object.assign || function (target) {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
function OrganizationIcon(props) {
|
|
65
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M1.5 14.25c0 .138.112.25.25.25H4v-1.25a.75.75 0 01.75-.75h2.5a.75.75 0 01.75.75v1.25h2.25a.25.25 0 00.25-.25V1.75a.25.25 0 00-.25-.25h-8.5a.25.25 0 00-.25.25v12.5zM1.75 16A1.75 1.75 0 010 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5c0 .085-.006.168-.018.25h2.268a.25.25 0 00.25-.25V8.285a.25.25 0 00-.111-.208l-1.055-.703a.75.75 0 11.832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0114.25 16h-3.5a.75.75 0 01-.197-.026c-.099.017-.2.026-.303.026h-3a.75.75 0 01-.75-.75V14h-1v1.25a.75.75 0 01-.75.75h-3zM3 3.75A.75.75 0 013.75 3h.5a.75.75 0 010 1.5h-.5A.75.75 0 013 3.75zM3.75 6a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM3 9.75A.75.75 0 013.75 9h.5a.75.75 0 010 1.5h-.5A.75.75 0 013 9.75zM7.75 9a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM7 6.75A.75.75 0 017.75 6h.5a.75.75 0 010 1.5h-.5A.75.75 0 017 6.75zM7.75 3a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M1.5 14.25c0 .138.112.25.25.25H4v-1.25a.75.75 0 01.75-.75h2.5a.75.75 0 01.75.75v1.25h2.25a.25.25 0 00.25-.25V1.75a.25.25 0 00-.25-.25h-8.5a.25.25 0 00-.25.25v12.5zM1.75 16A1.75 1.75 0 010 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5c0 .085-.006.168-.018.25h2.268a.25.25 0 00.25-.25V8.285a.25.25 0 00-.111-.208l-1.055-.703a.75.75 0 11.832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0114.25 16h-3.5a.75.75 0 01-.197-.026c-.099.017-.2.026-.303.026h-3a.75.75 0 01-.75-.75V14h-1v1.25a.75.75 0 01-.75.75h-3zM3 3.75A.75.75 0 013.75 3h.5a.75.75 0 010 1.5h-.5A.75.75 0 013 3.75zM3.75 6a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM3 9.75A.75.75 0 013.75 9h.5a.75.75 0 010 1.5h-.5A.75.75 0 013 9.75zM7.75 9a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM7 6.75A.75.75 0 017.75 6h.5a.75.75 0 010 1.5h-.5A.75.75 0 017 6.75zM7.75 3a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M6.25 12a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM5.5 9.25a.75.75 0 01.75-.75h.5a.75.75 0 010 1.5h-.5a.75.75 0 01-.75-.75zM6.25 5a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM9 12.75a.75.75 0 01.75-.75h.5a.75.75 0 010 1.5h-.5a.75.75 0 01-.75-.75zm.75-4.25a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zM9 5.75A.75.75 0 019.75 5h.5a.75.75 0 010 1.5h-.5A.75.75 0 019 5.75zM13.25 12a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5zm-.75-2.75a.75.75 0 01.75-.75h.5a.75.75 0 010 1.5h-.5a.75.75 0 01-.75-.75zM13.25 5a.75.75 0 000 1.5h.5a.75.75 0 000-1.5h-.5z\"></path><path fill-rule=\"evenodd\" d=\"M2 20a2 2 0 002 2h3.75a.75.75 0 00.75-.75V19h3v2.25c0 .414.336.75.75.75H16c.092 0 .183-.006.272-.018a.753.753 0 00.166.018H20a2 2 0 002-2v-8a2 2 0 00-.8-1.6l-.5-.375a.75.75 0 00-.9 1.2l.5.375a.5.5 0 01.2.4v8a.5.5 0 01-.5.5h-2.063c.041-.16.063-.327.063-.5V3a2 2 0 00-2-2H4a2 2 0 00-2 2v17zm2 .5a.5.5 0 01-.5-.5V3a.5.5 0 01.5-.5h12a.5.5 0 01.5.5v17a.5.5 0 01-.5.5h-3v-2.25a.75.75 0 00-.75-.75h-4.5a.75.75 0 00-.75.75v2.25H4z\"></path>" } };
|
|
66
66
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -62,7 +62,7 @@ var _extends = Object.assign || function (target) {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
function RepoLockedIcon(props) {
|
|
65
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M1 2.5A2.5 2.5 0 013.5 0h8.75a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0V1.5h-8a1 1 0 00-1 1v6.708A2.492 2.492 0 013.5 9h2.75a.75.75 0 010 1.5H3.5a1 1 0 100 2h2.75a.75.75 0 010 1.5H3.5A2.5 2.5 0 011 11.5v-9z\"></path><path fill-rule=\"evenodd\" d=\"M9 10.168V9a3 3 0 116 0v1.168c.591.281 1 .884 1 1.582v2.5A1.75 1.75 0 0114.25 16h-4.5A1.75 1.75 0 018 14.25v-2.5c0-.698.409-1.3 1-1.582zM13.5 10h-3V9a1.5 1.5 0 013 0v1z\"></path>" } };
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M1 2.5A2.5 2.5 0 013.5 0h8.75a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0V1.5h-8a1 1 0 00-1 1v6.708A2.492 2.492 0 013.5 9h2.75a.75.75 0 010 1.5H3.5a1 1 0 100 2h2.75a.75.75 0 010 1.5H3.5A2.5 2.5 0 011 11.5v-9z\"></path><path fill-rule=\"evenodd\" d=\"M9 10.168V9a3 3 0 116 0v1.168c.591.281 1 .884 1 1.582v2.5A1.75 1.75 0 0114.25 16h-4.5A1.75 1.75 0 018 14.25v-2.5c0-.698.409-1.3 1-1.582zM13.5 10h-3V9a1.5 1.5 0 013 0v1z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M2 2.75A2.75 2.75 0 014.75 0h14.5a.75.75 0 01.75.75v8a.75.75 0 01-1.5 0V1.5H4.75c-.69 0-1.25.56-1.25 1.25v12.651A2.987 2.987 0 015 15h6.25a.75.75 0 010 1.5H5A1.5 1.5 0 003.5 18v1.25c0 .69.56 1.25 1.25 1.25h6a.75.75 0 010 1.5h-6A2.75 2.75 0 012 19.25V2.75z\"></path><path fill-rule=\"evenodd\" d=\"M15 14.5V16h-.25A1.75 1.75 0 0013 17.75v4.5c0 .966.784 1.75 1.75 1.75h7.5A1.75 1.75 0 0024 22.25v-4.5A1.75 1.75 0 0022.25 16H22v-1.5a3.5 3.5 0 10-7 0zm3.5-2a2 2 0 00-2 2V16h4v-1.5a2 2 0 00-2-2z\"></path>" } };
|
|
66
66
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -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 SlidersIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M15 2.75a.75.75 0 01-.75.75h-4a.75.75 0 010-1.5h4a.75.75 0 01.75.75zm-8.5.75v1.25a.75.75 0 001.5 0v-4a.75.75 0 00-1.5 0V2H1.75a.75.75 0 000 1.5H6.5zm1.25 5.25a.75.75 0 000-1.5h-6a.75.75 0 000 1.5h6zM15 8a.75.75 0 01-.75.75H11.5V10a.75.75 0 11-1.5 0V6a.75.75 0 011.5 0v1.25h2.75A.75.75 0 0115 8zm-9 5.25v-2a.75.75 0 00-1.5 0v1.25H1.75a.75.75 0 000 1.5H4.5v1.25a.75.75 0 001.5 0v-2zm9 0a.75.75 0 01-.75.75h-6a.75.75 0 010-1.5h6a.75.75 0 01.75.75z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
SlidersIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-sliders',
|
|
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 StyledSlidersIcon = styled(SlidersIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledSlidersIcon;
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,8 @@ export const ChevronUpIcon: Icon;
|
|
|
56
56
|
export const CircleIcon: Icon;
|
|
57
57
|
export const CircleSlashIcon: Icon;
|
|
58
58
|
export const ClockIcon: Icon;
|
|
59
|
+
export const CloudIcon: Icon;
|
|
60
|
+
export const CloudOfflineIcon: Icon;
|
|
59
61
|
export const CodeIcon: Icon;
|
|
60
62
|
export const CodeOfConductIcon: Icon;
|
|
61
63
|
export const CodeReviewIcon: Icon;
|
|
@@ -68,6 +70,9 @@ export const CommentIcon: Icon;
|
|
|
68
70
|
export const CommentDiscussionIcon: Icon;
|
|
69
71
|
export const CommitIcon: Icon;
|
|
70
72
|
export const ContainerIcon: Icon;
|
|
73
|
+
export const CopilotIcon: Icon;
|
|
74
|
+
export const CopilotErrorIcon: Icon;
|
|
75
|
+
export const CopilotWarningIcon: Icon;
|
|
71
76
|
export const CopyIcon: Icon;
|
|
72
77
|
export const CpuIcon: Icon;
|
|
73
78
|
export const CreditCardIcon: Icon;
|
|
@@ -105,13 +110,17 @@ export const FeedStarIcon: Icon;
|
|
|
105
110
|
export const FeedTagIcon: Icon;
|
|
106
111
|
export const FeedTrophyIcon: Icon;
|
|
107
112
|
export const FileIcon: Icon;
|
|
113
|
+
export const FileAddedIcon: Icon;
|
|
108
114
|
export const FileBadgeIcon: Icon;
|
|
109
115
|
export const FileBinaryIcon: Icon;
|
|
110
116
|
export const FileCodeIcon: Icon;
|
|
111
117
|
export const FileDiffIcon: Icon;
|
|
112
118
|
export const FileDirectoryIcon: Icon;
|
|
113
119
|
export const FileDirectoryFillIcon: Icon;
|
|
120
|
+
export const FileDirectoryOpenFillIcon: Icon;
|
|
114
121
|
export const FileMediaIcon: Icon;
|
|
122
|
+
export const FileMovedIcon: Icon;
|
|
123
|
+
export const FileRemovedIcon: Icon;
|
|
115
124
|
export const FileSubmoduleIcon: Icon;
|
|
116
125
|
export const FileSymlinkFileIcon: Icon;
|
|
117
126
|
export const FileZipIcon: Icon;
|
|
@@ -235,6 +244,7 @@ export const SignInIcon: Icon;
|
|
|
235
244
|
export const SignOutIcon: Icon;
|
|
236
245
|
export const SingleSelectIcon: Icon;
|
|
237
246
|
export const SkipIcon: Icon;
|
|
247
|
+
export const SlidersIcon: Icon;
|
|
238
248
|
export const SmileyIcon: Icon;
|
|
239
249
|
export const SortAscIcon: Icon;
|
|
240
250
|
export const SortDescIcon: Icon;
|
package/dist/index.esm.js
CHANGED
|
@@ -40,6 +40,8 @@ export { default as ChevronUpIcon } from './icons/ChevronUpIcon';
|
|
|
40
40
|
export { default as CircleIcon } from './icons/CircleIcon';
|
|
41
41
|
export { default as CircleSlashIcon } from './icons/CircleSlashIcon';
|
|
42
42
|
export { default as ClockIcon } from './icons/ClockIcon';
|
|
43
|
+
export { default as CloudIcon } from './icons/CloudIcon';
|
|
44
|
+
export { default as CloudOfflineIcon } from './icons/CloudOfflineIcon';
|
|
43
45
|
export { default as CodeIcon } from './icons/CodeIcon';
|
|
44
46
|
export { default as CodeOfConductIcon } from './icons/CodeOfConductIcon';
|
|
45
47
|
export { default as CodeReviewIcon } from './icons/CodeReviewIcon';
|
|
@@ -52,6 +54,9 @@ export { default as CommentIcon } from './icons/CommentIcon';
|
|
|
52
54
|
export { default as CommentDiscussionIcon } from './icons/CommentDiscussionIcon';
|
|
53
55
|
export { default as CommitIcon } from './icons/CommitIcon';
|
|
54
56
|
export { default as ContainerIcon } from './icons/ContainerIcon';
|
|
57
|
+
export { default as CopilotIcon } from './icons/CopilotIcon';
|
|
58
|
+
export { default as CopilotErrorIcon } from './icons/CopilotErrorIcon';
|
|
59
|
+
export { default as CopilotWarningIcon } from './icons/CopilotWarningIcon';
|
|
55
60
|
export { default as CopyIcon } from './icons/CopyIcon';
|
|
56
61
|
export { default as CpuIcon } from './icons/CpuIcon';
|
|
57
62
|
export { default as CreditCardIcon } from './icons/CreditCardIcon';
|
|
@@ -89,13 +94,17 @@ export { default as FeedStarIcon } from './icons/FeedStarIcon';
|
|
|
89
94
|
export { default as FeedTagIcon } from './icons/FeedTagIcon';
|
|
90
95
|
export { default as FeedTrophyIcon } from './icons/FeedTrophyIcon';
|
|
91
96
|
export { default as FileIcon } from './icons/FileIcon';
|
|
97
|
+
export { default as FileAddedIcon } from './icons/FileAddedIcon';
|
|
92
98
|
export { default as FileBadgeIcon } from './icons/FileBadgeIcon';
|
|
93
99
|
export { default as FileBinaryIcon } from './icons/FileBinaryIcon';
|
|
94
100
|
export { default as FileCodeIcon } from './icons/FileCodeIcon';
|
|
95
101
|
export { default as FileDiffIcon } from './icons/FileDiffIcon';
|
|
96
102
|
export { default as FileDirectoryIcon } from './icons/FileDirectoryIcon';
|
|
97
103
|
export { default as FileDirectoryFillIcon } from './icons/FileDirectoryFillIcon';
|
|
104
|
+
export { default as FileDirectoryOpenFillIcon } from './icons/FileDirectoryOpenFillIcon';
|
|
98
105
|
export { default as FileMediaIcon } from './icons/FileMediaIcon';
|
|
106
|
+
export { default as FileMovedIcon } from './icons/FileMovedIcon';
|
|
107
|
+
export { default as FileRemovedIcon } from './icons/FileRemovedIcon';
|
|
99
108
|
export { default as FileSubmoduleIcon } from './icons/FileSubmoduleIcon';
|
|
100
109
|
export { default as FileSymlinkFileIcon } from './icons/FileSymlinkFileIcon';
|
|
101
110
|
export { default as FileZipIcon } from './icons/FileZipIcon';
|
|
@@ -219,6 +228,7 @@ export { default as SignInIcon } from './icons/SignInIcon';
|
|
|
219
228
|
export { default as SignOutIcon } from './icons/SignOutIcon';
|
|
220
229
|
export { default as SingleSelectIcon } from './icons/SingleSelectIcon';
|
|
221
230
|
export { default as SkipIcon } from './icons/SkipIcon';
|
|
231
|
+
export { default as SlidersIcon } from './icons/SlidersIcon';
|
|
222
232
|
export { default as SmileyIcon } from './icons/SmileyIcon';
|
|
223
233
|
export { default as SortAscIcon } from './icons/SortAscIcon';
|
|
224
234
|
export { default as SortDescIcon } from './icons/SortDescIcon';
|