@codecademy/gamut-icons 9.26.0 → 9.26.1-alpha.4b3db7.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,3 @@
1
+ import * as React from 'react';
2
+ import { GamutIconProps } from '../../props';
3
+ export declare const ProfessionalCertificateIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,55 @@
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 ProfessionalCertificateIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var title = _ref.title,
16
+ titleId = _ref.titleId,
17
+ _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? 16 : _ref$size,
19
+ _ref$height = _ref.height,
20
+ height = _ref$height === void 0 ? size : _ref$height,
21
+ _ref$width = _ref.width,
22
+ width = _ref$width === void 0 ? size : _ref$width,
23
+ props = _objectWithoutProperties(_ref, ["title", "titleId", "size", "height", "width"]);
24
+ var maskId = useIconId('ProfessionalCertificateIcon');
25
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ viewBox: "0 0 24 24",
28
+ fill: "#fff",
29
+ role: "img",
30
+ "aria-hidden": "true",
31
+ "pointer-events": "none",
32
+ width: width,
33
+ height: height,
34
+ ref: svgRef,
35
+ "aria-labelledby": titleId
36
+ }, props), {}, {
37
+ children: [title ? /*#__PURE__*/_jsx("title", {
38
+ id: titleId,
39
+ children: title
40
+ }) : null, /*#__PURE__*/_jsx("mask", {
41
+ id: "".concat(maskId),
42
+ children: /*#__PURE__*/_jsx("path", {
43
+ d: "M11.62.047a1.828 1.828 0 00-.316.123c-.078.041-.531.388-1.007.77l-.866.694-.942-.05c-1.123-.06-1.374-.063-1.569-.017-.43.103-.83.433-1.009.831-.046.103-.318 1.07-.605 2.152-.025.096-.043.11-.942.696-.503.329-.967.645-1.03.701a1.618 1.618 0 00-.398.618c-.059.166-.067.227-.068.467 0 .168.013.323.034.396.02.066.205.567.413 1.113l.378.994-.385 1.01c-.211.556-.4 1.081-.418 1.167a1.54 1.54 0 00.139 1.007c.076.152.312.417.492.554l.078.059-1.74 2.124C.902 16.624.095 17.629.066 17.688c-.08.159-.077.47.004.634.07.143.209.282.348.349.064.03.742.178 1.802.391l1.7.342.691 2.073c.49 1.466.714 2.107.767 2.19a.747.747 0 001.14.117c.08-.08 1.028-1.567 3.1-4.865.3-.479.551-.87.558-.87.007 0 .233.178.504.396.304.245.556.428.66.48.41.204.905.204 1.317 0 .108-.054.354-.232.663-.481.27-.218.497-.396.504-.395.007 0 .757 1.184 1.668 2.631 1.975 3.138 1.949 3.098 2.067 3.18.357.242.841.153 1.066-.198.05-.077.293-.775.764-2.185l.69-2.073 1.679-.338a72.13 72.13 0 001.762-.366.776.776 0 00.433-.448.571.571 0 01.052-.119c.026-.031.024-.331-.002-.315-.012.008-.03-.016-.038-.052a.61.61 0 00-.063-.14c-.025-.041-.823-1.024-1.773-2.184l-1.728-2.11.065-.048c.036-.026.148-.128.248-.228.303-.3.45-.686.423-1.113-.017-.27-.026-.297-.554-1.68-.467-1.225-.483-1.255-.746-1.393-.125-.065-.165-.074-.335-.074a.66.66 0 00-.305.052c-.34.156-.528.56-.417.899.024.07.225.609.448 1.195.29.763.398 1.073.38 1.092-.014.014-.209.145-.432.29-1.683 1.093-1.664 1.08-1.756 1.25-.04.073-.183.558-.378 1.28-.173.64-.32 1.168-.326 1.174a34.76 34.76 0 01-1.22-.05c-.817-.042-1.245-.054-1.324-.04-.196.037-.15.003-1.522 1.11l-.65.525-.174-.14-.94-.76c-.42-.34-.806-.64-.855-.666-.187-.095-.243-.096-1.52-.033-.67.034-1.224.057-1.228.053-.005-.005-.15-.532-.324-1.172-.314-1.159-.372-1.326-.5-1.447-.05-.048-1.363-.918-1.953-1.295a.776.776 0 01-.138-.1c0-.007.19-.512.422-1.122a25.7 25.7 0 00.449-1.234.52.52 0 00-.003-.253 29.85 29.85 0 00-.452-1.24c-.236-.62-.413-1.119-.401-1.13.011-.01.472-.313 1.024-.673.682-.446 1.032-.689 1.096-.762.117-.133.122-.148.482-1.483.16-.594.293-1.082.295-1.084.002-.002.495.023 1.096.056 1.31.07 1.476.068 1.644-.024.066-.036.536-.4 1.044-.808.508-.409.932-.74.942-.737.01.003.435.34.943.75.508.408.975.77 1.036.802.144.077.38.094.565.04.164-.048.34-.2.439-.379.062-.114.07-.15.07-.332a.654.654 0 00-.243-.553c-.21-.196-1.904-1.545-2.055-1.638-.218-.133-.417-.189-.713-.2-.198-.007-.29 0-.427.038m6.211 4.474a.797.797 0 00-.204.074c-.04.025-1.322 1.293-2.85 2.819L12 10.188l-.906-.905c-1.049-1.047-1.04-1.04-1.382-1.022-.228.012-.34.06-.49.21-.159.16-.21.288-.21.529 0 .33-.009.319 1.006 1.34.49.493.956.949 1.037 1.014.284.227.584.333.945.333s.661-.106.945-.333c.08-.065 1.396-1.37 2.922-2.898 2.656-2.66 2.778-2.786 2.826-2.919.17-.462-.09-.936-.56-1.023a1.626 1.626 0 00-.155-.024 6.846 6.846 0 00-.146.03M3.496 15.83c-.75.918-1.36 1.672-1.356 1.676.004.003.591.123 1.303.264.76.152 1.333.278 1.386.304a.81.81 0 01.317.295c.031.055.282.777.557 1.605.275.828.506 1.506.513 1.506.02-.001 2.524-3.988 2.512-4a12.66 12.66 0 00-.74.028c-.4.022-.793.032-.872.023-.49-.053-.964-.379-1.174-.808-.077-.157-.206-.603-.613-2.12l-.051-.192-.2-.126a2.747 2.747 0 00-.209-.124c-.005 0-.623.752-1.373 1.67m15.424-1.54c-.108.072-.202.15-.21.174a219.1 219.1 0 00-.29 1.063c-.192.713-.302 1.073-.362 1.195a1.56 1.56 0 01-.522.575c-.389.243-.55.266-1.527.214a15.407 15.407 0 00-.74-.03c-.01.01 2.498 3.997 2.515 3.998.007 0 .238-.678.513-1.506s.526-1.55.557-1.605a.81.81 0 01.317-.295c.053-.026.626-.152 1.386-.304.712-.141 1.298-.26 1.303-.264a258.27 258.27 0 00-2.732-3.345c-.007 0-.1.058-.208.13M.008 17.988c0 .092.004.127.01.077a.897.897 0 000-.168c-.006-.042-.01-.001-.01.091",
44
+ fillRule: "evenodd"
45
+ })
46
+ }), /*#__PURE__*/_jsx("g", {
47
+ mask: "url(#".concat(maskId, ")"),
48
+ children: /*#__PURE__*/_jsx("rect", {
49
+ width: "100%",
50
+ height: "100%",
51
+ fill: "currentColor"
52
+ })
53
+ })]
54
+ }));
55
+ });
@@ -166,6 +166,7 @@ export * from './PinIcon';
166
166
  export * from './PlayCircledIcon';
