@codecademy/gamut-icons 9.17.0 → 9.17.1-alpha.262156.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 SparkleOutlineIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
|
|
15
|
+
var _ref$title = _ref.title,
|
|
16
|
+
title = _ref$title === void 0 ? 'Sparkle Outline 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('SparkleOutlineIcon');
|
|
26
|
+
return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
|
|
27
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
+
viewBox: "0 0 16 16",
|
|
29
|
+
fill: "#fff",
|
|
30
|
+
role: "img",
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
"pointer-events": "none",
|
|
33
|
+
width: width,
|
|
34
|
+
height: height,
|
|
35
|
+
ref: svgRef,
|
|
36
|
+
"aria-labelledby": titleId
|
|
37
|
+
}, props), {}, {
|
|
38
|
+
children: [title ? /*#__PURE__*/_jsx("title", {
|
|
39
|
+
id: titleId,
|
|
40
|
+
children: title
|
|
41
|
+
}) : null, /*#__PURE__*/_jsx("mask", {
|
|
42
|
+
id: "".concat(maskId),
|
|
43
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
44
|
+
d: "M12.148.146a.752.752 0 00-.62.566c-.11.378-.259.803-.344.98-.362.755-.795 1.077-2.078 1.549-.28.103-.438.256-.515.503a.75.75 0 00.207.773c.098.09.157.121.439.222.484.173.85.346 1.139.538.182.122.46.388.572.547.182.26.362.66.484 1.072l.097.329c.11.371.417.588.796.562a.757.757 0 00.565-.342c.032-.05.076-.16.11-.28.175-.595.342-1.004.527-1.281.316-.476.813-.804 1.708-1.13.307-.11.373-.142.455-.214.2-.175.3-.436.261-.684a.972.972 0 00-.174-.387c-.077-.092-.223-.18-.411-.245-.832-.292-1.347-.585-1.659-.942-.284-.325-.49-.758-.676-1.422-.082-.29-.118-.363-.242-.493a.74.74 0 00-.64-.22M12.152 3c-.208.298-.504.59-.845.834a1.634 1.634 0 00-.172.132c0 .005.063.052.14.105.32.221.629.52.856.828l.127.172.088-.124a3.62 3.62 0 01.913-.89.608.608 0 00.116-.091.788.788 0 00-.132-.104 3.698 3.698 0 01-.876-.853 1.4 1.4 0 00-.112-.145c-.004 0-.05.061-.103.136m-6.406-.07a.766.766 0 00-.515.32c-.069.106-.09.163-.208.589-.351 1.256-.785 2.138-1.355 2.754-.664.717-1.53 1.217-3.036 1.753-.366.13-.447.173-.56.293L0 8.719v.862l.073.08c.1.113.188.158.575.296 2.474.882 3.445 1.765 4.147 3.77.087.25.214.663.31 1.014.035.13.07.216.11.28a.75.75 0 001.235.056c.081-.107.097-.149.222-.597.304-1.082.651-1.861 1.099-2.461.166-.223.587-.65.805-.818.623-.479 1.41-.871 2.536-1.264.305-.107.401-.158.512-.274a.753.753 0 00.203-.426.484.484 0 00-.008-.239.764.764 0 00-.204-.376c-.104-.106-.185-.15-.433-.235-1.8-.622-2.815-1.265-3.48-2.204-.416-.584-.765-1.395-1.052-2.439-.086-.314-.11-.386-.158-.462a.754.754 0 00-.745-.351m-.01 3.273c-.305.614-.752 1.233-1.19 1.65a7.378 7.378 0 01-1.759 1.222.838.838 0 00-.132.076c0 .004.114.066.252.137 1.033.53 1.852 1.243 2.426 2.11.174.263.256.403.407.694l.11.214.129-.246c.654-1.255 1.517-2.1 2.857-2.798l.222-.115-.238-.123C7.497 8.34 6.596 7.452 5.966 6.21a7.557 7.557 0 00-.114-.22 2.206 2.206 0 00-.114.214m7.346 3.877a.838.838 0 00-.48.376c-.021.043-.07.183-.108.31-.256.865-.538 1.154-1.448 1.488a8.29 8.29 0 00-.304.117.924.924 0 00-.326.321.759.759 0 00.05.773c.116.166.21.23.454.315.627.218.994.436 1.206.717.152.203.266.465.407.943.069.234.21.41.407.507.083.04.108.044.31.05.209.004.224.002.311-.038.23-.104.358-.259.438-.526.183-.61.315-.873.547-1.092.2-.19.502-.353.948-.517.317-.116.306-.111.41-.188l.094-.069v-1.056l-.095-.07a1.023 1.023 0 00-.22-.114c-.644-.229-.962-.4-1.191-.645-.194-.206-.318-.46-.467-.95-.078-.258-.128-.353-.248-.465a.705.705 0 00-.314-.18.986.986 0 00-.38-.007m.072 2.619c-.059.066-.166.17-.24.23l-.132.112.1.082c.054.044.163.147.241.228l.142.148.178-.18a4.13 4.13 0 01.242-.23l.064-.05-.056-.042a4.464 4.464 0 01-.244-.23l-.188-.188-.107.12",
|
|
45
|
+
fillRule: "evenodd"
|
|
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
|
+
});
|
|
@@ -195,6 +195,7 @@ export * from './SmileyIndifferentIcon';
|
|
|
195
195
|
export * from './SmileySadIcon';
|
|
196
196
|
export * from './SmileyStarEyesIcon';
|
|
197
197
|
export * from './SparkleIcon';
|
|
198
|
+
export * from './SparkleOutlineIcon';
|
|
198
199
|
export * from './StackedSquaresIcon';
|
|
199
200
|
export * from './StarCircleIcon';
|
|
200
201
|
export * from './StarFilledCircleIcon';
|
|
@@ -195,6 +195,7 @@ export * from './SmileyIndifferentIcon';
|
|
|
195
195
|
export * from './SmileySadIcon';
|
|
196
196
|
export * from './SmileyStarEyesIcon';
|
|
197
197
|
export * from './SparkleIcon';
|
|
198
|
+
export * from './SparkleOutlineIcon';
|
|
198
199
|
export * from './StackedSquaresIcon';
|
|
199
200
|
export * from './StarCircleIcon';
|
|
200
201
|
export * from './StarFilledCircleIcon';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" version="1.1" id="Reward-Stars-3--Streamline-Ultimate.svg"><desc>Reward Stars 3 Streamline Icon: https://streamlinehq.com</desc>
|
|
2
|
+
<path d="M12.148416 0.146064C12.092 0.15280000000000002 12.005296000000001 0.178944 11.948416 0.20633600000000002C11.729936 0.311568 11.598656000000002 0.469552 11.528255999999999 0.712C11.418608 1.089536 11.269440000000001 1.514528 11.184368000000001 1.691712C10.821856 2.446672 10.389024 2.769216 9.105904 3.240576C8.825344 3.343632 8.668016 3.497472 8.591056 3.743984C8.505232 4.018800000000001 8.585424000000001 4.317743999999999 8.798384 4.5169440000000005C8.895552 4.60784 8.955376000000001 4.638096 9.236816000000001 4.738704C9.720944 4.91176 10.086512 5.084656 10.375952 5.277456C10.55848 5.399024000000001 10.836704 5.664975999999999 10.94776 5.824C11.129552 6.084336 11.309792 6.483456 11.431840000000001 6.896C11.464384 7.006 11.508128000000001 7.153968 11.529040000000002 7.224816C11.638656000000001 7.5959840000000005 11.946016 7.813344 12.324656000000001 7.787456000000001C12.54536 7.772368 12.765616 7.639088 12.890208000000001 7.445247999999999C12.922432 7.395104000000001 12.966064000000001 7.284752 13.000928 7.165248C13.174688 6.569552 13.34232 6.161104000000001 13.526864 5.883776C13.843216 5.408368 14.339968 5.080016 15.235008 4.754704C15.541727999999999 4.643232 15.608272000000001 4.61184 15.690288 4.539904000000001C15.89024 4.364560000000001 15.98976 4.103776 15.951376 3.855728C15.933552 3.740544 15.851632 3.5593760000000003 15.776592 3.469216C15.69968 3.3767840000000002 15.554272000000001 3.28992 15.365680000000001 3.223712C14.533952 2.931728 14.018896000000002 2.6392800000000003 13.707472 2.2822080000000002C13.423472 1.956576 13.217616 1.524032 13.030848 0.860496C12.949247999999999 0.570608 12.913200000000002 0.49694400000000005 12.789104 0.366528C12.625104 0.194208 12.398336 0.11616 12.148416 0.146064M12.153056000000001 3.001392C11.945343999999999 3.299408 11.649248 3.5914720000000004 11.308 3.834928C11.213392 3.9024319999999997 11.13608 3.961776 11.136175999999999 3.9668159999999997C11.136272000000002 3.971872 11.198928 4.0192 11.275392 4.072C11.595904 4.293312 11.905024 4.592128 12.131872 4.899904L12.25856 5.071792 12.347056 4.947904C12.595584 4.599984 12.901696 4.301408 13.260272 4.057168C13.323920000000001 4.0138240000000005 13.376 3.973024 13.376 3.9665120000000003C13.376 3.96 13.316608 3.9133760000000004 13.244 3.8629119999999997C12.903712 3.626368 12.593872 3.324848 12.368 3.010464C12.3108 2.930848 12.2604 2.8655839999999997 12.256 2.86544C12.2516 2.865296 12.20528 2.92648 12.153056000000001 3.001392M5.7474240000000005 2.9308C5.553344 2.9527680000000003 5.337680000000001 3.086432 5.231648 3.25048C5.162992 3.356704 5.142848 3.4138560000000004 5.023823999999999 3.84C4.672975999999999 5.096208 4.239167999999999 5.977856 3.66888 6.5937280000000005C3.004864 7.310784 2.138832 7.810976 0.633088 8.347072C0.26736000000000004 8.477296 0.185808 8.519984000000001 0.073568 8.639968000000001L0 8.718624 0 9.149584L0 9.580544 0.07288 9.6616C0.17372800000000002 9.773760000000001 0.261216 9.81864 0.648 9.95656C3.1215360000000003 10.838656 4.092688 11.72176 4.795248 13.727791999999999C4.882479999999999 13.97688 5.008640000000001 14.390144000000001 5.104432 14.740592000000001C5.140032000000001 14.87088 5.174336 14.95744 5.215376 15.020592C5.505504 15.467088 6.132064000000001 15.495504 6.450224 15.076592000000002C6.531392 14.969728 6.546944000000001 14.927968000000002 6.672464 14.48C6.975584 13.398176 7.3233440000000005 12.618704 7.770608 12.01864C7.936544 11.796016 8.357536 11.368384 8.576 11.200544C9.19864 10.722208 9.98632 10.329632 11.112 9.936639999999999C11.417296 9.830064 11.513296 9.778688 11.623936 9.662704C11.735888000000001 9.545328 11.802528 9.405776 11.827088 9.237248C11.843152 9.127088 11.841952 9.093232 11.818656 8.998448C11.779984 8.841088 11.717568 8.725552 11.615248 8.621856C11.511120000000002 8.516352000000001 11.429984000000001 8.472288 11.182032 8.386624C9.382704 7.764896 8.367008 7.121968 7.7010879999999995 6.1832C7.2864640000000005 5.598704 6.937232 4.7880959999999995 6.650208 3.744C6.563792 3.4296320000000002 6.539376000000001 3.3582080000000003 6.492192 3.2817600000000002C6.335344 3.0276 6.055872000000001 2.8959040000000003 5.7474240000000005 2.9308M5.737808 6.204015999999999C5.431632 6.818336 4.984656 7.437247999999999 4.5466560000000005 7.853312C4.048304 8.32672 3.480016 8.721968 2.78808 9.076416C2.71552 9.113584000000001 2.656272 9.1476 2.656416 9.152000000000001C2.65656 9.1564 2.7699360000000004 9.218128 2.908336 9.289183999999999C3.941024 9.819312 4.7598400000000005 10.53176 5.333856 11.399616C5.507584 11.662272000000002 5.589551999999999 11.801952 5.74096 12.093344L5.851808 12.306704 5.979760000000001 12.061344C6.634368 10.806016 7.497072 9.961248 8.83744 9.263072000000001L9.05888 9.147727999999999 8.82144 9.024992000000001C7.497152 8.340416 6.595696 7.451952 5.965744 6.2104C5.90568 6.092048 5.854336 5.993008 5.851648 5.99032C5.848944 5.987616 5.797728 6.083776 5.737808 6.204015999999999M13.084064 10.081344C12.906608 10.123184 12.68368 10.297632 12.604224 10.456864C12.582512000000001 10.500384 12.533936 10.640032 12.496272000000001 10.7672C12.240176 11.631952 11.958368 11.921376 11.048 12.25464C10.9248 12.299744 10.788096 12.352704 10.744224 12.37232C10.643808000000002 12.417232 10.467984000000001 12.59024 10.41792 12.693376C10.29264 12.951568 10.311472 13.244624 10.467584 13.466224C10.584352 13.631968 10.677392 13.696512 10.921648 13.781232000000001C11.548768 13.99872 11.915728 14.216848 12.12768 14.498144C12.280464 14.700912 12.393632 14.962992 12.534688000000001 15.440816000000002C12.603696 15.674528 12.745872 15.851488 12.942064 15.947824C13.024704 15.988415999999999 13.04984 15.992416 13.25192 15.997216C13.460912 16.00216 13.4764 16.000336 13.563407999999999 15.960496C13.79232 15.855696 13.920656000000001 15.70128 14.001072 15.433888000000001C14.184368000000001 14.824384 14.316464 14.560864 14.548304 14.34216C14.748944 14.15288 15.049856 13.988688 15.496 13.825008C15.812592 13.708864 15.802416 13.71352 15.906 13.637264L16 13.568064000000001 16 13.040000000000001L16 12.511936 15.90488 12.441904000000001C15.85256 12.403392 15.753568 12.351951999999999 15.68488 12.327584000000002C15.041312 12.099296 14.723376 11.927232 14.493888000000002 11.683040000000002C14.300111999999999 11.476848 14.175552 11.223184 14.027120000000002 10.7324C13.949296 10.475136000000001 13.898528 10.38016 13.779104 10.268448000000001C13.679504000000001 10.17528 13.58136 10.119232 13.46464 10.088832C13.36192 10.06208 13.180864 10.058528 13.084064 10.081344M13.157104 12.699824000000001C13.098272000000001 12.765552 12.990544 12.869520000000001 12.917696 12.930864L12.785232 13.042416 12.884624 13.123728C12.93928 13.168448 13.047968000000001 13.271360000000001 13.126144 13.352416L13.268304 13.499776 13.446144 13.32032C13.543968000000001 13.221616000000001 13.6528 13.118384 13.688 13.090896L13.752 13.040944 13.696 12.997968C13.6652 12.974336 13.555408 12.870704 13.452031999999999 12.767664000000002L13.264064000000001 12.580304 13.157104 12.699824000000001" stroke="none" fill="#000" fill-rule="evenodd"></path>
|
|
3
|
+
</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.17.0",
|
|
4
|
+
"version": "9.17.1-alpha.262156.0",
|
|
5
5
|
"author": "Codecademy <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/gamut-styles": "16.2.0",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"types": "dist/index.d.ts",
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "3bf4bdf4435ead6aa389c2f4c6fa7c70fa8cb277"
|
|
33
33
|
}
|