@codecademy/gamut-icons 9.3.5 → 9.3.6-alpha.8bcbcb.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.
- package/dist/icons/regular/AiChatSparkFilledIcon.d.ts +3 -0
- package/dist/icons/regular/AiChatSparkFilledIcon.js +70 -0
- package/dist/icons/regular/AiChatSparkIcon.d.ts +3 -0
- package/dist/icons/regular/AiChatSparkIcon.js +70 -0
- package/dist/icons/regular/index.d.ts +2 -0
- package/dist/icons/regular/index.js +2 -0
- package/dist/svg/regular/ai-chat-spark-filled-icon.svg +10 -0
- package/dist/svg/regular/ai-chat-spark-icon.svg +11 -0
- package/package.json +2 -2
|
@@ -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,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 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
|
+
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-icon_svg__ai-chat-spark-icon_svg__clip0_216_5487)",
|
|
45
|
+
transform: "scale(1.5)",
|
|
46
|
+
stroke: "#fff",
|
|
47
|
+
strokeLinecap: "round",
|
|
48
|
+
strokeLinejoin: "round",
|
|
49
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
50
|
+
d: "M9.764 3.743c1.353-.272 2.443-1.376 2.715-2.764.273 1.388 1.362 2.492 2.716 2.764m0 .001c-1.354.273-2.444 1.375-2.716 2.764-.273-1.389-1.362-2.491-2.716-2.764M7.201 2.86H2.14A1.333 1.333 0 00.805 4.193v6.896a1.333 1.333 0 001.334 1.333h1.453v2.222c0 .608.747.899 1.158.45l2.253-2.456a.667.667 0 01.492-.216h4.68a1.333 1.333 0 001.333-1.334V8.556"
|
|
51
|
+
})
|
|
52
|
+
}), /*#__PURE__*/_jsx("defs", {
|
|
53
|
+
children: /*#__PURE__*/_jsx("clipPath", {
|
|
54
|
+
id: "ai-chat-spark-icon_svg__ai-chat-spark-icon_svg__clip0_216_5487",
|
|
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
|
+
});
|
|
@@ -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,11 @@
|
|
|
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_216_5487)" transform="scale(1.5)">
|
|
3
|
+
<path d="M9.76385 3.74283C11.1172 3.47083 12.2065 2.36749 12.4792 0.979492C12.7518 2.36749 13.8412 3.47083 15.1945 3.74283M15.1945 3.74416C13.8412 4.01683 12.7512 5.11949 12.4792 6.50816C12.2058 5.11949 11.1172 4.01683 9.76318 3.74416" stroke="#000" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M7.20118 2.85986H2.13851C1.78489 2.85986 1.44575 3.00034 1.1957 3.25039C0.945652 3.50044 0.805176 3.83957 0.805176 4.1932V11.0885C0.805176 11.4422 0.945652 11.7813 1.1957 12.0313C1.44575 12.2814 1.78489 12.4219 2.13851 12.4219H3.59184V14.6439C3.59184 15.2519 4.33851 15.5425 4.74984 15.0945L7.00318 12.6379C7.06563 12.5698 7.14156 12.5154 7.22615 12.4782C7.31073 12.4411 7.40211 12.4219 7.49451 12.4219H12.1745C12.5281 12.4219 12.8673 12.2814 13.1173 12.0313C13.3674 11.7813 13.5078 11.4422 13.5078 11.0885V8.55453" stroke="#000" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_216_5487">
|
|
8
|
+
<rect width="24" height="24" fill="white"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</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.
|
|
4
|
+
"version": "9.3.6-alpha.8bcbcb.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": "3c41905360b0344539c1a8f4c1d87e966993dddd"
|
|
43
43
|
}
|