@codecademy/gamut-icons 9.17.0 → 9.17.1-alpha.695e02.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: "M11.815.865a.538.538 0 00-.254.212 1.658 1.658 0 00-.095.267c-.29 1.034-.632 1.534-1.327 1.937a5.77 5.77 0 01-.835.373c-.373.132-.456.19-.54.373a.51.51 0 00.012.41c.066.134.157.205.352.277.536.196.92.372 1.168.535.58.38.885.856 1.161 1.81.036.125.076.248.09.273a.59.59 0 00.22.217c.07.037.1.043.225.043.13 0 .152-.005.23-.047a.53.53 0 00.23-.253A7.41 7.41 0 0012.543 7c.12-.409.281-.802.42-1.023.336-.535.845-.884 1.782-1.223.096-.034.2-.074.232-.087a.556.556 0 00.236-.249.502.502 0 00-.1-.551c-.071-.072-.133-.105-.338-.176-.44-.154-.853-.348-1.119-.525a2.846 2.846 0 01-.604-.574c-.217-.312-.402-.75-.556-1.32-.06-.222-.182-.364-.358-.416a.512.512 0 00-.323.009m.092 2.06c-.283.487-.668.867-1.215 1.195l-.164.099.164.097c.527.31.905.679 1.202 1.172.05.084.095.15.1.149.005-.002.047-.067.093-.145.287-.487.69-.878 1.222-1.189l.146-.085-.144-.084a3.308 3.308 0 01-1.216-1.178l-.107-.172-.081.14m-6.059.537a.469.469 0 00-.203.12c-.09.081-.126.163-.22.507-.286 1.04-.643 1.844-1.071 2.414-.536.712-1.27 1.236-2.403 1.711a21.25 21.25 0 01-.959.365c-.23.084-.322.167-.384.35a.495.495 0 00.237.59c.02.011.193.076.384.145.58.209.867.33 1.307.55 1.584.79 2.325 1.79 2.906 3.915.1.366.156.453.348.541a.537.537 0 00.378.01.612.612 0 00.24-.2c.022-.034.08-.204.129-.378.484-1.721 1.012-2.608 1.985-3.339.533-.4 1.477-.86 2.374-1.154.186-.061.278-.11.353-.187a.497.497 0 00-.073-.753 2.477 2.477 0 00-.352-.147c-2.416-.857-3.373-1.733-4.056-3.713a17.233 17.233 0 01-.202-.656 4.764 4.764 0 00-.15-.464.583.583 0 00-.231-.201.555.555 0 00-.337-.026m.122 2.171c-.127.298-.23.521-.31.672-.533 1.006-1.215 1.709-2.236 2.304-.196.114-.674.357-.848.431l-.088.037.056.025c1.605.718 2.542 1.574 3.2 2.923.077.158.161.34.186.404.025.063.05.116.057.116.006 0 .016-.016.022-.036a8.05 8.05 0 01.365-.772c.52-.932 1.148-1.573 2.105-2.148.204-.123.687-.372.945-.487l.056-.025-.12-.053a9.867 9.867 0 01-.904-.47c-.892-.536-1.51-1.154-2.014-2.013a9.21 9.21 0 01-.407-.828c-.045-.113-.049-.118-.065-.08m6.864 4.513a.515.515 0 00-.272.168c-.07.08-.079.101-.178.42-.235.76-.518 1.065-1.276 1.377a6.24 6.24 0 01-.316.12c-.178.059-.274.135-.344.273a.372.372 0 00-.055.224c0 .093.009.133.046.208.084.173.153.218.529.353.25.09.622.28.784.403.28.212.462.503.616.985.129.402.126.396.223.493a.426.426 0 00.374.14.465.465 0 00.326-.139c.077-.08.09-.107.204-.456.173-.529.325-.778.625-1.023.154-.125.5-.298.856-.427.258-.094.34-.143.415-.244a.504.504 0 00-.102-.693 1.745 1.745 0 00-.29-.13c-.48-.177-.779-.338-.99-.536-.253-.236-.396-.514-.576-1.117-.054-.183-.128-.279-.266-.347a.51.51 0 00-.333-.052m.002 1.94a2.87 2.87 0 01-.567.545l-.14.095.132.092c.24.168.442.364.594.576l.073.1c.006.006.058-.052.116-.13.131-.176.384-.418.564-.54.075-.051.13-.098.124-.103a7.325 7.325 0 00-.151-.11 2.515 2.515 0 01-.495-.468l-.126-.161c-.023-.03-.03-.024-.124.104",
|
|
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"><desc>Reward Stars 3 Streamline Icon: https://streamlinehq.com</desc>
|
|
2
|
+
<path d="M11.814784 0.864912C11.71464 0.90344 11.612288000000001 0.989136 11.561056 1.077344C11.539776 1.114 11.497088 1.234 11.466224 1.344C11.17608 2.37768 10.833632 2.877632 10.139263999999999 3.281248C9.943584000000001 3.3949920000000002 9.589343999999999 3.553104 9.304 3.654064C8.930656 3.7861439999999997 8.84808 3.843136 8.763904 4.02672C8.709792 4.14472 8.714912 4.313968 8.776335999999999 4.43768C8.842464 4.570912000000001 8.933280000000002 4.642224000000001 9.127536000000001 4.713536C9.663632 4.910336 10.048064 5.086416000000001 10.296 5.248736C10.875664 5.62824 11.181136 6.104672 11.457024 7.059520000000001C11.493120000000001 7.184496 11.533280000000001 7.307264 11.54624 7.332336000000001C11.586672 7.410528 11.682576 7.504704 11.766992 7.549088C11.837216 7.586032 11.867168 7.591728 11.992 7.591856C12.121856 7.591984000000001 12.144416 7.587344 12.221680000000001 7.544544C12.325023999999999 7.487312 12.418384 7.385264 12.452416 7.292384C12.466192 7.254768 12.507024 7.1232 12.543152000000001 7C12.663008 6.591264000000001 12.824432000000002 6.198384 12.963664000000001 5.976512C13.299296 5.441680000000001 13.808031999999999 5.0927039999999995 14.745424000000002 4.754304C14.84144 4.719632 14.945648 4.6802079999999995 14.977008 4.666671999999999C15.061487999999999 4.630208 15.16552 4.521024000000001 15.213456 4.41848C15.297168 4.23944 15.255376 4.008448 15.113664000000002 3.86672C15.0416 3.7946720000000003 14.979632 3.762496 14.775440000000001 3.691136C14.334064000000001 3.536864 13.921952 3.343472 13.656 3.165824C13.456736000000001 3.03272 13.168784 2.75904 13.052256 2.592C12.834719999999999 2.280192 12.650448 1.84288 12.496048000000002 1.272C12.435968 1.049888 12.314032 0.907984 12.13848 0.85584C12.030544 0.8237920000000001 11.913120000000001 0.8270879999999999 11.814784 0.864912M11.906799999999999 2.924224C11.624495999999999 3.4119360000000003 11.238959999999999 3.791584 10.692064 4.120432L10.528144000000001 4.218992 10.692064 4.315632C11.218656000000001 4.626032 11.596544 4.994656 11.893888 5.488C11.944272000000002 5.5716 11.989392 5.6385760000000005 11.994144 5.636816C11.998896 5.635072 12.040576 5.56968 12.086768000000001 5.49152C12.374352000000002 5.004832 12.776768 4.613568 13.308992 4.303136L13.45504 4.217952 13.31112 4.133792000000001C12.777664000000001 3.821872 12.414096 3.469952 12.09456 2.956224L11.987712 2.784448 11.906799999999999 2.924224M5.848 3.461312C5.758112000000001 3.490944 5.718512 3.514208 5.645344000000001 3.5803040000000004C5.5546560000000005 3.662224 5.519216 3.743776 5.424624 4.088C5.138928 5.127664 4.782272 5.931536 4.353712000000001 6.501728C3.818128 7.214288 3.083424 7.737552 1.950592 8.213216000000001C1.733264 8.30448 1.444992 8.414192 0.992 8.578064000000001C0.7610560000000001 8.6616 0.66984 8.7448 0.607616 8.928672C0.5317759999999999 9.152768 0.634496 9.408352 0.844736 9.51864C0.8649439999999999 9.529247999999999 1.037744 9.594192 1.228736 9.662976C1.809232 9.872031999999999 2.096352 9.992688000000001 2.5359520000000004 10.212272C4.1195200000000005 11.003344 4.860816 12.002176 5.442016 14.128C5.542032 14.493824 5.5981440000000005 14.580976000000001 5.790352 14.668976C5.897088 14.717824 6.066479999999999 14.722656 6.168 14.679727999999999C6.25408 14.643328 6.361408000000001 14.553808000000002 6.408624 14.479008C6.429888 14.445343999999999 6.487439999999999 14.275184 6.536544 14.100896C7.021456000000001 12.379520000000001 7.548768 11.492656000000002 8.521696 10.762144000000001C9.055264 10.36152 9.998992000000001 9.902864 10.896 9.608208000000001C11.082304 9.547024 11.173808000000001 9.498528 11.248736000000001 9.421327999999999C11.461312 9.202288000000001 11.426512 8.844576 11.175504000000002 8.668192C11.140576 8.643664000000001 10.9824 8.577584000000002 10.824 8.521376C8.408224 7.664048 7.451328 6.787872 6.768496 4.808C6.7229600000000005 4.676 6.63168 4.380800000000001 6.565648 4.152C6.499600000000001 3.9232 6.432176 3.7144000000000004 6.415792000000001 3.688C6.3668320000000005 3.6090720000000003 6.269056 3.5238080000000003 6.184976 3.4867040000000005C6.088864 3.4442880000000002 5.934832 3.432672 5.848 3.461312M5.970224 5.632C5.843184 5.930032000000001 5.740336 6.153055999999999 5.660352 6.304C5.1274880000000005 7.3095040000000004 4.444656 8.012896 3.424 8.607648C3.2281120000000003 8.721791999999999 2.750352 8.964816 2.576 9.038992L2.488 9.076432 2.544 9.101472C4.149248 9.818896 5.086272 10.674656 5.744064000000001 12.024000000000001C5.82128 12.1824 5.905056 12.364111999999999 5.930224 12.427808C5.955408 12.491488 5.980912 12.543696 5.986928 12.543808C5.992928 12.543904000000001 6.002944 12.527792 6.009168 12.508000000000001C6.042032 12.403552 6.26552 11.931168 6.3744 11.736C6.894432 10.803888 7.522016 10.163248 8.478544 9.588064000000001C8.683152 9.465024 9.166080000000001 9.216239999999999 9.424 9.101008L9.48 9.076 9.36 9.022816C9.102304 8.908592 8.700272000000002 8.699552 8.456 8.552752C7.564208 8.016832 6.945792000000001 7.398848 6.441520000000001 6.539696C6.335824 6.3596319999999995 6.104 5.888096 6.034576 5.712C5.99 5.598912 5.986288 5.594304 5.970224 5.632M12.834352 10.144736000000002C12.738592 10.164208 12.639392 10.2256 12.5624 10.313072C12.49224 10.392768 12.483216 10.414048000000001 12.38432 10.733216C12.148672000000001 11.493664 11.866272 11.79824 11.10816 12.109568C11.004672000000001 12.15208 10.8624 12.206031999999999 10.792 12.229504C10.614176 12.288752 10.518448000000001 12.364863999999999 10.448 12.503024C10.399104 12.598896000000002 10.39208 12.627376 10.392624 12.727360000000001C10.393136 12.82 10.401968 12.859696 10.43888 12.935152C10.523264 13.107632 10.591984 13.153488 10.968 13.28824C11.218512 13.378 11.589616 13.568816000000002 11.752 13.691343999999999C12.032 13.902624 12.2144 14.194144 12.368208000000001 14.67616C12.496576 15.078432000000001 12.493727999999999 15.072111999999999 12.590959999999999 15.169440000000002C12.703776 15.282368 12.799280000000001 15.318064000000001 12.965216 15.309344C13.1004 15.30224 13.20616 15.256976000000002 13.290752000000001 15.170016C13.36848 15.090112 13.380672 15.062912 13.494816 14.714448C13.66808 14.185472 13.820496 13.936064 14.120000000000001 13.691456C14.273536 13.566064 14.619104 13.393376 14.976 13.26368C15.233600000000001 13.17008 15.316688000000001 13.121376 15.39088 13.020496C15.54984 12.804336 15.503632 12.491392 15.288528000000001 12.327312000000001C15.256816 12.303136 15.126576 12.244848000000001 14.999088 12.197792C14.518592000000002 12.020448 14.220272000000001 11.858816000000001 14.009248 11.661472C13.755872 11.424512 13.612608 11.146624 13.433168 10.544C13.378704 10.361120000000001 13.30512 10.265008 13.167392 10.1968C13.053616 10.140464 12.941584 10.122944 12.834352 10.144736000000002M12.836176 12.084864C12.707647999999999 12.2584 12.445568 12.510288000000001 12.268544 12.6304L12.129408 12.724816 12.260704 12.81672C12.500736000000002 12.984736000000002 12.703312 13.181056 12.854896 13.392576C12.889360000000002 13.440656 12.922208000000001 13.485552 12.927904 13.49232C12.933584000000002 13.499103999999999 12.98584 13.440912 13.044016 13.363008C13.175472 13.18696 13.428495999999999 12.944544 13.608176 12.82248C13.683088 12.771600000000001 13.738896 12.725296 13.732192 12.7196C13.725488 12.713888 13.657328 12.664575999999999 13.58072 12.610032C13.399488 12.480992 13.214112 12.305584000000001 13.086352000000002 12.142256C13.030064000000001 12.070288000000001 12.973168 11.997648 12.959936 11.980832000000001C12.937168 11.951872 12.930592 11.957392 12.836176 12.084864" 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.695e02.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": "ff3f1f6dd1df2283f2c823ee3d4ba4f79381cb6e"
|
|
33
33
|
}
|