@codecademy/gamut-icons 9.32.1-alpha.05bb18.0 → 9.32.1-alpha.07f8f5.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,56 @@
|
|
|
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
|
+
viewBox: "0 0 24 24",
|
|
27
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
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__*/_jsxs("mask", {
|
|
41
|
+
id: "".concat(maskId),
|
|
42
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
43
|
+
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"
|
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
45
|
+
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"
|
|
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
|
+
});
|
|
@@ -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,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.01 16.6C15.54 17.18 14.91 17.56 14.12 17.76V19.24H12.11V17.79C11.32 17.63 10.65 17.25 10.11 16.68C9.57005 16.11 9.21005 15.43 9.05005 14.66L10.78 13.57C10.96 14.27 11.23 14.84 11.61 15.27C11.99 15.7 12.47 15.91 13.07 15.91C13.52 15.91 13.88 15.8 14.16 15.57C14.43 15.34 14.57 15 14.57 14.54C14.57 14.25 14.48 14 14.29 13.78C14.1 13.56 13.87 13.37 13.59 13.2C13.31 13.03 12.91 12.83 12.4 12.57L11.92 12.34C11.26 12.01 10.73 11.6 10.34 11.1C9.95005 10.6 9.75005 9.95998 9.75005 9.17998C9.75005 8.39998 9.96005 7.78998 10.39 7.23998C10.82 6.68998 11.39 6.33998 12.12 6.17998V4.72998H14.13V6.22998C15.11 6.52998 15.8 7.17998 16.22 8.16998L14.49 9.26998C14.2 8.45998 13.69 8.04998 12.96 8.04998C12.64 8.04998 12.37 8.14998 12.14 8.35998C11.91 8.56998 11.79 8.80998 11.79 9.10998C11.79 9.40998 11.89 9.66998 12.1 9.88998C12.3 10.12 12.55 10.31 12.84 10.47C13.13 10.63 13.55 10.84 14.1 11.09C14.64 11.34 15.09 11.6 15.46 11.86C15.83 12.12 16.13 12.47 16.37 12.89C16.61 13.31 16.72 13.83 16.72 14.43C16.72 15.29 16.49 16 16.02 16.58L16.01 16.6Z"/>
|
|
3
|
+
<path d="M23.97 11.18C23.58 5.79001 19.28 1.39001 13.89 0.900006C7.58 0.340006 2.23 5.06001 1.76 11.14L0.09 9.24001C0.09 9.24001 0 9.22001 0 9.27001L0.03 11.64C0.03 11.64 0.03 11.67 0.04 11.68L2.84 14.7L5.79 11.61C5.79 11.61 5.8 11.59 5.8 11.57L5.77 9.20001C5.77 9.20001 5.71 9.13001 5.68 9.17001L3.93 11.11C4.4 6.46001 8.43 2.84001 13.25 3.05001C17.78 3.25001 21.51 6.90001 21.8 11.43C22.13 16.64 17.99 20.98 12.85 20.98C10.06 20.98 7.56 19.69 5.91 17.68C5.49 17.16 5.12 16.6 4.82 16C4.05 16.42 3.39 16.77 2.96 17.01C3.26 17.8 4.27 19.09 4.27 19.09C6.31 21.57 9.4 23.15 12.86 23.15C19.27 23.15 24.44 17.7 23.97 11.2V11.18Z" />
|
|
4
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-icons",
|
|
3
3
|
"description": "Icon library for codecademy.com",
|
|
4
|
-
"version": "9.32.1-alpha.
|
|
4
|
+
"version": "9.32.1-alpha.07f8f5.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/gamut-styles": "17.1.
|
|
8
|
-
"@codecademy/variance": "0.21.
|
|
7
|
+
"@codecademy/gamut-styles": "17.1.0",
|
|
8
|
+
"@codecademy/variance": "0.21.3"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "2ad334c5d075377d1fecbcb9ca541718c3911394"
|
|
33
33
|
}
|