@codecademy/gamut-icons 9.32.0 → 9.32.1-alpha.01a171.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 MoneyBackGuaranteeIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,67 @@
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 MoneyBackGuaranteeIcon = /*#__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('MoneyBackGuaranteeIcon');
25
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ fill: "#fff",
28
+ viewBox: "0 0 24 24",
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__*/_jsxs("mask", {
41
+ id: "".concat(maskId),
42
+ children: [/*#__PURE__*/_jsxs("g", {
43
+ fill: "#fff",
44
+ stroke: "#fff",
45
+ children: [/*#__PURE__*/_jsx("path", {
46
+ d: "M16.01 16.6c-.47.58-1.1.96-1.89 1.16v1.48h-2.01v-1.45c-.79-.16-1.46-.54-2-1.11a4.12 4.12 0 01-1.06-2.02l1.73-1.09c.18.7.45 1.27.83 1.7.38.43.86.64 1.46.64.45 0 .81-.11 1.09-.34.27-.23.41-.57.41-1.03 0-.29-.09-.54-.28-.76-.19-.22-.42-.41-.7-.58-.28-.17-.68-.37-1.19-.63l-.48-.23c-.66-.33-1.19-.74-1.58-1.24-.39-.5-.59-1.14-.59-1.92s.21-1.39.64-1.94c.43-.55 1-.9 1.73-1.06V4.73h2.01v1.5c.98.3 1.67.95 2.09 1.94l-1.73 1.1c-.29-.81-.8-1.22-1.53-1.22-.32 0-.59.1-.82.31-.23.21-.35.45-.35.75s.1.56.31.78c.2.23.45.42.74.58.29.16.71.37 1.26.62.54.25.99.51 1.36.77.37.26.67.61.91 1.03.24.42.35.94.35 1.54 0 .86-.23 1.57-.7 2.15l-.01.02z"
47
+ }), /*#__PURE__*/_jsx("path", {
48
+ d: "M23.97 11.18C23.58 5.79 19.28 1.39 13.89.9 7.58.34 2.23 5.06 1.76 11.14L.09 9.24S0 9.22 0 9.27l.03 2.37s0 .03.01.04l2.8 3.02 2.95-3.09s.01-.02.01-.04L5.77 9.2s-.06-.07-.09-.03l-1.75 1.94c.47-4.65 4.5-8.27 9.32-8.06 4.53.2 8.26 3.85 8.55 8.38.33 5.21-3.81 9.55-8.95 9.55-2.79 0-5.29-1.29-6.94-3.3-.42-.52-.79-1.08-1.09-1.68-.77.42-1.43.77-1.86 1.01.3.79 1.31 2.08 1.31 2.08 2.04 2.48 5.13 4.06 8.59 4.06 6.41 0 11.58-5.45 11.11-11.95v-.02z"
49
+ })]
50
+ }), /*#__PURE__*/_jsx("defs", {
51
+ children: /*#__PURE__*/_jsx("clipPath", {
52
+ id: "money-back-guarantee-icon_svg__money-back-guarantee-icon_svg__a",
53
+ children: /*#__PURE__*/_jsx("path", {
54
+ d: "M0 0h24v24H0z"
55
+ })
56
+ })
57
+ })]
58
+ }), /*#__PURE__*/_jsx("g", {
59
+ mask: "url(#".concat(maskId, ")"),
60
+ children: /*#__PURE__*/_jsx("rect", {
61
+ width: "100%",
62
+ height: "100%",
63
+ fill: "currentColor"
64
+ })
65
+ })]
66
+ }));
67
+ });
@@ -158,6 +158,7 @@ export * from './MicrophoneIcon';
158
158
  export * from './MinimizeBarIcon';
159
159
  export * from './MinimizeIcon';
160
160
  export * from './MobileDevelopmentIcon';
161
+ export * from './MoneyBackGuaranteeIcon';
161
162
  export * from './MoneyWalletIcon';
162
163
  export * from './MonitorBookIcon';
163
164
  export * from './MultipleActionsViewIcon';
@@ -158,6 +158,7 @@ export * from './MicrophoneIcon';
158
158
  export * from './MinimizeBarIcon';
159
159
  export * from './MinimizeIcon';
160
160
  export * from './MobileDevelopmentIcon';
161
+ export * from './MoneyBackGuaranteeIcon';
161
162
  export * from './MoneyWalletIcon';
162
163
  export * from './MonitorBookIcon';
163
164
  export * from './MultipleActionsViewIcon';
@@ -0,0 +1,17 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ width="24"
4
+ height="24"
5
+ fill="none"
6
+ viewBox="0 0 24 24"
7
+ >
8
+ <g fill="currentColor" stroke="currentColor" clipPath="url(#a)">
9
+ <path d="M16.01 16.6c-.47.58-1.1.96-1.89 1.16v1.48h-2.01v-1.45c-.79-.16-1.46-.54-2-1.11a4.12 4.12 0 0 1-1.06-2.02l1.73-1.09c.18.7.45 1.27.83 1.7.38.43.86.64 1.46.64.45 0 .81-.11 1.09-.34.27-.23.41-.57.41-1.03 0-.29-.09-.54-.28-.76-.19-.22-.42-.41-.7-.58-.28-.17-.68-.37-1.19-.63l-.48-.23c-.66-.33-1.19-.74-1.58-1.24-.39-.5-.59-1.14-.59-1.92s.21-1.39.64-1.94c.43-.55 1-.9 1.73-1.06V4.73h2.01v1.5c.98.3 1.67.95 2.09 1.94l-1.73 1.1c-.29-.81-.8-1.22-1.53-1.22-.32 0-.59.1-.82.31-.23.21-.35.45-.35.75s.1.56.31.78c.2.23.45.42.74.58.29.16.71.37 1.26.62.54.25.99.51 1.36.77.37.26.67.61.91 1.03.24.42.35.94.35 1.54 0 .86-.23 1.57-.7 2.15l-.01.02Z" />
10
+ <path d="M23.97 11.18C23.58 5.79 19.28 1.39 13.89.9 7.58.34 2.23 5.06 1.76 11.14L.09 9.24S0 9.22 0 9.27l.03 2.37s0 .03.01.04l2.8 3.02 2.95-3.09s.01-.02.01-.04L5.77 9.2s-.06-.07-.09-.03l-1.75 1.94c.47-4.65 4.5-8.27 9.32-8.06 4.53.2 8.26 3.85 8.55 8.38.33 5.21-3.81 9.55-8.95 9.55-2.79 0-5.29-1.29-6.94-3.3-.42-.52-.79-1.08-1.09-1.68-.77.42-1.43.77-1.86 1.01.3.79 1.31 2.08 1.31 2.08 2.04 2.48 5.13 4.06 8.59 4.06 6.41 0 11.58-5.45 11.11-11.95v-.02Z" />
11
+ </g>
12
+ <defs>
13
+ <clipPath id="a">
14
+ <path fill="none" d="M0 0h24v24H0z" />
15
+ </clipPath>
16
+ </defs>
17
+ </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.32.0",
4
+ "version": "9.32.1-alpha.01a171.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@codecademy/gamut-styles": "17.1.0",
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "types": "dist/index.d.ts",
32
- "gitHead": "89afde6a3832680dbaa77a9ab1c0d407a9bc6ab1"
32
+ "gitHead": "da16d23b8d8b1dba491d463196a2c9c143bb153b"
33
33
  }