@codecademy/gamut-icons 9.11.0 → 9.11.1-alpha.f302c2.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.
|
@@ -152,7 +152,6 @@ export * from './PinIcon';
|
|
|
152
152
|
export * from './PlayCircledIcon';
|
|
153
153
|
export * from './PlayIcon';
|
|
154
154
|
export * from './PortfolioProjectIcon';
|
|
155
|
-
export * from './ProductsBriefcaseIcon';
|
|
156
155
|
export * from './ProgrammingBrowserIcon';
|
|
157
156
|
export * from './ProjectsIcon';
|
|
158
157
|
export * from './PythonIcon';
|
|
@@ -152,7 +152,6 @@ export * from './PinIcon';
|
|
|
152
152
|
export * from './PlayCircledIcon';
|
|
153
153
|
export * from './PlayIcon';
|
|
154
154
|
export * from './PortfolioProjectIcon';
|
|
155
|
-
export * from './ProductsBriefcaseIcon';
|
|
156
155
|
export * from './ProgrammingBrowserIcon';
|
|
157
156
|
export * from './ProjectsIcon';
|
|
158
157
|
export * from './PythonIcon';
|
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.11.0",
|
|
4
|
+
"version": "9.11.1-alpha.f302c2.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/gamut-styles": "16.2.0",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "fb19ea2b21aeafde6870e44c9996cbb57fc9d8e2"
|
|
33
33
|
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
|
-
import * as React from 'react';
|
|
10
|
-
import { Svg } from '../../props';
|
|
11
|
-
import { useIconId } from '../../useIconId';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
export var ProductsBriefcaseIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
-
var _ref$title = _ref.title,
|
|
16
|
-
title = _ref$title === void 0 ? 'Products Briefcase Icon' : _ref$title,
|
|
17
|
-
titleId = _ref.titleId,
|
|
18
|
-
_ref$size = _ref.size,
|
|
19
|
-
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
20
|
-
_ref$height = _ref.height,
|
|
21
|
-
height = _ref$height === void 0 ? size : _ref$height,
|
|
22
|
-
_ref$width = _ref.width,
|
|
23
|
-
width = _ref$width === void 0 ? size : _ref$width,
|
|
24
|
-
props = _objectWithoutProperties(_ref, ["title", "titleId", "size", "height", "width"]);
|
|
25
|
-
var maskId = useIconId('ProductsBriefcaseIcon');
|
|
26
|
-
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
27
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
-
viewBox: "0 0 14 14",
|
|
29
|
-
fill: "#fff",
|
|
30
|
-
role: "img",
|
|
31
|
-
"aria-hidden": "true",
|
|
32
|
-
"pointer-events": "none",
|
|
33
|
-
width: width,
|
|
34
|
-
height: height,
|
|
35
|
-
ref: svgRef,
|
|
36
|
-
"aria-labelledby": titleId
|
|
37
|
-
}, props), {}, {
|
|
38
|
-
children: [title ? /*#__PURE__*/_jsx("title", {
|
|
39
|
-
id: titleId,
|
|
40
|
-
children: title
|
|
41
|
-
}) : null, /*#__PURE__*/_jsx("mask", {
|
|
42
|
-
id: "".concat(maskId),
|
|
43
|
-
children: /*#__PURE__*/_jsx("path", {
|
|
44
|
-
d: "M6.004.414a1.975 1.975 0 00-.938.297 2.021 2.021 0 00-.965 1.66l-.003.086-1.153.004c-1.062 0-1.16 0-1.218.012a1.517 1.517 0 00-.743.308c-.07.055-.21.203-.27.278-.155.21-.25.441-.292.714C.414 3.836.41 3.93.41 5.605c0 1.899 0 1.797.031 1.918a.966.966 0 00.696.704l.023.007-.004.024c0 .012-.136.89-.3 1.953-.16 1.062-.297 1.953-.301 1.98a1.266 1.266 0 00.563 1.195c.07.044.202.11.284.137.07.024.16.047.243.059.074.012 10.636.012 10.71 0a1.29 1.29 0 00.813-.453c.203-.25.305-.566.285-.875-.004-.047-.117-.793-.308-2.043a772.56 772.56 0 01-.305-1.973c0-.004.012-.008.023-.011.047-.012.125-.043.176-.067a.966.966 0 00.52-.637c.03-.12.03-.02.03-1.918 0-1.671-.003-1.77-.01-1.832a1.497 1.497 0 00-.411-.851 1.492 1.492 0 00-.992-.457 51.314 51.314 0 00-1.18-.008H9.902l-.004-.086a1.983 1.983 0 00-.335-1.05 2.021 2.021 0 00-1.45-.898C8.051.413 7.965.409 7.035.409c-.558 0-1.02 0-1.031.004m.059.875a1.15 1.15 0 00-1.086 1.113v.055h4.046v-.05A1.09 1.09 0 008.933 2a1.142 1.142 0 00-.906-.703c-.054-.008-.172-.008-.98-.012-.504 0-.95 0-.984.004M1.804 3.348a.64.64 0 00-.5.46l-.016.051v1.727c0 1.902-.004 1.746.035 1.777l.024.016h3.984v-.41c0-.434 0-.48.023-.578a.844.844 0 01.758-.645c.09-.008 1.684-.008 1.774 0a.86.86 0 01.453.172.87.87 0 01.324.586c.004.031.004.215.004.465v.41h3.984l.024-.016c.039-.031.035.125.035-1.777V3.867l-.016-.047a.624.624 0 00-.508-.473c-.042-.007-.55-.011-5.19-.007-4.458 0-5.153 0-5.192.008m4.406 3.93c.004.73 0 .679.039.792a.799.799 0 00.496.5c.09.028.152.04.254.04a.769.769 0 00.254-.04.799.799 0 00.496-.5c.04-.113.035-.062.04-.793v-.656H6.21v.656m-4.167 1c-.004.008-.14.91-.309 2.004-.343 2.215-.324 2.074-.293 2.164a.4.4 0 00.098.16.406.406 0 00.18.098c.039.008.492.008 5.3.008h5.258l.043-.016a.396.396 0 00.258-.363c0-.023-.605-3.98-.621-4.055v-.015H8.609l-.027.09a1.607 1.607 0 01-.398.64c-.145.145-.27.235-.442.32-.18.09-.34.137-.531.165a3.8 3.8 0 01-.422 0 1.643 1.643 0 01-.531-.165 1.573 1.573 0 01-.442-.32 1.58 1.58 0 01-.398-.64l-.027-.09H2.043v.015",
|
|
45
|
-
fillRule: "evenodd"
|
|
46
|
-
})
|
|
47
|
-
}), /*#__PURE__*/_jsx("g", {
|
|
48
|
-
mask: "url(#".concat(maskId, ")"),
|
|
49
|
-
children: /*#__PURE__*/_jsx("rect", {
|
|
50
|
-
width: "100%",
|
|
51
|
-
height: "100%",
|
|
52
|
-
fill: "currentColor"
|
|
53
|
-
})
|
|
54
|
-
})]
|
|
55
|
-
}));
|
|
56
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="14px" height="14px" viewBox="0 0 14 14" version="1.1">
|
|
3
|
-
<g id="surface1">
|
|
4
|
-
<path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 6.003906 0.414062 C 5.992188 0.414062 5.953125 0.417969 5.917969 0.421875 C 5.632812 0.445312 5.3125 0.554688 5.066406 0.710938 C 4.917969 0.804688 4.8125 0.886719 4.691406 1.007812 C 4.328125 1.375 4.125 1.839844 4.101562 2.371094 L 4.097656 2.457031 L 2.945312 2.460938 C 1.882812 2.460938 1.785156 2.460938 1.726562 2.472656 C 1.433594 2.515625 1.210938 2.609375 0.984375 2.78125 C 0.914062 2.835938 0.773438 2.984375 0.714844 3.058594 C 0.558594 3.269531 0.464844 3.5 0.421875 3.773438 C 0.414062 3.835938 0.410156 3.929688 0.410156 5.605469 C 0.410156 7.503906 0.410156 7.402344 0.441406 7.523438 C 0.511719 7.800781 0.699219 8.035156 0.960938 8.160156 C 1.011719 8.183594 1.089844 8.214844 1.136719 8.226562 L 1.160156 8.234375 L 1.15625 8.257812 C 1.15625 8.269531 1.019531 9.148438 0.855469 10.210938 C 0.695312 11.273438 0.558594 12.164062 0.554688 12.191406 C 0.546875 12.261719 0.546875 12.414062 0.558594 12.492188 C 0.605469 12.855469 0.808594 13.183594 1.117188 13.386719 C 1.1875 13.429688 1.320312 13.496094 1.402344 13.523438 C 1.472656 13.546875 1.5625 13.570312 1.644531 13.582031 C 1.71875 13.59375 12.28125 13.59375 12.355469 13.582031 C 12.582031 13.546875 12.777344 13.46875 12.953125 13.335938 C 13.019531 13.289062 13.121094 13.191406 13.167969 13.128906 C 13.371094 12.878906 13.472656 12.5625 13.453125 12.253906 C 13.449219 12.207031 13.335938 11.460938 13.144531 10.210938 C 12.976562 9.128906 12.839844 8.242188 12.839844 8.238281 C 12.839844 8.234375 12.851562 8.230469 12.863281 8.226562 C 12.910156 8.214844 12.988281 8.183594 13.039062 8.160156 C 13.300781 8.035156 13.488281 7.800781 13.558594 7.523438 C 13.589844 7.402344 13.589844 7.503906 13.589844 5.605469 C 13.589844 3.933594 13.585938 3.835938 13.578125 3.773438 C 13.527344 3.433594 13.394531 3.15625 13.167969 2.921875 C 12.902344 2.648438 12.558594 2.488281 12.175781 2.464844 C 12.128906 2.460938 11.628906 2.457031 10.996094 2.457031 L 9.902344 2.457031 L 9.898438 2.371094 C 9.882812 1.976562 9.773438 1.640625 9.5625 1.320312 C 9.421875 1.105469 9.222656 0.902344 9.007812 0.757812 C 8.734375 0.574219 8.457031 0.46875 8.113281 0.421875 C 8.050781 0.414062 7.964844 0.410156 7.035156 0.410156 C 6.476562 0.410156 6.015625 0.410156 6.003906 0.414062 M 6.0625 1.289062 C 5.59375 1.3125 5.183594 1.628906 5.035156 2.078125 C 5 2.1875 4.980469 2.304688 4.976562 2.402344 L 4.976562 2.457031 L 9.023438 2.457031 L 9.023438 2.40625 C 9.023438 2.285156 8.988281 2.121094 8.933594 2 C 8.777344 1.617188 8.4375 1.355469 8.027344 1.296875 C 7.972656 1.289062 7.855469 1.289062 7.046875 1.285156 C 6.542969 1.285156 6.097656 1.285156 6.0625 1.289062 M 1.804688 3.347656 C 1.671875 3.371094 1.53125 3.449219 1.445312 3.550781 C 1.378906 3.628906 1.335938 3.707031 1.304688 3.808594 L 1.289062 3.859375 L 1.289062 5.585938 C 1.289062 7.488281 1.285156 7.332031 1.324219 7.363281 L 1.347656 7.378906 L 5.332031 7.378906 L 5.332031 6.96875 C 5.332031 6.535156 5.332031 6.488281 5.355469 6.390625 C 5.414062 6.144531 5.589844 5.925781 5.816406 5.824219 C 5.914062 5.777344 6.007812 5.753906 6.113281 5.746094 C 6.203125 5.738281 7.796875 5.738281 7.886719 5.746094 C 8.058594 5.761719 8.203125 5.816406 8.339844 5.917969 C 8.519531 6.058594 8.636719 6.269531 8.664062 6.503906 C 8.667969 6.535156 8.667969 6.71875 8.667969 6.96875 L 8.667969 7.378906 L 12.652344 7.378906 L 12.675781 7.363281 C 12.714844 7.332031 12.710938 7.488281 12.710938 5.585938 L 12.710938 3.867188 L 12.695312 3.820312 C 12.6875 3.792969 12.671875 3.746094 12.660156 3.71875 C 12.578125 3.523438 12.398438 3.382812 12.1875 3.347656 C 12.144531 3.339844 11.636719 3.335938 6.996094 3.339844 C 2.539062 3.339844 1.84375 3.339844 1.804688 3.347656 M 6.210938 7.277344 C 6.214844 8.007812 6.210938 7.957031 6.25 8.070312 C 6.328125 8.304688 6.511719 8.488281 6.746094 8.570312 C 6.835938 8.597656 6.898438 8.609375 7 8.609375 C 7.101562 8.609375 7.164062 8.597656 7.253906 8.570312 C 7.488281 8.488281 7.671875 8.304688 7.75 8.070312 C 7.789062 7.957031 7.785156 8.007812 7.789062 7.277344 L 7.789062 6.621094 L 6.210938 6.621094 L 6.210938 7.277344 M 2.042969 8.277344 C 2.039062 8.285156 1.902344 9.1875 1.734375 10.28125 C 1.390625 12.496094 1.410156 12.355469 1.441406 12.445312 C 1.460938 12.507812 1.492188 12.554688 1.539062 12.605469 C 1.585938 12.652344 1.65625 12.6875 1.71875 12.703125 C 1.757812 12.710938 2.210938 12.710938 7.019531 12.710938 L 12.277344 12.710938 L 12.320312 12.695312 C 12.382812 12.667969 12.425781 12.640625 12.46875 12.597656 C 12.535156 12.527344 12.578125 12.429688 12.578125 12.332031 C 12.578125 12.308594 11.972656 8.351562 11.957031 8.277344 L 11.957031 8.261719 L 8.609375 8.261719 L 8.582031 8.351562 C 8.5 8.59375 8.375 8.800781 8.183594 8.992188 C 8.039062 9.136719 7.914062 9.226562 7.742188 9.3125 C 7.5625 9.402344 7.402344 9.449219 7.210938 9.476562 C 7.136719 9.484375 6.863281 9.484375 6.789062 9.476562 C 6.597656 9.449219 6.4375 9.402344 6.257812 9.3125 C 6.085938 9.226562 5.960938 9.136719 5.816406 8.992188 C 5.625 8.800781 5.5 8.597656 5.417969 8.351562 L 5.390625 8.261719 L 2.042969 8.261719 L 2.042969 8.277344 "/>
|
|
5
|
-
</g>
|
|
6
|
-
</svg>
|