167
167
  export * from './PlayIcon';
168
168
  export * from './PortfolioProjectIcon';
169
+ export * from './ProfessionalCertificateIcon';
169
170
  export * from './ProgrammingBrowserIcon';
170
171
  export * from './ProjectsIcon';
171
172
  export * from './PythonIcon';
@@ -166,6 +166,7 @@ export * from './PinIcon';
166
166
  export * from './PlayCircledIcon';
167
167
  export * from './PlayIcon';
168
168
  export * from './PortfolioProjectIcon';
169
+ export * from './ProfessionalCertificateIcon';
169
170
  export * from './ProgrammingBrowserIcon';
170
171
  export * from './ProjectsIcon';
171
172
  export * from './PythonIcon';
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>professional certificate</title><path d="M11.62.047a1.828 1.828 0 0 0-.316.123c-.078.041-.531.388-1.007.77l-.866.694-.942-.05c-1.123-.06-1.374-.063-1.569-.017-.43.103-.83.433-1.009.831-.046.103-.318 1.07-.605 2.152-.025.096-.043.11-.942.696-.503.329-.967.645-1.03.701a1.618 1.618 0 0 0-.398.618c-.059.166-.067.227-.068.467 0 .168.013.323.034.396.02.066.205.567.413 1.113l.378.994-.385 1.01c-.211.556-.4 1.081-.418 1.167a1.54 1.54 0 0 0 .139 1.007c.076.152.312.417.492.554l.078.059-1.74 2.124C.902 16.624.095 17.629.066 17.688c-.08.159-.077.47.004.634.07.143.209.282.348.349.064.03.742.178 1.802.391l1.7.342.691 2.073c.49 1.466.714 2.107.767 2.19a.747.747 0 0 0 1.14.117c.08-.08 1.028-1.567 3.1-4.865.3-.479.551-.87.558-.87.007 0 .233.178.504.396.304.245.556.428.66.48.41.204.905.204 1.317 0 .108-.054.354-.232.663-.481.27-.218.497-.396.504-.395.007 0 .757 1.184 1.668 2.631 1.975 3.138 1.949 3.098 2.067 3.18.357.242.841.153 1.066-.198.05-.077.293-.775.764-2.185l.69-2.073 1.679-.338c.923-.185 1.716-.35 1.762-.366a.776.776 0 0 0 .433-.448.571.571 0 0 1 .052-.119c.026-.031.024-.331-.002-.315-.012.008-.03-.016-.038-.052a.61.61 0 0 0-.063-.14c-.025-.041-.823-1.024-1.773-2.184l-1.728-2.11.065-.048c.036-.026.148-.128.248-.228.303-.3.45-.686.423-1.113-.017-.27-.026-.297-.554-1.68-.467-1.225-.483-1.255-.746-1.393-.125-.065-.165-.074-.335-.074a.66.66 0 0 0-.305.052c-.34.156-.528.56-.417.899.024.07.225.609.448 1.195.29.763.398 1.073.38 1.092-.014.014-.209.145-.432.29-1.683 1.093-1.664 1.08-1.756 1.25-.04.073-.183.558-.378 1.28-.173.64-.32 1.168-.326 1.174-.006.006-.554-.017-1.22-.05-.817-.042-1.245-.054-1.324-.04-.196.037-.15.003-1.522 1.11l-.65.525-.174-.14-.94-.76c-.42-.34-.806-.64-.855-.666-.187-.095-.243-.096-1.52-.033-.67.034-1.224.057-1.228.053-.005-.005-.15-.532-.324-1.172-.314-1.159-.372-1.326-.5-1.447-.05-.048-1.363-.918-1.953-1.295a.776.776 0 0 1-.138-.1c0-.007.19-.512.422-1.122a25.7 25.7 0 0 0 .449-1.234.52.52 0 0 0-.003-.253c-.016-.07-.22-.628-.452-1.24-.236-.62-.413-1.119-.401-1.13.011-.01.472-.313 1.024-.673.682-.446 1.032-.689 1.096-.762.117-.133.122-.148.482-1.483.16-.594.293-1.082.295-1.084.002-.002.495.023 1.096.056 1.31.07 1.476.068 1.644-.024.066-.036.536-.4 1.044-.808.508-.409.932-.74.942-.737.01.003.435.34.943.75.508.408.975.77 1.036.802.144.077.38.094.565.04.164-.048.34-.2.439-.379.062-.114.07-.15.07-.332a.654.654 0 0 0-.243-.553c-.21-.196-1.904-1.545-2.055-1.638-.218-.133-.417-.189-.713-.2-.198-.007-.29 0-.427.038m6.211 4.474a.797.797 0 0 0-.204.074c-.04.025-1.322 1.293-2.85 2.819L12 10.188l-.906-.905c-1.049-1.047-1.04-1.04-1.382-1.022-.228.012-.34.06-.49.21-.159.16-.21.288-.21.529 0 .33-.009.319 1.006 1.34.49.493.956.949 1.037 1.014.284.227.584.333.945.333s.661-.106.945-.333c.08-.065 1.396-1.37 2.922-2.898 2.656-2.66 2.778-2.786 2.826-2.919.17-.462-.09-.936-.56-1.023a1.626 1.626 0 0 0-.155-.024 6.846 6.846 0 0 0-.146.03M3.496 15.83c-.75.918-1.36 1.672-1.356 1.676.004.003.591.123 1.303.264.76.152 1.333.278 1.386.304a.81.81 0 0 1 .317.295c.031.055.282.777.557 1.605.275.828.506 1.506.513 1.506.02-.001 2.524-3.988 2.512-4a12.66 12.66 0 0 0-.74.028c-.4.022-.793.032-.872.023-.49-.053-.964-.379-1.174-.808-.077-.157-.206-.603-.613-2.12l-.051-.192-.2-.126a2.747 2.747 0 0 0-.209-.124c-.005 0-.623.752-1.373 1.67m15.424-1.54c-.108.072-.202.15-.21.174a219.1 219.1 0 0 0-.29 1.063c-.192.713-.302 1.073-.362 1.195a1.56 1.56 0 0 1-.522.575c-.389.243-.55.266-1.527.214a15.407 15.407 0 0 0-.74-.03c-.01.01 2.498 3.997 2.515 3.998.007 0 .238-.678.513-1.506s.526-1.55.557-1.605a.81.81 0 0 1 .317-.295c.053-.026.626-.152 1.386-.304.712-.141 1.298-.26 1.303-.264.01-.007-2.715-3.343-2.732-3.345-.007 0-.1.058-.208.13M.008 17.988c0 .092.004.127.01.077a.897.897 0 0 0 0-.168c-.006-.042-.01-.001-.01.091" fill-rule="evenodd"/></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.26.0",
4
+ "version": "9.26.1-alpha.4b3db7.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@codecademy/gamut-styles": "16.3.0",
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "types": "dist/index.d.ts",
32
- "gitHead": "b65d4c80cf2b0fbcb5c85424686c884dd7aefc81"
32
+ "gitHead": "61310265d52ea6190d3acfb710505e2c40cc2ddc"
33
33
  }