@codecademy/gamut-icons 9.3.5 → 9.3.6-alpha.4eb5af.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,3 @@
1
+ import * as React from 'react';
2
+ import { GamutIconProps } from '../../props';
3
+ export declare const AiChatSparkFilledIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,70 @@
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 AiChatSparkFilledIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Ai Chat Spark Filled 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('AiChatSparkFilledIcon');
26
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
27
+ viewBox: "0 0 24 24",
28
+ fill: "#fff",
29
+ xmlns: "http://www.w3.org/2000/svg",
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__*/_jsxs("mask", {
42
+ id: "".concat(maskId),
43
+ children: [/*#__PURE__*/_jsx("g", {
44
+ clipPath: "url(#ai-chat-spark-filled-icon_svg__ai-chat-spark-filled-icon_svg__clip0_135_4439)",
45
+ transform: "scale(1.5)",
46
+ children: /*#__PURE__*/_jsx("path", {
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M12.947.781a.5.5 0 00-.982 0c-.234 1.195-1.173 2.14-2.324 2.372a.5.5 0 000 .98c1.152.23 2.09 1.175 2.324 2.37a.5.5 0 00.981 0c.235-1.195 1.173-2.139 2.324-2.37a.5.5 0 000-.98C14.12 2.92 13.181 1.976 12.947.78zM8.525 2.503a1.667 1.667 0 00.886 2.774c.678.136 1.264.708 1.409 1.45a1.667 1.667 0 002.879.79v3.548a1.666 1.666 0 01-1.667 1.666h-4.68a.332.332 0 00-.245.108l-2.254 2.458c-.616.671-1.737.235-1.737-.677v-1.888h-1.12a1.667 1.667 0 01-1.667-1.667V4.17a1.667 1.667 0 011.667-1.666h6.529z",
50
+ fill: "#fff"
51
+ })
52
+ }), /*#__PURE__*/_jsx("defs", {
53
+ children: /*#__PURE__*/_jsx("clipPath", {
54
+ id: "ai-chat-spark-filled-icon_svg__ai-chat-spark-filled-icon_svg__clip0_135_4439",
55
+ children: /*#__PURE__*/_jsx("path", {
56
+ fill: "#fff",
57
+ d: "M0 0h24v24H0z"
58
+ })
59
+ })
60
+ })]
61
+ }), /*#__PURE__*/_jsx("g", {
62
+ mask: "url(#".concat(maskId, ")"),
63
+ children: /*#__PURE__*/_jsx("rect", {
64
+ width: "100%",
65
+ height: "100%",
66
+ fill: "currentColor"
67
+ })
68
+ })]
69
+ }));
70
+ });
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { GamutIconProps } from '../../props';
3
+ export declare const AiChatSparkIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,82 @@
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 AiChatSparkIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Ai Chat Spark 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('AiChatSparkIcon');
26
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
27
+ viewBox: "0 0 24 24",
28
+ xmlns: "http://www.w3.org/2000/svg",
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__*/_jsxs("mask", {
42
+ id: "".concat(maskId),
43
+ children: [/*#__PURE__*/_jsx("path", {
44
+ d: "M0 0h24v24H0z"
45
+ }), /*#__PURE__*/_jsx("path", {
46
+ d: "M-5157-356c0-1.104.9-2 2-2h9211c1.1 0 2 .895 2 2v7827c0 1.1-.9 2-2 2h-9211c-1.1 0-2-.9-2-2V-356z"
47
+ }), /*#__PURE__*/_jsx("g", {
48
+ clipPath: "url(#ai-chat-spark-icon_svg__ai-chat-spark-icon_svg__clip0_0_1)",
49
+ stroke: "#fff",
50
+ strokeLinecap: "round",
51
+ strokeLinejoin: "round",
52
+ children: /*#__PURE__*/_jsx("path", {
53
+ d: "M14.646 5.614c2.03-.408 3.664-2.063 4.073-4.145.409 2.082 2.043 3.737 4.073 4.145m0 .002c-2.03.41-3.665 2.063-4.073 4.146-.41-2.083-2.043-3.737-4.074-4.146M10.802 4.29H3.208a2 2 0 00-2 2v10.343a2 2 0 002 2h2.18v3.333c0 .912 1.12 1.348 1.737.676l3.38-3.685a1 1 0 01.737-.324h7.02a2 2 0 002-2v-3.801"
54
+ })
55
+ }), /*#__PURE__*/_jsx("rect", {
56
+ x: -11.5,
57
+ y: -71.5,
58
+ width: 47,
59
+ height: 107,
60
+ rx: 4.5,
61
+ stroke: "#fff",
62
+ strokeDasharray: "10 5"
63
+ }), /*#__PURE__*/_jsx("path", {
64
+ d: "M-5155-357h9211v-2h-9211v2zm9212 1v7827h2V-356h-2zm-1 7828h-9211v2h9211v-2zm-9212-1V-356h-2v7827h2zm1 1c-.55 0-1-.45-1-1h-2c0 1.66 1.34 3 3 3v-2zm9212-1c0 .55-.45 1-1 1v2c1.66 0 3-1.34 3-3h-2zm-1-7828c.55 0 1 .448 1 1h2c0-1.657-1.34-3-3-3v2zm-9211-2c-1.66 0-3 1.343-3 3h2c0-.552.45-1 1-1v-2z"
65
+ }), /*#__PURE__*/_jsx("defs", {
66
+ children: /*#__PURE__*/_jsx("clipPath", {
67
+ id: "ai-chat-spark-icon_svg__ai-chat-spark-icon_svg__clip0_0_1",
68
+ children: /*#__PURE__*/_jsx("path", {
69
+ d: "M0 0h24v24H0z"
70
+ })
71
+ })
72
+ })]
73
+ }), /*#__PURE__*/_jsx("g", {
74
+ mask: "url(#".concat(maskId, ")"),
75
+ children: /*#__PURE__*/_jsx("rect", {
76
+ width: "100%",
77
+ height: "100%",
78
+ fill: "currentColor"
79
+ })
80
+ })]
81
+ }));
82
+ });
@@ -1,6 +1,8 @@
1
1
  export * from './AccountingCoinsIcon';
