@codecademy/gamut-icons 9.40.1 → 9.41.0-alpha.474102.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.
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Svg } from '../../props';
|
|
3
|
+
import { useIconId } from '../../useIconId';
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
+
export const CursorIcon = /*#__PURE__*/React.forwardRef((_ref, svgRef) => {
|
|
6
|
+
let {
|
|
7
|
+
title,
|
|
8
|
+
titleId,
|
|
9
|
+
size = 16,
|
|
10
|
+
height = size,
|
|
11
|
+
width = size,
|
|
12
|
+
...props
|
|
13
|
+
} = _ref;
|
|
14
|
+
const maskId = useIconId('CursorIcon');
|
|
15
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
16
|
+
viewBox: "0 0 32 32",
|
|
17
|
+
fill: "#fff",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
role: "img",
|
|
20
|
+
"aria-hidden": "true",
|
|
21
|
+
"pointer-events": "none",
|
|
22
|
+
width: width,
|
|
23
|
+
height: height,
|
|
24
|
+
ref: svgRef,
|
|
25
|
+
"aria-labelledby": titleId,
|
|
26
|
+
...props,
|
|
27
|
+
children: [title ? /*#__PURE__*/_jsx("title", {
|
|
28
|
+
id: titleId,
|
|
29
|
+
children: title
|
|
30
|
+
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
31
|
+
id: `${maskId}`,
|
|
32
|
+
children: [/*#__PURE__*/_jsx("g", {
|
|
33
|
+
clipPath: "url(#cursor-icon_svg__cursor-icon_svg__clip0_1661_41081)",
|
|
34
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M11.534 30.24L.507 3.533A2.32 2.32 0 013.534.507l26.667 11.026a2.32 2.32 0 01-.254 4.374l-10.946 3.12-3.134 10.96a2.32 2.32 0 01-2.093 1.68 2.36 2.36 0 01-2.24-1.427zm-6.2-25.413a.307.307 0 00-.36.08.333.333 0 00-.147.426l8.307 20a.333.333 0 00.627 0l2.24-7.76A2.332 2.332 0 0117.574 16l7.76-2.24a.333.333 0 00.253-.293.346.346 0 00-.253-.334l-20-8.306z",
|
|
36
|
+
fill: "#fff"
|
|
37
|
+
})
|
|
38
|
+
}), /*#__PURE__*/_jsx("defs", {
|
|
39
|
+
children: /*#__PURE__*/_jsx("clipPath", {
|
|
40
|
+
id: "cursor-icon_svg__cursor-icon_svg__clip0_1661_41081",
|
|
41
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
42
|
+
fill: "#fff",
|
|
43
|
+
d: "M0 0h32v32H0z"
|
|
44
|
+
})
|
|
45
|
+
})
|
|
46
|
+
})]
|
|
47
|
+
}), /*#__PURE__*/_jsx("g", {
|
|
48
|
+
mask: `url(#${maskId})`,
|
|
49
|
+
children: /*#__PURE__*/_jsx("rect", {
|
|
50
|
+
width: `100%`,
|
|
51
|
+
height: `100%`,
|
|
52
|
+
fill: `currentColor`
|
|
53
|
+
})
|
|
54
|
+
})]
|
|
55
|
+
});
|
|
56
|
+
});
|
|
@@ -65,6 +65,7 @@ export * from './CopyIcon';
|
|
|
65
65
|
export * from './CreditCard1Icon';
|
|
66
66
|
export * from './CreditCardIcon';
|
|
67
67
|
export * from './CubeIcon';
|
|
68
|
+
export * from './CursorIcon';
|
|
68
69
|
export * from './CybersecurityIcon';
|
|
69
70
|
export * from './DataAnalyticsIcon';
|
|
70
71
|
export * from './DataEngineeringIcon';
|
|
@@ -65,6 +65,7 @@ export * from './CopyIcon';
|
|
|
65
65
|
export * from './CreditCard1Icon';
|
|
66
66
|
export * from './CreditCardIcon';
|
|
67
67
|
export * from './CubeIcon';
|
|
68
|
+
export * from './CursorIcon';
|
|
68
69
|
export * from './CybersecurityIcon';
|
|
69
70
|
export * from './DataAnalyticsIcon';
|
|
70
71
|
export * from './DataEngineeringIcon';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="Cursor-1-Alternate--Streamline-Ultimate" clip-path="url(#clip0_1661_41081)">
|
|
3
|
+
<path id="Vector" d="M11.5341 30.2401L0.507389 3.53345C0.333869 3.11021 0.289336 2.64513 0.379385 2.19665C0.469435 1.74818 0.69005 1.33633 1.0135 1.01289C1.33695 0.68944 1.74879 0.468825 2.19726 0.378775C2.64574 0.288725 3.11082 0.333259 3.53406 0.506779L30.2007 11.5334C30.6452 11.7181 31.0212 12.0365 31.2767 12.4444C31.5322 12.8523 31.6545 13.3295 31.6267 13.8101C31.5989 14.2906 31.4223 14.7505 31.1214 15.1262C30.8205 15.5019 30.4102 15.7747 29.9474 15.9068L19.0007 19.0268L15.8674 29.9868C15.7356 30.4492 15.4634 30.8593 15.0883 31.1602C14.7133 31.4612 14.2541 31.6382 13.7741 31.6668C13.3006 31.6812 12.8338 31.5529 12.4343 31.2984C12.0348 31.044 11.7212 30.6752 11.5341 30.2401ZM5.33406 4.82678C5.27349 4.79926 5.20562 4.79219 5.14069 4.80662C5.07575 4.82105 5.01727 4.8562 4.97406 4.90678C4.90058 4.94657 4.84473 5.01251 4.81757 5.09153C4.7904 5.17055 4.79391 5.25689 4.82739 5.33345L13.1341 25.3334C13.1574 25.3978 13.2 25.4534 13.2561 25.4927C13.3121 25.532 13.3789 25.5531 13.4474 25.5531C13.5158 25.5531 13.5826 25.532 13.6387 25.4927C13.6948 25.4534 13.7374 25.3978 13.7607 25.3334L16.0007 17.5734C16.1112 17.2009 16.313 16.8619 16.5878 16.5872C16.8625 16.3124 17.2015 16.1106 17.5741 16.0001L25.3341 13.7601C25.4016 13.7437 25.4623 13.7066 25.5077 13.654C25.5532 13.6015 25.581 13.536 25.5874 13.4668C25.5873 13.3912 25.5625 13.3177 25.5167 13.2575C25.471 13.1974 25.4068 13.1538 25.3341 13.1334L5.33406 4.82678Z" fill="#000"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_1661_41081">
|
|
7
|
+
<rect width="32" height="32" fill="#000"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-icons",
|
|
3
3
|
"description": "Icon library for codecademy.com",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.41.0-alpha.474102.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/gamut-styles": "17.6.0",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "2777f5d61ef1bb21d13854bc5007cf8df9459c1a"
|
|
33
33
|
}
|