@codecademy/gamut-icons 9.51.4-alpha.a47f33.0 → 9.52.0-alpha.d45bc3.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,55 @@
|
|
|
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 MediaLibraryIcon = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
title,
|
|
7
|
+
titleId,
|
|
8
|
+
size = 16,
|
|
9
|
+
height = size,
|
|
10
|
+
width = size,
|
|
11
|
+
...props
|
|
12
|
+
}, svgRef) => {
|
|
13
|
+
const maskId = useIconId('MediaLibraryIcon');
|
|
14
|
+
return /*#__PURE__*/_jsxs(Svg, {
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
fill: "#fff",
|
|
18
|
+
role: "img",
|
|
19
|
+
"aria-hidden": "true",
|
|
20
|
+
"pointer-events": "none",
|
|
21
|
+
width: width,
|
|
22
|
+
height: height,
|
|
23
|
+
ref: svgRef,
|
|
24
|
+
"aria-labelledby": titleId,
|
|
25
|
+
...props,
|
|
26
|
+
children: [title ? /*#__PURE__*/_jsx("title", {
|
|
27
|
+
id: titleId,
|
|
28
|
+
children: title
|
|
29
|
+
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
30
|
+
id: `${maskId}`,
|
|
31
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M21.75 9V6a1.5 1.5 0 00-1.5-1.5h-12V3a1.5 1.5 0 00-1.5-1.5h-4.5A1.5 1.5 0 00.75 3v17.8a1.7 1.7 0 003.336.438l2.352-11.154A1.5 1.5 0 017.879 9H21.75a1.5 1.5 0 011.45 1.886l-2.2 10.5a1.5 1.5 0 01-1.45 1.114H2.447",
|
|
33
|
+
fill: "none",
|
|
34
|
+
stroke: "#fff",
|
|
35
|
+
strokeLinecap: "round",
|
|
36
|
+
strokeLinejoin: "round",
|
|
37
|
+
strokeWidth: 1.5
|
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
39
|
+
d: "M12.489 19.41a.857.857 0 01-1.239-.766v-5.788a.857.857 0 011.239-.766l5.788 2.895a.855.855 0 010 1.53z",
|
|
40
|
+
fill: "none",
|
|
41
|
+
stroke: "#fff",
|
|
42
|
+
strokeLinecap: "round",
|
|
43
|
+
strokeLinejoin: "round",
|
|
44
|
+
strokeWidth: 1.5
|
|
45
|
+
})]
|
|
46
|
+
}), /*#__PURE__*/_jsx("g", {
|
|
47
|
+
mask: `url(#${maskId})`,
|
|
48
|
+
children: /*#__PURE__*/_jsx("rect", {
|
|
49
|
+
width: `100%`,
|
|
50
|
+
height: `100%`,
|
|
51
|
+
fill: `currentColor`
|
|
52
|
+
})
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -177,6 +177,7 @@ export * from './MarkdownIcon';
|
|
|
177
177
|
export * from './MarkerIcon';
|
|
178
178
|
export * from './MastercardIcon';
|
|
179
179
|
export * from './MathIcon';
|
|
180
|
+
export * from './MediaLibraryIcon';
|
|
180
181
|
export * from './MediumIcon';
|
|
181
182
|
export * from './MegaphoneIcon';
|
|
182
183
|
export * from './MenuIcon';
|
|
@@ -177,6 +177,7 @@ export * from './MarkdownIcon';
|
|
|
177
177
|
export * from './MarkerIcon';
|
|
178
178
|
export * from './MastercardIcon';
|
|
179
179
|
export * from './MathIcon';
|
|
180
|
+
export * from './MediaLibraryIcon';
|
|
180
181
|
export * from './MediumIcon';
|
|
181
182
|
export * from './MegaphoneIcon';
|
|
182
183
|
export * from './MenuIcon';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" id="Folder-Media-1--Streamline-Ultimate" height="24" width="24">
|
|
2
|
+
<desc>
|
|
3
|
+
Folder Media 1 Streamline Icon: https://streamlinehq.com
|
|
4
|
+
</desc>
|
|
5
|
+
<path d="M21.75 9V6a1.5 1.5 0 0 0 -1.5 -1.5h-12V3a1.5 1.5 0 0 0 -1.5 -1.5h-4.5A1.5 1.5 0 0 0 0.75 3v17.8a1.7 1.7 0 0 0 3.336 0.438l2.352 -11.154A1.5 1.5 0 0 1 7.879 9H21.75a1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1 -1.45 1.114H2.447" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
|
|
6
|
+
<path d="M12.489 19.41a0.857 0.857 0 0 1 -1.239 -0.766v-5.788a0.857 0.857 0 0 1 1.239 -0.766l5.788 2.895a0.855 0.855 0 0 1 0 1.53Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
|
|
7
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-icons",
|
|
3
3
|
"description": "Icon library for codecademy.com",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.52.0-alpha.d45bc3.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/gamut-styles": "17.
|
|
7
|
+
"@codecademy/gamut-styles": "17.10.0",
|
|
8
8
|
"@codecademy/variance": "0.25.0"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "97e50a1da24b8bd3d3e54aa051a5e632d866f59e"
|
|
33
33
|
}
|