2
2
  export * from './AddBoldIcon';
3
3
  export * from './AddIcon';
4
+ export * from './AiChatSparkFilledIcon';
5
+ export * from './AiChatSparkIcon';
4
6
  export * from './AlarmClockIcon';
5
7
  export * from './AlertIcon';
6
8
  export * from './AmexIcon';
@@ -1,6 +1,8 @@
1
1
  export * from './AccountingCoinsIcon';
2
2
  export * from './AddBoldIcon';
3
3
  export * from './AddIcon';
4
+ export * from './AiChatSparkFilledIcon';
5
+ export * from './AiChatSparkIcon';
4
6
  export * from './AlarmClockIcon';
5
7
  export * from './AlertIcon';
6
8
  export * from './AmexIcon';
@@ -0,0 +1,10 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_135_4439)" transform="scale(1.5)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9467 0.781284C12.9244 0.667527 12.8633 0.565051 12.7738 0.491385C12.6843 0.417719 12.5719 0.377441 12.456 0.377441C12.3401 0.377441 12.2278 0.417719 12.1383 0.491385C12.0488 0.565051 11.9876 0.667527 11.9653 0.781284C11.7307 1.97595 10.792 2.92128 9.64135 3.15262C9.52832 3.17557 9.4267 3.23689 9.35371 3.32619C9.28072 3.41549 9.24084 3.52728 9.24084 3.64262C9.24084 3.75795 9.28072 3.86974 9.35371 3.95904C9.4267 4.04834 9.52832 4.10967 9.64135 4.13262C10.7927 4.36395 11.7307 5.30795 11.9653 6.50262C11.988 6.61601 12.0492 6.71805 12.1386 6.79138C12.228 6.8647 12.3401 6.90478 12.4557 6.90478C12.5713 6.90478 12.6834 6.8647 12.7728 6.79138C12.8622 6.71805 12.9234 6.61601 12.946 6.50262C13.1807 5.30795 14.1193 4.36395 15.27 4.13262C15.383 4.10967 15.4847 4.04834 15.5577 3.95904C15.6306 3.86974 15.6705 3.75795 15.6705 3.64262C15.6705 3.52728 15.6306 3.41549 15.5577 3.32619C15.4847 3.23689 15.383 3.17557 15.27 3.15262C14.1193 2.92128 13.1813 1.97595 12.9467 0.781284ZM8.52468 2.50262C8.32154 2.71921 8.17997 2.98615 8.11459 3.27581C8.04921 3.56547 8.06241 3.86733 8.15282 4.15018C8.24323 4.43303 8.40756 4.68659 8.62882 4.88463C8.85009 5.08267 9.12024 5.218 9.41135 5.27662C10.0893 5.41262 10.6747 5.98528 10.82 6.72728C10.8797 7.03167 11.0232 7.31336 11.2342 7.54065C11.4453 7.76795 11.7156 7.93182 12.0148 8.01385C12.3139 8.09588 12.63 8.09279 12.9275 8.00495C13.225 7.9171 13.4921 7.74798 13.6987 7.51662V11.0646C13.6987 11.5066 13.5231 11.9306 13.2105 12.2431C12.898 12.5557 12.474 12.7313 12.032 12.7313H7.35201C7.30587 12.7313 7.26024 12.7409 7.21801 12.7595C7.17578 12.7781 7.13787 12.8053 7.10668 12.8393L4.85335 15.2966C4.23668 15.968 3.11601 15.532 3.11601 14.62V12.732H1.99601C1.55398 12.732 1.13006 12.5564 0.817501 12.2438C0.50494 11.9312 0.329346 11.5073 0.329346 11.0653V4.16928C0.329346 3.72726 0.50494 3.30333 0.817501 2.99077C1.13006 2.67821 1.55398 2.50262 1.99601 2.50262H8.52468Z" fill="#000"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0_135_4439">
7
+ <rect width="24" height="24" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="24" height="24"/>
3
+ <path d="M-5157 -356C-5157 -357.104 -5156.1 -358 -5155 -358H4056C4057.1 -358 4058 -357.105 4058 -356V7471C4058 7472.1 4057.1 7473 4056 7473H-5155C-5156.1 7473 -5157 7472.1 -5157 7471V-356Z"/>
4
+ <g clip-path="url(#clip0_0_1)">
5
+ <path d="M14.646 5.61424C16.676 5.20624 18.31 3.55124 18.719 1.46924C19.128 3.55124 20.762 5.20624 22.792 5.61424M22.792 5.61624C20.762 6.02524 19.127 7.67924 18.719 9.76224C18.309 7.67924 16.676 6.02524 14.645 5.61624" stroke="#000" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M10.802 4.29004H3.20801C2.67757 4.29004 2.16887 4.50075 1.79379 4.87583C1.41872 5.2509 1.20801 5.75961 1.20801 6.29004V16.633C1.20801 17.1635 1.41872 17.6722 1.79379 18.0473C2.16887 18.4223 2.67757 18.633 3.20801 18.633H5.38801V21.966C5.38801 22.878 6.50801 23.314 7.12501 22.642L10.505 18.957C10.5987 18.8549 10.7126 18.7734 10.8395 18.7176C10.9663 18.6618 11.1034 18.633 11.242 18.633H18.262C18.7924 18.633 19.3011 18.4223 19.6762 18.0473C20.0513 17.6722 20.262 17.1635 20.262 16.633V12.832" stroke="#000" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </g>
8
+ <rect x="-11.5" y="-71.5" width="47" height="107" rx="4.5" stroke="#000" stroke-dasharray="10 5"/>
9
+ <path d="M-5155 -357H4056V-359H-5155V-357ZM4057 -356V7471H4059V-356H4057ZM4056 7472H-5155V7474H4056V7472ZM-5156 7471V-356H-5158V7471H-5156ZM-5155 7472C-5155.55 7472 -5156 7471.55 -5156 7471H-5158C-5158 7472.66 -5156.66 7474 -5155 7474V7472ZM4057 7471C4057 7471.55 4056.55 7472 4056 7472V7474C4057.66 7474 4059 7472.66 4059 7471H4057ZM4056 -357C4056.55 -357 4057 -356.552 4057 -356H4059C4059 -357.657 4057.66 -359 4056 -359V-357ZM-5155 -359C-5156.66 -359 -5158 -357.657 -5158 -356H-5156C-5156 -356.552 -5155.55 -357 -5155 -357V-359Z"/>
10
+ <defs>
11
+ <clipPath id="clip0_0_1">
12
+ <rect width="24" height="24"/>
13
+ </clipPath>
14
+ </defs>
15
+ </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.3.5",
4
+ "version": "9.3.6-alpha.4eb5af.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": "22d2395d6d6546850f0473d78a7f730e399d6772"
42
+ "gitHead": "155dd522bdeec7168197408f46bddc14fe2e33f2"
43
43
  }