@primer/styled-octicons 17.3.0 → 17.4.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/CacheIcon.js +87 -0
- package/dist/icons/CheckboxIcon.js +87 -0
- package/dist/icons/CommandPaletteIcon.js +87 -0
- package/dist/icons/GitMergeQueueIcon.js +87 -0
- package/dist/icons/PaperclipIcon.js +87 -0
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/TasklistIcon.js +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.esm.js +5 -0
- package/dist/index.umd.js +82 -2
- 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 CacheIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 5.724c.241.15.503.286.779.407C4.525 6.68 6.195 7 8 7c1.805 0 3.475-.32 4.722-.869.622-.274 1.172-.62 1.578-1.04.408-.426.7-.965.7-1.591s-.292-1.165-.7-1.59c-.406-.422-.956-.767-1.579-1.041C11.476.32 9.806 0 8 0 6.195 0 4.525.32 3.279.869c-.623.274-1.173.62-1.579 1.04-.408.426-.7.965-.7 1.591v9c0 .626.292 1.165.7 1.59.406.422.956.767 1.579 1.041C4.525 15.68 6.195 16 8 16c.45 0 .89-.02 1.317-.058a.75.75 0 10-.134-1.494c-.381.034-.777.052-1.183.052-1.647 0-3.102-.295-4.117-.742-.51-.224-.874-.47-1.101-.707-.224-.233-.282-.418-.282-.551v-2.276c.164.102.334.196.507.28 1.102.543 2.582.89 4.204.975a.75.75 0 00.078-1.498c-1.476-.077-2.746-.392-3.62-.822C2.738 8.7 2.5 8.248 2.5 8V5.724zm0-2.224c0-.133.058-.318.282-.55.227-.237.592-.484 1.1-.708C4.899 1.795 6.354 1.5 8 1.5c1.647 0 3.102.295 4.117.742.51.224.874.47 1.101.707.224.233.282.418.282.551 0 .133-.058.318-.282.55-.227.237-.592.484-1.1.708C11.101 5.205 9.646 5.5 8 5.5c-1.647 0-3.102-.295-4.117-.742-.51-.224-.874-.47-1.101-.707-.224-.233-.282-.418-.282-.551z\"></path><path d=\"M14.49 7.582a.375.375 0 00-.66-.313l-3.625 4.625a.375.375 0 00.295.606h2.127l-.619 2.922a.375.375 0 00.666.304l3.125-4.125A.375.375 0 0015.5 11h-1.778l.769-3.418z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
CacheIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-cache',
|
|
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 StyledCacheIcon = styled(CacheIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledCacheIcon;
|
|
@@ -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 CheckboxIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 2.75a.25.25 0 01.25-.25h10.5a.25.25 0 01.25.25v10.5a.25.25 0 01-.25.25H2.75a.25.25 0 01-.25-.25V2.75zM2.75 1A1.75 1.75 0 001 2.75v10.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0015 13.25V2.75A1.75 1.75 0 0013.25 1H2.75zm9.03 5.28a.75.75 0 00-1.06-1.06L6.75 9.19 5.28 7.72a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l4.5-4.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M17.28 9.28a.75.75 0 00-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l6.5-6.5z\"></path><path fill-rule=\"evenodd\" d=\"M3.75 2A1.75 1.75 0 002 3.75v16.5c0 .966.784 1.75 1.75 1.75h16.5A1.75 1.75 0 0022 20.25V3.75A1.75 1.75 0 0020.25 2H3.75zM3.5 3.75a.25.25 0 01.25-.25h16.5a.25.25 0 01.25.25v16.5a.25.25 0 01-.25.25H3.75a.25.25 0 01-.25-.25V3.75z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
CheckboxIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-checkbox',
|
|
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 StyledCheckboxIcon = styled(CheckboxIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledCheckboxIcon;
|
|
@@ -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 CommandPaletteIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M6.354 8.04l-4.773 4.773a.75.75 0 101.061 1.06L7.945 8.57a.75.75 0 000-1.06L2.642 2.206a.75.75 0 00-1.06 1.061L6.353 8.04zM8.75 11.5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M3.045 18.894L9.94 12 3.045 5.106a.75.75 0 011.06-1.061l7.425 7.425a.75.75 0 010 1.06l-7.424 7.425a.75.75 0 01-1.061-1.06zm8.205.606a.75.75 0 000 1.5h9.5a.75.75 0 000-1.5h-9.5z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
CommandPaletteIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-command-palette',
|
|
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 StyledCommandPaletteIcon = styled(CommandPaletteIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledCommandPaletteIcon;
|
|
@@ -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 GitMergeQueueIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M3.75 4.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z\"></path><path fill-rule=\"evenodd\" d=\"M3 7.75a.75.75 0 011.5 0v2.878a2.251 2.251 0 11-1.5 0V7.75zm.75 5.75a.75.75 0 100-1.5.75.75 0 000 1.5z\"></path><path d=\"M8.75 5.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z\"></path><path fill-rule=\"evenodd\" d=\"M14.5 8.25a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-1.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
GitMergeQueueIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-git-merge-queue',
|
|
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 StyledGitMergeQueueIcon = styled(GitMergeQueueIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledGitMergeQueueIcon;
|
|
@@ -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 PaperclipIcon(props) {
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M12.212 3.02a1.75 1.75 0 00-2.478.003l-5.83 5.83a3.007 3.007 0 00-.88 2.127c0 .795.315 1.551.88 2.116.567.567 1.333.89 2.126.89.79 0 1.548-.321 2.116-.89l5.48-5.48a.75.75 0 011.061 1.06l-5.48 5.48a4.494 4.494 0 01-3.177 1.33c-1.2 0-2.345-.487-3.187-1.33a4.485 4.485 0 01-1.32-3.177c0-1.195.475-2.341 1.32-3.186l5.83-5.83a3.25 3.25 0 015.553 2.297c0 .863-.343 1.691-.953 2.301L7.439 12.39a2.01 2.01 0 01-1.416.593 2 2 0 01-1.412-.593 1.991 1.991 0 010-2.828l5.48-5.48a.75.75 0 011.06 1.06l-5.48 5.48a.491.491 0 000 .707.5.5 0 00.352.154.509.509 0 00.356-.154l5.833-5.827a1.755 1.755 0 000-2.481z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M19.187 3.588a2.75 2.75 0 00-3.889 0L5.575 13.31a4.5 4.5 0 106.364 6.364l8.662-8.662a.75.75 0 011.061 1.06L13 20.735a6 6 0 01-8.485-8.485l9.723-9.723a4.25 4.25 0 116.01 6.01l-9.193 9.193a2.638 2.638 0 01-1.858.779 2.626 2.626 0 01-1.854-.779c-.196-.196-.338-.47-.43-.726a2.825 2.825 0 01-.168-.946c0-.7.284-1.373.775-1.864l8.132-8.131a.75.75 0 111.06 1.06l-8.131 8.132a1.144 1.144 0 00-.336.803 1.326 1.326 0 00.146.587c.01.018.018.028.02.032.22.215.501.332.786.332.29 0 .58-.121.798-.34l9.192-9.192a2.75 2.75 0 000-3.89z\"></path>" } };
|
|
66
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
PaperclipIcon.defaultProps = {
|
|
70
|
+
className: 'octicon octicon-paperclip',
|
|
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 StyledPaperclipIcon = styled(PaperclipIcon)(COMMON, sx);
|
|
86
|
+
|
|
87
|
+
export default StyledPaperclipIcon;
|
package/dist/icons/TableIcon.js
CHANGED
|
@@ -62,7 +62,7 @@ var _extends = Object.assign || function (target) {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
function TableIcon(props) {
|
|
65
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zM1.5 6.5v7.75c0 .138.112.25.25.25H5v-8H1.5zM5 5H1.5V1.75a.25.25 0 01.25-.25H5V5zm1.5 1.5v8h7.75a.25.25 0 00.25-.25V6.5h-8zm8-1.5h-8V1.5h7.75a.25.25 0 01.25.25V5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0120.25 22H3.75A1.75 1.75 0 012 20.25V3.75zM3.5 9v11.25c0 .138.112.25.25.25H7.5V9h-4zm4-1.5h-4V3.75a.25.25 0 01.25-.25H7.5v4zM9 9v11.5h11.25a.25.25 0 00.25-.25V9H9zm11.5-1.5H9v-4h11.25a.25.25 0 01.25.25V7.5z\"></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 TasklistIcon(props) {
|
|
65
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5
|
|
65
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 3.5v3h3v-3h-3zM2 2a1 1 0 00-1 1v4a1 1 0 001 1h4a1 1 0 001-1V3a1 1 0 00-1-1H2zm4.655 8.595a.75.75 0 010 1.06L4.03 14.28a.75.75 0 01-1.06 0l-1.5-1.5a.75.75 0 111.06-1.06l.97.97 2.095-2.095a.75.75 0 011.06 0zM9.75 2.5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5zm0 5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5zm0 5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M3 6a1 1 0 011-1h5a1 1 0 011 1v5a1 1 0 01-1 1H4a1 1 0 01-1-1V6zm1.5 4.5v-4h4v4h-4z\"></path><path d=\"M12.75 5.5a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zm0 6a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zm0 6a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zm-2.97-2.53a.75.75 0 010 1.06l-3.5 3.5a.75.75 0 01-1.06 0l-2-2a.75.75 0 111.06-1.06l1.47 1.47 2.97-2.97a.75.75 0 011.06 0z\"></path>" } };
|
|
66
66
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
67
67
|
}
|
|
68
68
|
|
package/dist/index.d.ts
CHANGED
|
@@ -44,10 +44,12 @@ export const BriefcaseIcon: Icon;
|
|
|
44
44
|
export const BroadcastIcon: Icon;
|
|
45
45
|
export const BrowserIcon: Icon;
|
|
46
46
|
export const BugIcon: Icon;
|
|
47
|
+
export const CacheIcon: Icon;
|
|
47
48
|
export const CalendarIcon: Icon;
|
|
48
49
|
export const CheckIcon: Icon;
|
|
49
50
|
export const CheckCircleIcon: Icon;
|
|
50
51
|
export const CheckCircleFillIcon: Icon;
|
|
52
|
+
export const CheckboxIcon: Icon;
|
|
51
53
|
export const ChecklistIcon: Icon;
|
|
52
54
|
export const ChevronDownIcon: Icon;
|
|
53
55
|
export const ChevronLeftIcon: Icon;
|
|
@@ -66,6 +68,7 @@ export const CodescanIcon: Icon;
|
|
|
66
68
|
export const CodescanCheckmarkIcon: Icon;
|
|
67
69
|
export const CodespacesIcon: Icon;
|
|
68
70
|
export const ColumnsIcon: Icon;
|
|
71
|
+
export const CommandPaletteIcon: Icon;
|
|
69
72
|
export const CommentIcon: Icon;
|
|
70
73
|
export const CommentDiscussionIcon: Icon;
|
|
71
74
|
export const CommitIcon: Icon;
|
|
@@ -135,6 +138,7 @@ export const GitBranchIcon: Icon;
|
|
|
135
138
|
export const GitCommitIcon: Icon;
|
|
136
139
|
export const GitCompareIcon: Icon;
|
|
137
140
|
export const GitMergeIcon: Icon;
|
|
141
|
+
export const GitMergeQueueIcon: Icon;
|
|
138
142
|
export const GitPullRequestIcon: Icon;
|
|
139
143
|
export const GitPullRequestClosedIcon: Icon;
|
|
140
144
|
export const GitPullRequestDraftIcon: Icon;
|
|
@@ -199,6 +203,7 @@ export const PackageDependenciesIcon: Icon;
|
|
|
199
203
|
export const PackageDependentsIcon: Icon;
|
|
200
204
|
export const PaintbrushIcon: Icon;
|
|
201
205
|
export const PaperAirplaneIcon: Icon;
|
|
206
|
+
export const PaperclipIcon: Icon;
|
|
202
207
|
export const PasteIcon: Icon;
|
|
203
208
|
export const PencilIcon: Icon;
|
|
204
209
|
export const PeopleIcon: Icon;
|
package/dist/index.esm.js
CHANGED
|
@@ -28,10 +28,12 @@ export { default as BriefcaseIcon } from './icons/BriefcaseIcon';
|
|
|
28
28
|
export { default as BroadcastIcon } from './icons/BroadcastIcon';
|
|
29
29
|
export { default as BrowserIcon } from './icons/BrowserIcon';
|
|
30
30
|
export { default as BugIcon } from './icons/BugIcon';
|
|
31
|
+
export { default as CacheIcon } from './icons/CacheIcon';
|
|
31
32
|
export { default as CalendarIcon } from './icons/CalendarIcon';
|
|
32
33
|
export { default as CheckIcon } from './icons/CheckIcon';
|
|
33
34
|
export { default as CheckCircleIcon } from './icons/CheckCircleIcon';
|
|
34
35
|
export { default as CheckCircleFillIcon } from './icons/CheckCircleFillIcon';
|
|
36
|
+
export { default as CheckboxIcon } from './icons/CheckboxIcon';
|
|
35
37
|
export { default as ChecklistIcon } from './icons/ChecklistIcon';
|
|
36
38
|
export { default as ChevronDownIcon } from './icons/ChevronDownIcon';
|
|
37
39
|
export { default as ChevronLeftIcon } from './icons/ChevronLeftIcon';
|
|
@@ -50,6 +52,7 @@ export { default as CodescanIcon } from './icons/CodescanIcon';
|
|
|
50
52
|
export { default as CodescanCheckmarkIcon } from './icons/CodescanCheckmarkIcon';
|
|
51
53
|
export { default as CodespacesIcon } from './icons/CodespacesIcon';
|
|
52
54
|
export { default as ColumnsIcon } from './icons/ColumnsIcon';
|
|
55
|
+
export { default as CommandPaletteIcon } from './icons/CommandPaletteIcon';
|
|
53
56
|
export { default as CommentIcon } from './icons/CommentIcon';
|
|
54
57
|
export { default as CommentDiscussionIcon } from './icons/CommentDiscussionIcon';
|
|
55
58
|
export { default as CommitIcon } from './icons/CommitIcon';
|
|
@@ -119,6 +122,7 @@ export { default as GitBranchIcon } from './icons/GitBranchIcon';
|
|
|
119
122
|
export { default as GitCommitIcon } from './icons/GitCommitIcon';
|
|
120
123
|
export { default as GitCompareIcon } from './icons/GitCompareIcon';
|
|
121
124
|
export { default as GitMergeIcon } from './icons/GitMergeIcon';
|
|
125
|
+
export { default as GitMergeQueueIcon } from './icons/GitMergeQueueIcon';
|
|
122
126
|
export { default as GitPullRequestIcon } from './icons/GitPullRequestIcon';
|
|
123
127
|
export { default as GitPullRequestClosedIcon } from './icons/GitPullRequestClosedIcon';
|
|
124
128
|
export { default as GitPullRequestDraftIcon } from './icons/GitPullRequestDraftIcon';
|
|
@@ -183,6 +187,7 @@ export { default as PackageDependenciesIcon } from './icons/PackageDependenciesI
|
|
|
183
187
|
export { default as PackageDependentsIcon } from './icons/PackageDependentsIcon';
|
|
184
188
|
export { default as PaintbrushIcon } from './icons/PaintbrushIcon';
|
|
185
189
|
export { default as PaperAirplaneIcon } from './icons/PaperAirplaneIcon';
|
|
190
|
+
export { default as PaperclipIcon } from './icons/PaperclipIcon';
|
|
186
191
|
export { default as PasteIcon } from './icons/PasteIcon';
|
|
187
192
|
export { default as PencilIcon } from './icons/PencilIcon';
|
|
188
193
|
export { default as PeopleIcon } from './icons/PeopleIcon';
|
package/dist/index.umd.js
CHANGED
|
@@ -396,6 +396,17 @@
|
|
|
396
396
|
verticalAlign: 'text-bottom'
|
|
397
397
|
};
|
|
398
398
|
|
|
399
|
+
function CacheIcon(props) {
|
|
400
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 5.724c.241.15.503.286.779.407C4.525 6.68 6.195 7 8 7c1.805 0 3.475-.32 4.722-.869.622-.274 1.172-.62 1.578-1.04.408-.426.7-.965.7-1.591s-.292-1.165-.7-1.59c-.406-.422-.956-.767-1.579-1.041C11.476.32 9.806 0 8 0 6.195 0 4.525.32 3.279.869c-.623.274-1.173.62-1.579 1.04-.408.426-.7.965-.7 1.591v9c0 .626.292 1.165.7 1.59.406.422.956.767 1.579 1.041C4.525 15.68 6.195 16 8 16c.45 0 .89-.02 1.317-.058a.75.75 0 10-.134-1.494c-.381.034-.777.052-1.183.052-1.647 0-3.102-.295-4.117-.742-.51-.224-.874-.47-1.101-.707-.224-.233-.282-.418-.282-.551v-2.276c.164.102.334.196.507.28 1.102.543 2.582.89 4.204.975a.75.75 0 00.078-1.498c-1.476-.077-2.746-.392-3.62-.822C2.738 8.7 2.5 8.248 2.5 8V5.724zm0-2.224c0-.133.058-.318.282-.55.227-.237.592-.484 1.1-.708C4.899 1.795 6.354 1.5 8 1.5c1.647 0 3.102.295 4.117.742.51.224.874.47 1.101.707.224.233.282.418.282.551 0 .133-.058.318-.282.55-.227.237-.592.484-1.1.708C11.101 5.205 9.646 5.5 8 5.5c-1.647 0-3.102-.295-4.117-.742-.51-.224-.874-.47-1.101-.707-.224-.233-.282-.418-.282-.551z\"></path><path d=\"M14.49 7.582a.375.375 0 00-.66-.313l-3.625 4.625a.375.375 0 00.295.606h2.127l-.619 2.922a.375.375 0 00.666.304l3.125-4.125A.375.375 0 0015.5 11h-1.778l.769-3.418z\"></path>" } };
|
|
401
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
CacheIcon.defaultProps = {
|
|
405
|
+
className: 'octicon octicon-cache',
|
|
406
|
+
size: 16,
|
|
407
|
+
verticalAlign: 'text-bottom'
|
|
408
|
+
};
|
|
409
|
+
|
|
399
410
|
function CalendarIcon(props) {
|
|
400
411
|
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M4.75 0a.75.75 0 01.75.75V2h5V.75a.75.75 0 011.5 0V2h1.25c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0113.25 16H2.75A1.75 1.75 0 011 14.25V3.75C1 2.784 1.784 2 2.75 2H4V.75A.75.75 0 014.75 0zm0 3.5h8.5a.25.25 0 01.25.25V6h-11V3.75a.25.25 0 01.25-.25h2zm-2.25 4v6.75c0 .138.112.25.25.25h10.5a.25.25 0 00.25-.25V7.5h-11z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M6.75 0a.75.75 0 01.75.75V3h9V.75a.75.75 0 011.5 0V3h2.75c.966 0 1.75.784 1.75 1.75v16a1.75 1.75 0 01-1.75 1.75H3.25a1.75 1.75 0 01-1.75-1.75v-16C1.5 3.784 2.284 3 3.25 3H6V.75A.75.75 0 016.75 0zm-3.5 4.5a.25.25 0 00-.25.25V8h18V4.75a.25.25 0 00-.25-.25H3.25zM21 9.5H3v11.25c0 .138.112.25.25.25h17.5a.25.25 0 00.25-.25V9.5z\"></path>" } };
|
|
401
412
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
@@ -440,6 +451,17 @@
|
|
|
440
451
|
verticalAlign: 'text-bottom'
|
|
441
452
|
};
|
|
442
453
|
|
|
454
|
+
function CheckboxIcon(props) {
|
|
455
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 2.75a.25.25 0 01.25-.25h10.5a.25.25 0 01.25.25v10.5a.25.25 0 01-.25.25H2.75a.25.25 0 01-.25-.25V2.75zM2.75 1A1.75 1.75 0 001 2.75v10.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0015 13.25V2.75A1.75 1.75 0 0013.25 1H2.75zm9.03 5.28a.75.75 0 00-1.06-1.06L6.75 9.19 5.28 7.72a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l4.5-4.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M17.28 9.28a.75.75 0 00-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l6.5-6.5z\"></path><path fill-rule=\"evenodd\" d=\"M3.75 2A1.75 1.75 0 002 3.75v16.5c0 .966.784 1.75 1.75 1.75h16.5A1.75 1.75 0 0022 20.25V3.75A1.75 1.75 0 0020.25 2H3.75zM3.5 3.75a.25.25 0 01.25-.25h16.5a.25.25 0 01.25.25v16.5a.25.25 0 01-.25.25H3.75a.25.25 0 01-.25-.25V3.75z\"></path>" } };
|
|
456
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
CheckboxIcon.defaultProps = {
|
|
460
|
+
className: 'octicon octicon-checkbox',
|
|
461
|
+
size: 16,
|
|
462
|
+
verticalAlign: 'text-bottom'
|
|
463
|
+
};
|
|
464
|
+
|
|
443
465
|
function ChecklistIcon(props) {
|
|
444
466
|
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 1.75a.25.25 0 01.25-.25h8.5a.25.25 0 01.25.25v7.736a.75.75 0 101.5 0V1.75A1.75 1.75 0 0011.25 0h-8.5A1.75 1.75 0 001 1.75v11.5c0 .966.784 1.75 1.75 1.75h3.17a.75.75 0 000-1.5H2.75a.25.25 0 01-.25-.25V1.75zM4.75 4a.75.75 0 000 1.5h4.5a.75.75 0 000-1.5h-4.5zM4 7.75A.75.75 0 014.75 7h2a.75.75 0 010 1.5h-2A.75.75 0 014 7.75zm11.774 3.537a.75.75 0 00-1.048-1.074L10.7 14.145 9.281 12.72a.75.75 0 00-1.062 1.058l1.943 1.95a.75.75 0 001.055.008l4.557-4.45z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M3.5 3.75a.25.25 0 01.25-.25h13.5a.25.25 0 01.25.25v10a.75.75 0 001.5 0v-10A1.75 1.75 0 0017.25 2H3.75A1.75 1.75 0 002 3.75v16.5c0 .966.784 1.75 1.75 1.75h7a.75.75 0 000-1.5h-7a.25.25 0 01-.25-.25V3.75z\"></path><path d=\"M6.25 7a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm-.75 4.75a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5h-4.5a.75.75 0 01-.75-.75zm16.28 4.53a.75.75 0 10-1.06-1.06l-4.97 4.97-1.97-1.97a.75.75 0 10-1.06 1.06l2.5 2.5a.75.75 0 001.06 0l5.5-5.5z\"></path>" } };
|
|
445
467
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
@@ -638,6 +660,17 @@
|
|
|
638
660
|
verticalAlign: 'text-bottom'
|
|
639
661
|
};
|
|
640
662
|
|
|
663
|
+
function CommandPaletteIcon(props) {
|
|
664
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M6.354 8.04l-4.773 4.773a.75.75 0 101.061 1.06L7.945 8.57a.75.75 0 000-1.06L2.642 2.206a.75.75 0 00-1.06 1.061L6.353 8.04zM8.75 11.5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5z\"></path>" }, "24": { "width": 24, "path": "<path d=\"M3.045 18.894L9.94 12 3.045 5.106a.75.75 0 011.06-1.061l7.425 7.425a.75.75 0 010 1.06l-7.424 7.425a.75.75 0 01-1.061-1.06zm8.205.606a.75.75 0 000 1.5h9.5a.75.75 0 000-1.5h-9.5z\"></path>" } };
|
|
665
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
CommandPaletteIcon.defaultProps = {
|
|
669
|
+
className: 'octicon octicon-command-palette',
|
|
670
|
+
size: 16,
|
|
671
|
+
verticalAlign: 'text-bottom'
|
|
672
|
+
};
|
|
673
|
+
|
|
641
674
|
function CommentIcon(props) {
|
|
642
675
|
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.75 2.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h2a.75.75 0 01.75.75v2.19l2.72-2.72a.75.75 0 01.53-.22h4.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25H2.75zM1 2.75C1 1.784 1.784 1 2.75 1h10.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0113.25 12H9.06l-2.573 2.573A1.457 1.457 0 014 13.543V12H2.75A1.75 1.75 0 011 10.25v-7.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M3.25 4a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25h2.5a.75.75 0 01.75.75v3.19l3.72-3.72a.75.75 0 01.53-.22h10a.25.25 0 00.25-.25V4.25a.25.25 0 00-.25-.25H3.25zm-1.75.25c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v12.5a1.75 1.75 0 01-1.75 1.75h-9.69l-3.573 3.573A1.457 1.457 0 015 21.043V18.5H3.25a1.75 1.75 0 01-1.75-1.75V4.25z\"></path>" } };
|
|
643
676
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
@@ -1397,6 +1430,17 @@
|
|
|
1397
1430
|
verticalAlign: 'text-bottom'
|
|
1398
1431
|
};
|
|
1399
1432
|
|
|
1433
|
+
function GitMergeQueueIcon(props) {
|
|
1434
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path d=\"M3.75 4.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z\"></path><path fill-rule=\"evenodd\" d=\"M3 7.75a.75.75 0 011.5 0v2.878a2.251 2.251 0 11-1.5 0V7.75zm.75 5.75a.75.75 0 100-1.5.75.75 0 000 1.5z\"></path><path d=\"M8.75 5.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z\"></path><path fill-rule=\"evenodd\" d=\"M14.5 8.25a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-1.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z\"></path>" } };
|
|
1435
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
GitMergeQueueIcon.defaultProps = {
|
|
1439
|
+
className: 'octicon octicon-git-merge-queue',
|
|
1440
|
+
size: 16,
|
|
1441
|
+
verticalAlign: 'text-bottom'
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1400
1444
|
function GitPullRequestIcon(props) {
|
|
1401
1445
|
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M4.75 3a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 4.75a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zM4.75 17.5a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zm17.75-1.75a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM16 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0z\"></path><path fill-rule=\"evenodd\" d=\"M4.75 7.25A.75.75 0 015.5 8v8A.75.75 0 014 16V8a.75.75 0 01.75-.75zm8.655-5.53a.75.75 0 010 1.06L12.185 4h4.065A3.75 3.75 0 0120 7.75v8.75a.75.75 0 01-1.5 0V7.75a2.25 2.25 0 00-2.25-2.25h-4.064l1.22 1.22a.75.75 0 01-1.061 1.06l-2.5-2.5a.75.75 0 010-1.06l2.5-2.5a.75.75 0 011.06 0z\"></path>" } };
|
|
1402
1446
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
@@ -2101,6 +2145,17 @@
|
|
|
2101
2145
|
verticalAlign: 'text-bottom'
|
|
2102
2146
|
};
|
|
2103
2147
|
|
|
2148
|
+
function PaperclipIcon(props) {
|
|
2149
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M12.212 3.02a1.75 1.75 0 00-2.478.003l-5.83 5.83a3.007 3.007 0 00-.88 2.127c0 .795.315 1.551.88 2.116.567.567 1.333.89 2.126.89.79 0 1.548-.321 2.116-.89l5.48-5.48a.75.75 0 011.061 1.06l-5.48 5.48a4.494 4.494 0 01-3.177 1.33c-1.2 0-2.345-.487-3.187-1.33a4.485 4.485 0 01-1.32-3.177c0-1.195.475-2.341 1.32-3.186l5.83-5.83a3.25 3.25 0 015.553 2.297c0 .863-.343 1.691-.953 2.301L7.439 12.39a2.01 2.01 0 01-1.416.593 2 2 0 01-1.412-.593 1.991 1.991 0 010-2.828l5.48-5.48a.75.75 0 011.06 1.06l-5.48 5.48a.491.491 0 000 .707.5.5 0 00.352.154.509.509 0 00.356-.154l5.833-5.827a1.755 1.755 0 000-2.481z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M19.187 3.588a2.75 2.75 0 00-3.889 0L5.575 13.31a4.5 4.5 0 106.364 6.364l8.662-8.662a.75.75 0 011.061 1.06L13 20.735a6 6 0 01-8.485-8.485l9.723-9.723a4.25 4.25 0 116.01 6.01l-9.193 9.193a2.638 2.638 0 01-1.858.779 2.626 2.626 0 01-1.854-.779c-.196-.196-.338-.47-.43-.726a2.825 2.825 0 01-.168-.946c0-.7.284-1.373.775-1.864l8.132-8.131a.75.75 0 111.06 1.06l-8.131 8.132a1.144 1.144 0 00-.336.803 1.326 1.326 0 00.146.587c.01.018.018.028.02.032.22.215.501.332.786.332.29 0 .58-.121.798-.34l9.192-9.192a2.75 2.75 0 000-3.89z\"></path>" } };
|
|
2150
|
+
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
PaperclipIcon.defaultProps = {
|
|
2154
|
+
className: 'octicon octicon-paperclip',
|
|
2155
|
+
size: 16,
|
|
2156
|
+
verticalAlign: 'text-bottom'
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2104
2159
|
function PasteIcon(props) {
|
|
2105
2160
|
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M5.962 2.513a.75.75 0 01-.475.949l-.816.272a.25.25 0 00-.171.237V21.25c0 .138.112.25.25.25h14.5a.25.25 0 00.25-.25V3.97a.25.25 0 00-.17-.236l-.817-.272a.75.75 0 01.474-1.424l.816.273A1.75 1.75 0 0121 3.97v17.28A1.75 1.75 0 0119.25 23H4.75A1.75 1.75 0 013 21.25V3.97a1.75 1.75 0 011.197-1.66l.816-.272a.75.75 0 01.949.475z\"></path><path fill-rule=\"evenodd\" d=\"M7 1.75C7 .784 7.784 0 8.75 0h6.5C16.216 0 17 .784 17 1.75v1.5A1.75 1.75 0 0115.25 5h-6.5A1.75 1.75 0 017 3.25v-1.5zm1.75-.25a.25.25 0 00-.25.25v1.5c0 .138.112.25.25.25h6.5a.25.25 0 00.25-.25v-1.5a.25.25 0 00-.25-.25h-6.5z\"></path>" } };
|
|
2106
2161
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
@@ -2784,7 +2839,7 @@
|
|
|
2784
2839
|
};
|
|
2785
2840
|
|
|
2786
2841
|
function TableIcon(props) {
|
|
2787
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.
|
|
2842
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zM1.5 6.5v7.75c0 .138.112.25.25.25H5v-8H1.5zM5 5H1.5V1.75a.25.25 0 01.25-.25H5V5zm1.5 1.5v8h7.75a.25.25 0 00.25-.25V6.5h-8zm8-1.5h-8V1.5h7.75a.25.25 0 01.25.25V5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0120.25 22H3.75A1.75 1.75 0 012 20.25V3.75zM3.5 9v11.25c0 .138.112.25.25.25H7.5V9h-4zm4-1.5h-4V3.75a.25.25 0 01.25-.25H7.5v4zM9 9v11.5h11.25a.25.25 0 00.25-.25V9H9zm11.5-1.5H9v-4h11.25a.25.25 0 01.25.25V7.5z\"></path>" } };
|
|
2788
2843
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
2789
2844
|
}
|
|
2790
2845
|
|
|
@@ -2806,7 +2861,7 @@
|
|
|
2806
2861
|
};
|
|
2807
2862
|
|
|
2808
2863
|
function TasklistIcon(props) {
|
|
2809
|
-
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5
|
|
2864
|
+
var svgDataByHeight = { "16": { "width": 16, "path": "<path fill-rule=\"evenodd\" d=\"M2.5 3.5v3h3v-3h-3zM2 2a1 1 0 00-1 1v4a1 1 0 001 1h4a1 1 0 001-1V3a1 1 0 00-1-1H2zm4.655 8.595a.75.75 0 010 1.06L4.03 14.28a.75.75 0 01-1.06 0l-1.5-1.5a.75.75 0 111.06-1.06l.97.97 2.095-2.095a.75.75 0 011.06 0zM9.75 2.5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5zm0 5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5zm0 5a.75.75 0 000 1.5h5.5a.75.75 0 000-1.5h-5.5z\"></path>" }, "24": { "width": 24, "path": "<path fill-rule=\"evenodd\" d=\"M3 6a1 1 0 011-1h5a1 1 0 011 1v5a1 1 0 01-1 1H4a1 1 0 01-1-1V6zm1.5 4.5v-4h4v4h-4z\"></path><path d=\"M12.75 5.5a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zm0 6a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zm0 6a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zm-2.97-2.53a.75.75 0 010 1.06l-3.5 3.5a.75.75 0 01-1.06 0l-2-2a.75.75 0 111.06-1.06l1.47 1.47 2.97-2.97a.75.75 0 011.06 0z\"></path>" } };
|
|
2810
2865
|
return React.createElement('svg', getSvgProps(_extends({}, props, { svgDataByHeight: svgDataByHeight })));
|
|
2811
2866
|
}
|
|
2812
2867
|
|
|
@@ -3254,6 +3309,10 @@
|
|
|
3254
3309
|
|
|
3255
3310
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3256
3311
|
|
|
3312
|
+
var StyledCacheIcon = styled(CacheIcon)(COMMON, sx);
|
|
3313
|
+
|
|
3314
|
+
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3315
|
+
|
|
3257
3316
|
var StyledCalendarIcon = styled(CalendarIcon)(COMMON, sx);
|
|
3258
3317
|
|
|
3259
3318
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
@@ -3270,6 +3329,10 @@
|
|
|
3270
3329
|
|
|
3271
3330
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3272
3331
|
|
|
3332
|
+
var StyledCheckboxIcon = styled(CheckboxIcon)(COMMON, sx);
|
|
3333
|
+
|
|
3334
|
+
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3335
|
+
|
|
3273
3336
|
var StyledChecklistIcon = styled(ChecklistIcon)(COMMON, sx);
|
|
3274
3337
|
|
|
3275
3338
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
@@ -3342,6 +3405,10 @@
|
|
|
3342
3405
|
|
|
3343
3406
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3344
3407
|
|
|
3408
|
+
var StyledCommandPaletteIcon = styled(CommandPaletteIcon)(COMMON, sx);
|
|
3409
|
+
|
|
3410
|
+
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3411
|
+
|
|
3345
3412
|
var StyledCommentIcon = styled(CommentIcon)(COMMON, sx);
|
|
3346
3413
|
|
|
3347
3414
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
@@ -3618,6 +3685,10 @@
|
|
|
3618
3685
|
|
|
3619
3686
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3620
3687
|
|
|
3688
|
+
var StyledGitMergeQueueIcon = styled(GitMergeQueueIcon)(COMMON, sx);
|
|
3689
|
+
|
|
3690
|
+
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3691
|
+
|
|
3621
3692
|
var StyledGitPullRequestIcon = styled(GitPullRequestIcon)(COMMON, sx);
|
|
3622
3693
|
|
|
3623
3694
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
@@ -3874,6 +3945,10 @@
|
|
|
3874
3945
|
|
|
3875
3946
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3876
3947
|
|
|
3948
|
+
var StyledPaperclipIcon = styled(PaperclipIcon)(COMMON, sx);
|
|
3949
|
+
|
|
3950
|
+
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
3951
|
+
|
|
3877
3952
|
var StyledPasteIcon = styled(PasteIcon)(COMMON, sx);
|
|
3878
3953
|
|
|
3879
3954
|
/* THIS FILE IS GENERATED. DO NOT EDIT IT. */
|
|
@@ -4274,10 +4349,12 @@
|
|
|
4274
4349
|
exports.BroadcastIcon = StyledBroadcastIcon;
|
|
4275
4350
|
exports.BrowserIcon = StyledBrowserIcon;
|
|
4276
4351
|
exports.BugIcon = StyledBugIcon;
|
|
4352
|
+
exports.CacheIcon = StyledCacheIcon;
|
|
4277
4353
|
exports.CalendarIcon = StyledCalendarIcon;
|
|
4278
4354
|
exports.CheckIcon = StyledCheckIcon;
|
|
4279
4355
|
exports.CheckCircleIcon = StyledCheckCircleIcon;
|
|
4280
4356
|
exports.CheckCircleFillIcon = StyledCheckCircleFillIcon;
|
|
4357
|
+
exports.CheckboxIcon = StyledCheckboxIcon;
|
|
4281
4358
|
exports.ChecklistIcon = StyledChecklistIcon;
|
|
4282
4359
|
exports.ChevronDownIcon = StyledChevronDownIcon;
|
|
4283
4360
|
exports.ChevronLeftIcon = StyledChevronLeftIcon;
|
|
@@ -4296,6 +4373,7 @@
|
|
|
4296
4373
|
exports.CodescanCheckmarkIcon = StyledCodescanCheckmarkIcon;
|
|
4297
4374
|
exports.CodespacesIcon = StyledCodespacesIcon;
|
|
4298
4375
|
exports.ColumnsIcon = StyledColumnsIcon;
|
|
4376
|
+
exports.CommandPaletteIcon = StyledCommandPaletteIcon;
|
|
4299
4377
|
exports.CommentIcon = StyledCommentIcon;
|
|
4300
4378
|
exports.CommentDiscussionIcon = StyledCommentDiscussionIcon;
|
|
4301
4379
|
exports.CommitIcon = StyledCommitIcon;
|
|
@@ -4365,6 +4443,7 @@
|
|
|
4365
4443
|
exports.GitCommitIcon = StyledGitCommitIcon;
|
|
4366
4444
|
exports.GitCompareIcon = StyledGitCompareIcon;
|
|
4367
4445
|
exports.GitMergeIcon = StyledGitMergeIcon;
|
|
4446
|
+
exports.GitMergeQueueIcon = StyledGitMergeQueueIcon;
|
|
4368
4447
|
exports.GitPullRequestIcon = StyledGitPullRequestIcon;
|
|
4369
4448
|
exports.GitPullRequestClosedIcon = StyledGitPullRequestClosedIcon;
|
|
4370
4449
|
exports.GitPullRequestDraftIcon = StyledGitPullRequestDraftIcon;
|
|
@@ -4429,6 +4508,7 @@
|
|
|
4429
4508
|
exports.PackageDependentsIcon = StyledPackageDependentsIcon;
|
|
4430
4509
|
exports.PaintbrushIcon = StyledPaintbrushIcon;
|
|
4431
4510
|
exports.PaperAirplaneIcon = StyledPaperAirplaneIcon;
|
|
4511
|
+
exports.PaperclipIcon = StyledPaperclipIcon;
|
|
4432
4512
|
exports.PasteIcon = StyledPasteIcon;
|
|
4433
4513
|
exports.PencilIcon = StyledPencilIcon;
|
|
4434
4514
|
exports.PeopleIcon = StyledPeopleIcon;
|