@codecademy/gamut-icons 9.0.2 → 9.0.3-alpha.88f1f6.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,69 @@
|
|
|
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 ArrowThickCircleUpIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
+
var _ref$title = _ref.title,
|
|
16
|
+
title = _ref$title === void 0 ? 'Arrow Thick Circle Up 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('ArrowThickCircleUpIcon');
|
|
26
|
+
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
strokeWidth: 1.5,
|
|
30
|
+
fill: "#fff",
|
|
31
|
+
role: "img",
|
|
32
|
+
"aria-hidden": "true",
|
|
33
|
+
"pointer-events": "none",
|
|
34
|
+
width: width,
|
|
35
|
+
height: height,
|
|
36
|
+
ref: svgRef,
|
|
37
|
+
"aria-labelledby": titleId
|
|
38
|
+
}, props), {}, {
|
|
39
|
+
children: [title === undefined ? /*#__PURE__*/_jsx("title", {
|
|
40
|
+
id: titleId,
|
|
41
|
+
children: 'arrow-thick-circle-up'
|
|
42
|
+
}) : title ? /*#__PURE__*/_jsx("title", {
|
|
43
|
+
id: titleId,
|
|
44
|
+
children: title
|
|
45
|
+
}) : null, /*#__PURE__*/_jsxs("mask", {
|
|
46
|
+
id: "".concat(maskId),
|
|
47
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
48
|
+
d: "M.75 12a11.25 11.25 0 1022.5 0 11.25 11.25 0 10-22.5 0z",
|
|
49
|
+
fill: "none",
|
|
50
|
+
stroke: "#fff",
|
|
51
|
+
strokeLinecap: "round",
|
|
52
|
+
strokeLinejoin: "round"
|
|
53
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
54
|
+
d: "M12.586 5.982l4.439 5.549a.75.75 0 01-.585 1.219h-2.19V18a.75.75 0 01-.75.75h-3a.75.75 0 01-.75-.75v-5.25H7.56a.75.75 0 01-.585-1.219l4.439-5.549a.751.751 0 011.172 0z",
|
|
55
|
+
fill: "none",
|
|
56
|
+
stroke: "#fff",
|
|
57
|
+
strokeLinecap: "round",
|
|
58
|
+
strokeLinejoin: "round"
|
|
59
|
+
})]
|
|
60
|
+
}), /*#__PURE__*/_jsx("g", {
|
|
61
|
+
mask: "url(#".concat(maskId, ")"),
|
|
62
|
+
children: /*#__PURE__*/_jsx("rect", {
|
|
63
|
+
width: "100%",
|
|
64
|
+
height: "100%",
|
|
65
|
+
fill: "currentColor"
|
|
66
|
+
})
|
|
67
|
+
})]
|
|
68
|
+
}));
|
|
69
|
+
});
|
|
@@ -13,6 +13,7 @@ export * from './ArrowChevronUpIcon';
|
|
|
13
13
|
export * from './ArrowDownIcon';
|
|
14
14
|
export * from './ArrowLeftIcon';
|
|
15
15
|
export * from './ArrowRightIcon';
|
|
16
|
+
export * from './ArrowThickCircleUpIcon';
|
|
16
17
|
export * from './ArrowUpIcon';
|
|
17
18
|
export * from './ArticleIcon';
|
|
18
19
|
export * from './BadgeIcon';
|
|
@@ -13,6 +13,7 @@ export * from './ArrowChevronUpIcon';
|
|
|
13
13
|
export * from './ArrowDownIcon';
|
|
14
14
|
export * from './ArrowLeftIcon';
|
|
15
15
|
export * from './ArrowRightIcon';
|
|
16
|
+
export * from './ArrowThickCircleUpIcon';
|
|
16
17
|
export * from './ArrowUpIcon';
|
|
17
18
|
export * from './ArticleIcon';
|
|
18
19
|
export * from './BadgeIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5"><title>arrow-thick-circle-up</title><path d="M0.750 12.000 A11.250 11.250 0 1 0 23.250 12.000 A11.250 11.250 0 1 0 0.750 12.000 Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.586,5.982l4.439,5.549a.75.75,0,0,1-.585,1.219H14.25V18a.75.75,0,0,1-.75.75h-3A.75.75,0,0,1,9.75,18V12.75H7.56a.75.75,0,0,1-.585-1.219l4.439-5.549A.751.751,0,0,1,12.586,5.982Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path></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.0.
|
|
4
|
+
"version": "9.0.3-alpha.88f1f6.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"lodash": "^4.17.5",
|
|
40
40
|
"react": "^17.0.2 || ^18.2.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "822a287b4f67b3f10fd56af628f2fdbdc9c8a357"
|
|
43
43
|
}
|