@codecademy/gamut-icons 9.25.0 → 9.26.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,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 DiscordOutlineIcon = /*#__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('DiscordOutlineIcon');
|
|
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: "M7.524 3.242c-.4.033-.867.114-1.296.225-.389.1-1.473.432-1.8.55a2.4 2.4 0 00-.99.723c-.307.4-.867 1.683-1.302 2.988-.69 2.071-1.189 4.57-1.332 6.674-.02.296.023.817.098 1.198a5.43 5.43 0 001.02 2.208c.479.602 1.634 1.508 2.626 2.059.604.335 1.485.73 1.89.847.392.113.924.083 1.333-.074.44-.17.698-.389 1.117-.948a26.59 26.59 0 001.007-1.488c.062-.105.072-.112.144-.1.042.008.528.026 1.078.041.948.025 2.31.005 2.772-.04l.148-.015.068.113c.174.295.748 1.144 1.007 1.489.42.56.677.778 1.117.948.409.157.941.187 1.332.074.406-.117 1.287-.512 1.89-.847.675-.375 1.652-1.078 2.159-1.555 1.079-1.014 1.685-2.575 1.575-4.056-.205-2.75-.955-5.881-1.981-8.268-.432-1.003-.639-1.332-1.027-1.628-.28-.214-.491-.311-1.097-.504-1.383-.44-1.864-.552-2.65-.615-.398-.032-1.099-.032-1.356 0-.395.05-.853.243-1.132.478l-.112.095-.525-.026c-.511-.025-2.513-.012-2.925.019l-.192.014-.127-.102a2.38 2.38 0 00-1.135-.478c-.23-.029-1.046-.028-1.402.001m.096 1.502c-.31.03-.673.096-1.032.188-.516.132-1.57.466-1.732.548-.181.092-.27.215-.477.66-1.04 2.24-1.797 5.225-2.053 8.09a3.65 3.65 0 00.173 1.52c.227.681.612 1.224 1.231 1.732a10.53 10.53 0 002.754 1.648c.45.187.694.187.91.003.143-.123.886-1.141.854-1.173a2.213 2.213 0 00-.284-.059c-.624-.106-.982-.235-1.158-.416-.449-.462-.113-1.261.53-1.261.084 0 .22.027.357.071.122.04.35.093.506.12.343.06 1.132.142 1.365.143.092 0 .357.014.588.03.573.043 3.14.043 3.744 0 .968-.067 1.53-.15 1.92-.283.22-.076.273-.085.42-.076.36.024.642.288.695.651a.843.843 0 01-.075.43.908.908 0 01-.273.295c-.112.07-.435.184-.683.24a2.842 2.842 0 00-.2.05c-.012.008.36.55.608.885.315.424.452.512.762.486.163-.015.496-.143 1.04-.401 1.196-.568 2.441-1.493 2.912-2.162a3.72 3.72 0 00.653-1.781c.033-.33.017-.62-.077-1.422-.308-2.636-1.029-5.318-1.978-7.363-.215-.463-.304-.58-.509-.672-.201-.09-1.223-.41-1.699-.533-.644-.165-.858-.19-1.608-.191-.775-.001-.767-.003-1.068.296-.306.305-.377.32-1.296.267a40.643 40.643 0 00-2.784.002c-.834.045-.926.043-1.087-.032a1.13 1.13 0 01-.316-.245c-.276-.283-.294-.288-.973-.292-.31-.001-.607.001-.66.007m.349 4.91c-.669.068-1.167.493-1.311 1.116-.05.21-.05.641 0 .852.158.684.739 1.122 1.49 1.125.494.002.837-.128 1.142-.433.304-.303.43-.63.43-1.118 0-.487-.126-.815-.43-1.118-.338-.338-.78-.48-1.321-.425m7.667 0a1.433 1.433 0 00-.96.455c-.272.288-.395.627-.395 1.088 0 .487.125.815.429 1.118.305.305.648.435 1.142.433.519-.002.954-.2 1.223-.558.22-.293.306-.572.306-.993 0-.421-.086-.7-.306-.993-.306-.406-.83-.607-1.439-.55m-7.524 1.543c0 .022.023.036.06.036s.06-.014.06-.036-.023-.036-.06-.036-.06.014-.06.036m7.668-.012c-.008.013.005.031.028.04.024.008.052.02.062.025.01.005.018-.012.018-.04 0-.052-.08-.07-.108-.025",
|
|
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
|
+
});
|
|
@@ -57,6 +57,7 @@ export * from './DeleteFilledIcon';
|
|
|
57
57
|
export * from './DeleteIcon';
|
|
58
58
|
export * from './DiamondIcon';
|
|
59
59
|
export * from './DiscordIcon';
|
|
60
|
+
export * from './DiscordOutlineIcon';
|
|
60
61
|
export * from './DiscountStarPremiumFilledIcon';
|
|
61
62
|
export * from './DownloadIcon';
|
|
62
63
|
export * from './EarthIcon';
|
|
@@ -57,6 +57,7 @@ export * from './DeleteFilledIcon';
|
|
|
57
57
|
export * from './DeleteIcon';
|
|
58
58
|
export * from './DiamondIcon';
|
|
59
59
|
export * from './DiscordIcon';
|
|
60
|
+
export * from './DiscordOutlineIcon';
|
|
60
61
|
export * from './DiscountStarPremiumFilledIcon';
|
|
61
62
|
export * from './DownloadIcon';
|
|
62
63
|
export * from './EarthIcon';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" version="1.1" id="Discord-Logo--Streamline-Flex.svg">
|
|
2
|
+
<title>discord-outline</title>
|
|
3
|
+
<path d="M7.524 3.242448C7.123056 3.2754 6.65736 3.355992 6.228 3.466752C5.839272 3.567048 4.754784000000001 3.8987999999999996 4.4281440000000005 4.01736C4.069632 4.147488 3.669144 4.439808 3.438024 4.74C3.130728 5.13912 2.571384 6.42324 2.1364560000000004 7.728C1.446072 9.79908 0.9472560000000001 12.297144 0.803808 14.401824000000001C0.783648 14.697624 0.82656 15.218808 0.9024479999999999 15.6C1.056 16.371408000000002 1.439232 17.201712 1.921536 17.808C2.400528 18.41016 3.5555039999999996 19.315512000000002 4.548096 19.866912C5.152200000000001 20.20248 6.032736 20.597112 6.438599999999999 20.714184C6.829872 20.827032 7.362408 20.797344000000002 7.770816 20.63988C8.21076 20.470296 8.468904 20.251272 8.887968 19.692C9.146448 19.347072 9.721464 18.497424 9.894912 18.204144C9.95712 18.098976 9.967272 18.091968 10.038912 18.104784C10.08132 18.112344 10.566648 18.130488 11.117424 18.145056C12.064584 18.170136000000003 13.42764 18.150144 13.88868 18.104400000000002L14.037336 18.08964 14.104680000000002 18.203471999999998C14.278608 18.49752 14.853336 19.34676 15.112032000000001 19.692C15.531096000000002 20.251272 15.78924 20.470296 16.229184 20.63988C16.637591999999998 20.797344000000002 17.170128000000002 20.827032 17.561400000000003 20.714184C17.967264 20.597112 18.847800000000003 20.20248 19.451904 19.866912C20.12604 19.492416 21.102504 18.788832000000003 21.609528 18.31224C22.688928 17.29764 23.295288 15.73656 23.185104000000003 14.255880000000001C22.980456 11.505408000000001 22.230312 8.374944000000001 21.203904 5.988C20.772408000000002 4.984536 20.565024 4.655568 20.177496 4.35996C19.896648000000003 4.1457120000000005 19.686048 4.049040000000001 19.080000000000002 3.8561039999999998C17.697384 3.4159439999999996 17.215680000000003 3.3041039999999997 16.43052 3.2409120000000002C16.031712000000002 3.2087999999999997 15.330984 3.208944 15.074015999999999 3.2411760000000003C14.678927999999999 3.290712 14.220816 3.484248 13.94184 3.7194960000000004L13.830096000000001 3.81372 13.305048 3.788256C12.793872 3.7634640000000004 10.792104 3.776184 10.38 3.8068560000000002L10.188 3.821136 10.060704000000001 3.7194960000000004C9.749784 3.47124 9.321672000000001 3.2907840000000004 8.925984 3.2411760000000003C8.696592 3.2124 7.880496 3.2131440000000002 7.524 3.242448M7.62 4.7435279999999995C7.3107120000000005 4.77348 6.946752 4.839984 6.588 4.932096C6.07236 5.0644800000000005 5.017272 5.398224 4.855872 5.480016C4.674528 5.571912 4.585272 5.695344 4.379208 6.139272C3.339096 8.37996 2.581704 11.364744 2.3261760000000002 14.23008C2.278368 14.766192000000002 2.333832 15.254424 2.4988319999999997 15.749976C2.72568 16.431336 3.111288 16.973592 3.730176 17.481504C4.590408 18.187535999999998 5.443824 18.698304 6.48444 19.129968C6.934463999999999 19.316664 7.178184000000001 19.317432 7.393776000000001 19.132920000000002C7.53744 19.009944 8.279736 17.99172 8.248488 17.960496000000003C8.241384 17.953392 8.113272 17.926728 7.963776 17.90124C7.340208 17.79492 6.982463999999999 17.666352 6.806472 17.485272000000002C6.357311999999999 17.023128 6.693072 16.224 7.336416000000001 16.224C7.419672 16.224 7.555728 16.25112 7.69296 16.295088C7.815023999999999 16.334184 8.042952 16.388424 8.199456 16.415616C8.541792000000001 16.475112 9.330696 16.557192 9.564 16.5576C9.656400000000001 16.557744 9.921 16.571856 10.152000000000001 16.588944C10.724568000000001 16.63128 13.292712000000002 16.631184 13.896 16.588800000000003C14.864208 16.520784 15.426432 16.437576 15.815280000000001 16.304712000000002C16.03596 16.229304 16.088904 16.219824 16.235856000000002 16.229424C16.596432 16.252992 16.878384 16.517064 16.930848 16.880376000000002C16.948439999999998 17.002248 16.915319999999998 17.193072 16.856328 17.309688C16.806984 17.407224000000003 16.68168 17.542344 16.582536 17.604936C16.471344000000002 17.675112 16.148136 17.788968 15.9 17.845344C15.794400000000001 17.869344 15.704088 17.89176 15.699336 17.895167999999998C15.687768000000002 17.9034 16.060464 18.444768 16.30824 18.779616C16.622616 19.204488 16.760496 19.2924 17.070456 19.265544000000002C17.233344000000002 19.251408 17.565936 19.123224 18.110712000000003 18.864576C19.306008000000002 18.297072 20.551464000000003 17.372088 21.021792 16.702512C21.387287999999998 16.18224 21.610512 15.573744 21.675216000000002 14.921544C21.707832000000003 14.592792000000001 21.692064000000002 14.301576 21.5982 13.5C21.289536 10.863672000000001 20.56896 8.181912 19.619952 6.137472000000001C19.405056 5.674488 19.316328 5.557224 19.111392 5.465256C18.909792 5.374776000000001 17.888160000000003 5.054232 17.412 4.932048C16.76796 4.7667600000000006 16.554168 4.74132 15.804 4.740624C15.029376000000001 4.73988 15.036936 4.737792 14.73636 5.036736C14.429687999999999 5.341776 14.359079999999999 5.356296 13.44 5.30352C12.895776 5.272248 11.253696 5.273832 10.656 5.306184C9.82212 5.3513280000000005 9.729864000000001 5.348616000000001 9.569376 5.274288C9.475032 5.230608 9.374088 5.152104 9.253295999999999 5.028552C8.977272 4.746168 8.958624 4.740576 8.28 4.73712C7.9698 4.735536 7.6728 4.738416 7.62 4.7435279999999995M7.968504 9.65328C7.300416000000001 9.722159999999999 6.80232 10.146552000000002 6.657719999999999 10.770096C6.608928000000001 10.980528 6.608928000000001 11.411472 6.657719999999999 11.621903999999999C6.816312 12.305712000000002 7.396751999999999 12.743952000000002 8.148 12.747072000000001C8.6418 12.749136000000002 8.985479999999999 12.618888000000002 9.290184 12.314184000000001C9.593592000000001 12.010776 9.71916 11.683440000000001 9.71916 11.196C9.71916 10.70856 9.593592000000001 10.381224 9.290184 10.077816C8.951976 9.739608 8.509536 9.597504 7.968504 9.65328M15.636408000000001 9.652824C15.239927999999999 9.689856 14.932848 9.835344 14.675568 10.108032C14.403552000000001 10.396320000000001 14.28084 10.734576 14.28084 11.196C14.28084 11.683440000000001 14.406408 12.010776 14.709816 12.314184000000001C15.014520000000001 12.618888000000002 15.3582 12.749136000000002 15.852 12.747072000000001C16.370784 12.744912000000001 16.805952 12.546168 17.074704 12.188616C17.294784 11.895864 17.380704 11.617152 17.380704 11.196C17.380704 10.774848 17.294784 10.496136 17.074704 10.203384000000002C16.76904 9.796728 16.244664 9.596016 15.636408000000001 9.652824M8.112 11.196C8.112 11.218392 8.134656000000001 11.232000000000001 8.172 11.232000000000001C8.209344 11.232000000000001 8.232 11.218392 8.232 11.196C8.232 11.173608 8.209344 11.16 8.172 11.16C8.134656000000001 11.16 8.112 11.173608 8.112 11.196M15.779904 11.184168C15.771672 11.197464 15.784536 11.21532 15.808488 11.223864C15.832416 11.232408 15.860088 11.243784 15.870000000000001 11.249112C15.879912000000001 11.254464 15.888 11.236583999999999 15.888 11.209416000000001C15.888 11.15712 15.808128000000002 11.138472 15.779904 11.184168" stroke="none" fill="#000" fill-rule="evenodd"></path>
|
|
4
|
+
</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.
|
|
4
|
+
"version": "9.26.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": "
|
|
32
|
+
"gitHead": "b65d4c80cf2b0fbcb5c85424686c884dd7aefc81"
|
|
33
33
|
}
|