@codecademy/gamut-icons 9.29.2-alpha.976eda.0 → 9.30.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 ProgrammingTeamChatIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,66 @@
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 ProgrammingTeamChatIcon = /*#__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('ProgrammingTeamChatIcon');
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__*/_jsxs("mask", {
41
+ id: "".concat(maskId),
42
+ children: [/*#__PURE__*/_jsx("path", {
43
+ d: "M2.25 14.25a3 3 0 106 0 3 3 0 10-6 0m-1.5 9a4.5 4.5 0 019 0zm20.599-10.5a3 3 0 11-5.6 1.5m-1.499 9a4.5 4.5 0 019 0zm-7.5-13.5H12v4.5l4.5-4.5h6v-9H6.75v9z",
44
+ fill: "none",
45
+ stroke: "#fff",
46
+ strokeLinecap: "round",
47
+ strokeLinejoin: "round",
48
+ strokeWidth: 1.5
49
+ }), /*#__PURE__*/_jsx("path", {
50
+ d: "M17.596 3L19.5 5.25 17.596 7.5M11.654 3L9.75 5.25l1.904 2.25M15 3l-.75 4.5",
51
+ fill: "none",
52
+ stroke: "#fff",
53
+ strokeLinecap: "round",
54
+ strokeLinejoin: "round",
55
+ strokeWidth: 1.5
56
+ })]
57
+ }), /*#__PURE__*/_jsx("g", {
58
+ mask: "url(#".concat(maskId, ")"),
59
+ children: /*#__PURE__*/_jsx("rect", {
60
+ width: "100%",
61
+ height: "100%",
62
+ fill: "currentColor"
63
+ })
64
+ })]
65
+ }));
66
+ });
@@ -192,6 +192,7 @@ export * from './PlayIcon';
192
192
  export * from './PortfolioProjectIcon';
193
193
  export * from './ProfessionalCertificateIcon';
194
194
  export * from './ProgrammingBrowserIcon';
195
+ export * from './ProgrammingTeamChatIcon';
195
196
  export * from './ProjectsIcon';
196
197
  export * from './PythonIcon';
197
198
  export * from './QrCodeScanIcon';
@@ -192,6 +192,7 @@ export * from './PlayIcon';
192
192
  export * from './PortfolioProjectIcon';
193
193
  export * from './ProfessionalCertificateIcon';
194
194
  export * from './ProgrammingBrowserIcon';
195
+ export * from './ProgrammingTeamChatIcon';
195
196
  export * from './ProjectsIcon';
196
197
  export * from './PythonIcon';
197
198
  export * from './QrCodeScanIcon';
package/dist/props.d.ts CHANGED
@@ -305,43 +305,34 @@ export declare const iconProps: import("@codecademy/variance/dist/types/config")
305
305
  };
306
306
  readonly borderRadius: {
307
307
  readonly property: "borderRadius";
308
- readonly scale: "borderRadii";
309
308
  };
310
309
  readonly borderRadiusLeft: {
311
310
  readonly property: "borderRadius";
312
311
  readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
313
- readonly scale: "borderRadii";
314
312
  };
315
313
  readonly borderRadiusTop: {
316
314
  readonly property: "borderRadius";
317
315
  readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
318
- readonly scale: "borderRadii";
319
316
  };
320
317
  readonly borderRadiusBottom: {
321
318
  readonly property: "borderRadius";
322
319
  readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
323
- readonly scale: "borderRadii";
324
320
  };
325
321
  readonly borderRadiusRight: {
326
322
  readonly property: "borderRadius";
327
323
  readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
328
- readonly scale: "borderRadii";
329
324
  };
330
325
  readonly borderRadiusTopLeft: {
331
326
  readonly property: "borderTopLeftRadius";
332
- readonly scale: "borderRadii";
333
327
  };
334
328
  readonly borderRadiusTopRight: {
335
329
  readonly property: "borderTopRightRadius";
336
- readonly scale: "borderRadii";
337
330
  };
338
331
  readonly borderRadiusBottomRight: {
339
332
  readonly property: "borderBottomRightRadius";
340
- readonly scale: "borderRadii";
341
333
  };
342
334
  readonly borderRadiusBottomLeft: {
343
335
  readonly property: "borderBottomLeftRadius";
344
- readonly scale: "borderRadii";
345
336
  };
346
337
  readonly borderStyle: {
347
338
  readonly property: "borderStyle";
@@ -641,43 +632,34 @@ export declare const Svg: import("@emotion/styled").StyledComponent<{
641
632
  }>;
642
633
  borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
643
634
  readonly property: "borderRadius";
644
- readonly scale: "borderRadii";
645
635
  }>;
646
636
  borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
647
637
  readonly property: "borderRadius";
648
638
  readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
649
- readonly scale: "borderRadii";
650
639
  }>;
651
640
  borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
652
641
  readonly property: "borderRadius";
653
642
  readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
654
- readonly scale: "borderRadii";
655
643
  }>;
656
644
  borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
657
645
  readonly property: "borderRadius";
658
646
  readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
659
- readonly scale: "borderRadii";
660
647
  }>;
661
648
  borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
662
649
  readonly property: "borderRadius";
663
650
  readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
664
- readonly scale: "borderRadii";
665
651
  }>;
666
652
  borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
667
653
  readonly property: "borderTopLeftRadius";
668
- readonly scale: "borderRadii";
669
654
  }>;
670
655
  borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
671
656
  readonly property: "borderTopRightRadius";
672
- readonly scale: "borderRadii";
673
657
  }>;
674
658
  borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
675
659
  readonly property: "borderBottomRightRadius";
676
- readonly scale: "borderRadii";
677
660
  }>;
678
661
  borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
679
662
  readonly property: "borderBottomLeftRadius";
680
- readonly scale: "borderRadii";
681
663
  }>;
682
664
  borderStyle?: import("@codecademy/variance/dist/types/config").Scale<{
683
665
  readonly property: "borderStyle";
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="Programming-Team-Chat--Streamline-Ultimate.svg" height="24" width="24"><desc>Programming Team Chat Streamline Icon: https://streamlinehq.com</desc><defs></defs><title>programming-team-chat</title><path d="M2.25 14.25a3 3 0 1 0 6 0 3 3 0 1 0 -6 0" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M0.75 23.25a4.5 4.5 0 0 1 9 0Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M21.349 12.75a3 3 0 1 1 -5.6 1.5" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 23.25a4.5 4.5 0 0 1 9 0Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="m6.75 9.75 5.25 0 0 4.5 4.5 -4.5 6 0 0 -9 -15.75 0 0 9z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.596 3 19.5 5.25 17.596 7.5" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M11.654 3 9.75 5.25l1.904 2.25" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="m15 3 -0.75 4.5" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@codecademy/gamut-icons",
3
3
  "description": "Icon library for codecademy.com",
4
- "version": "9.29.2-alpha.976eda.0",
4
+ "version": "9.30.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "16.3.1-alpha.976eda.0",
7
+ "@codecademy/gamut-styles": "16.3.0",
8
8
  "@codecademy/variance": "0.21.3"
9
9
  },
10
10
  "files": [
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "types": "dist/index.d.ts",
32
- "gitHead": "eef16af1cac25e5360f01d685b288c315886a160"
32
+ "gitHead": "f0fc68fd9db46367fb7a70fbc4cb7b4e6533d5a9"
33
33
  }