@codecademy/gamut-icons 9.29.2-alpha.96332a.0 → 9.29.2-alpha.976eda.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.
@@ -192,7 +192,6 @@ export * from './PlayIcon';
192
192
  export * from './PortfolioProjectIcon';
193
193
  export * from './ProfessionalCertificateIcon';
194
194
  export * from './ProgrammingBrowserIcon';
195
- export * from './ProgrammingTeamChatIcon';
196
195
  export * from './ProjectsIcon';
197
196
  export * from './PythonIcon';
198
197
  export * from './QrCodeScanIcon';
@@ -192,7 +192,6 @@ export * from './PlayIcon';
192
192
  export * from './PortfolioProjectIcon';
193
193
  export * from './ProfessionalCertificateIcon';
194
194
  export * from './ProgrammingBrowserIcon';
195
- export * from './ProgrammingTeamChatIcon';
196
195
  export * from './ProjectsIcon';
197
196
  export * from './PythonIcon';
198
197
  export * from './QrCodeScanIcon';
package/dist/props.d.ts CHANGED
@@ -305,34 +305,43 @@ 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";
308
309
  };
309
310
  readonly borderRadiusLeft: {
310
311
  readonly property: "borderRadius";
311
312
  readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
313
+ readonly scale: "borderRadii";
312
314
  };
313
315
  readonly borderRadiusTop: {
314
316
  readonly property: "borderRadius";
315
317
  readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
318
+ readonly scale: "borderRadii";
316
319
  };
317
320
  readonly borderRadiusBottom: {
318
321
  readonly property: "borderRadius";
319
322
  readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
323
+ readonly scale: "borderRadii";
320
324
  };
321
325
  readonly borderRadiusRight: {
322
326
  readonly property: "borderRadius";
323
327
  readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
328
+ readonly scale: "borderRadii";
324
329
  };
325
330
  readonly borderRadiusTopLeft: {
326
331
  readonly property: "borderTopLeftRadius";
332
+ readonly scale: "borderRadii";
327
333
  };
328
334
  readonly borderRadiusTopRight: {
329
335
  readonly property: "borderTopRightRadius";
336
+ readonly scale: "borderRadii";
330
337
  };
331
338
  readonly borderRadiusBottomRight: {
332
339
  readonly property: "borderBottomRightRadius";
340
+ readonly scale: "borderRadii";
333
341
  };
334
342
  readonly borderRadiusBottomLeft: {
335
343
  readonly property: "borderBottomLeftRadius";
344
+ readonly scale: "borderRadii";
336
345
  };
337
346
  readonly borderStyle: {
338
347
  readonly property: "borderStyle";
@@ -632,34 +641,43 @@ export declare const Svg: import("@emotion/styled").StyledComponent<{
632
641
  }>;
633
642
  borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
634
643
  readonly property: "borderRadius";
644
+ readonly scale: "borderRadii";
635
645
  }>;
636
646
  borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
637
647
  readonly property: "borderRadius";
638
648
  readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
649
+ readonly scale: "borderRadii";
639
650
  }>;
640
651
  borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
641
652
  readonly property: "borderRadius";
642
653
  readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
654
+ readonly scale: "borderRadii";
643
655
  }>;
644
656
  borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
645
657
  readonly property: "borderRadius";
646
658
  readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
659
+ readonly scale: "borderRadii";
647
660
  }>;
648
661
  borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
649
662
  readonly property: "borderRadius";
650
663
  readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
664
+ readonly scale: "borderRadii";
651
665
  }>;
652
666
  borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
653
667
  readonly property: "borderTopLeftRadius";
668
+ readonly scale: "borderRadii";
654
669
  }>;
655
670
  borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
656
671
  readonly property: "borderTopRightRadius";
672
+ readonly scale: "borderRadii";
657
673
  }>;
658
674
  borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
659
675
  readonly property: "borderBottomRightRadius";
676
+ readonly scale: "borderRadii";
660
677
  }>;
661
678
  borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
662
679
  readonly property: "borderBottomLeftRadius";
680
+ readonly scale: "borderRadii";
663
681
  }>;
664
682
  borderStyle?: import("@codecademy/variance/dist/types/config").Scale<{
665
683
  readonly property: "borderStyle";
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.96332a.0",
4
+ "version": "9.29.2-alpha.976eda.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "16.3.0",
7
+ "@codecademy/gamut-styles": "16.3.1-alpha.976eda.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": "d14868c93ba57f1ddde7ba2491e17077a8eb7f2b"
32
+ "gitHead": "eef16af1cac25e5360f01d685b288c315886a160"
33
33
  }
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { GamutIconProps } from '../../props';
3
- export declare const ProgrammingTeamChatIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -1,66 +0,0 @@
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
- });
@@ -1 +0,0 @@
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>