@codecademy/gamut-icons 9.42.2 → 9.42.3-alpha.634989.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.
|
@@ -150,7 +150,6 @@ export * from './LinkedinOutlineIcon';
|
|
|
150
150
|
export * from './ListIcon';
|
|
151
151
|
export * from './ListeningIcon';
|
|
152
152
|
export * from './LocationPinIcon';
|
|
153
|
-
export * from './Lock1Icon';
|
|
154
153
|
export * from './LockHeavyIcon';
|
|
155
154
|
export * from './LockIcon';
|
|
156
155
|
export * from './MachineLearningIcon';
|
|
@@ -150,7 +150,6 @@ export * from './LinkedinOutlineIcon';
|
|
|
150
150
|
export * from './ListIcon';
|
|
151
151
|
export * from './ListeningIcon';
|
|
152
152
|
export * from './LocationPinIcon';
|
|
153
|
-
export * from './Lock1Icon';
|
|
154
153
|
export * from './LockHeavyIcon';
|
|
155
154
|
export * from './LockIcon';
|
|
156
155
|
export * from './MachineLearningIcon';
|
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.42.
|
|
4
|
+
"version": "9.42.3-alpha.634989.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/gamut-styles": "17.6.2",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "64f48b3093fc7973602ad4ea1fe65217e80d043b"
|
|
33
33
|
}
|
|
@@ -1,54 +0,0 @@
|
|
|
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 Lock1Icon = /*#__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('Lock1Icon');
|
|
15
|
-
return /*#__PURE__*/_jsxs(Svg, {
|
|
16
|
-
viewBox: "0 0 140 140",
|
|
17
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
-
fill: "#fff",
|
|
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__*/_jsx("mask", {
|
|
31
|
-
id: `${maskId}`,
|
|
32
|
-
children: /*#__PURE__*/_jsxs("g", {
|
|
33
|
-
transform: "scale(5.83333)",
|
|
34
|
-
children: [/*#__PURE__*/_jsx("title", {
|
|
35
|
-
children: 'lock-1'
|
|
36
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
37
|
-
d: "M3.75 9.75h16.5v13.5H3.75zm3 0V6a5.25 5.25 0 0110.5 0v3.75M12 15v3",
|
|
38
|
-
fill: "none",
|
|
39
|
-
stroke: "#fff",
|
|
40
|
-
strokeLinecap: "round",
|
|
41
|
-
strokeLinejoin: "round",
|
|
42
|
-
strokeWidth: 1.5
|
|
43
|
-
})]
|
|
44
|
-
})
|
|
45
|
-
}), /*#__PURE__*/_jsx("g", {
|
|
46
|
-
mask: `url(#${maskId})`,
|
|
47
|
-
children: /*#__PURE__*/_jsx("rect", {
|
|
48
|
-
width: `100%`,
|
|
49
|
-
height: `100%`,
|
|
50
|
-
fill: `currentColor`
|
|
51
|
-
})
|
|
52
|
-
})]
|
|
53
|
-
});
|
|
54
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 140 140" height="140" width="140" xmlns="http://www.w3.org/2000/svg"><title>lock-one</title><g transform="matrix(5.833333333333333,0,0,5.833333333333333,0,0)"><title>lock-1</title><path d="M3.750 9.750 L20.250 9.750 L20.250 23.250 L3.750 23.250 Z" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6.75,9.75V6a5.25,5.25,0,0,1,10.5,0V9.75" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 15L12 18" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g></svg>
|