@codecademy/gamut-icons 9.28.0 → 9.28.1-alpha.c35dd3.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 FlutterIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,55 @@
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 FlutterIcon = /*#__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('FlutterIcon');
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__*/_jsx("mask", {
41
+ id: "".concat(maskId),
42
+ children: /*#__PURE__*/_jsx("path", {
43
+ d: "M10.594.25a.836.836 0 00-.204.08c-.045.03-2.108 2.08-4.585 4.56C.8 9.897 1.21 9.458 1.213 9.804c0 .34-.11.213 2.166 2.489s2.147 2.163 2.489 2.166c.348.002-.312.63 6.883-6.56 5.313-5.31 6.486-6.493 6.536-6.596a.746.746 0 00-.533-1.061c-.213-.04-7.997-.032-8.16.008M7.062 5.766L3.024 9.804l1.422 1.422 1.422 1.422 5.46-5.46 5.46-5.46H11.1L7.062 5.766m6.972 3.788a1.09 1.09 0 00-.192.072c-.144.071-6.11 6.04-6.19 6.19-.048.092-.056.143-.056.348s.008.256.056.348c.04.076 1.11 1.161 3.564 3.617 3.177 3.178 3.522 3.515 3.652 3.576l.144.067h7.2l.136-.064a.847.847 0 00.384-.375.801.801 0 00-.01-.629c-.054-.11-.577-.644-3.27-3.336l-3.204-3.204 2.733-2.736c2.618-2.62 2.736-2.742 2.784-2.875a.769.769 0 00-.4-.96l-.113-.053-3.564-.004c-2.03-.002-3.603.006-3.654.018m-2.076 4.036c-1.403 1.403-2.55 2.56-2.55 2.574 0 .013.527.55 1.17 1.194l1.17 1.17 3.744-3.744 3.744-3.744h-4.728l-2.55 2.55m2.04 4.824l-1.182 1.182 1.338 1.338 1.338 1.338 2.358-.006 2.358-.006-2.514-2.514-2.514-2.514-1.182 1.182",
44
+ fillRule: "evenodd"
45
+ })
46
+ }), /*#__PURE__*/_jsx("g", {
47
+ mask: "url(#".concat(maskId, ")"),
48
+ children: /*#__PURE__*/_jsx("rect", {
49
+ width: "100%",
50
+ height: "100%",
51
+ fill: "currentColor"
52
+ })
53
+ })]
54
+ }));
55
+ });
@@ -96,6 +96,7 @@ export * from './FilterIcon';
96
96
  export * from './FitNormalIcon';
97
97
  export * from './FitShrinkIcon';
98
98
  export * from './FitnessDumbbellIcon';
99
+ export * from './FlutterIcon';
99
100
  export * from './FolderAddIcon';
100
101
  export * from './FolderIcon';
101
102
  export * from './ForkIcon';
@@ -96,6 +96,7 @@ export * from './FilterIcon';
96
96
  export * from './FitNormalIcon';
97
97
  export * from './FitShrinkIcon';
98
98
  export * from './FitnessDumbbellIcon';
99
+ export * from './FlutterIcon';
99
100
  export * from './FolderAddIcon';
100
101
  export * from './FolderIcon';
101
102
  export * from './ForkIcon';
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" version="1.1" id="Flutter-Logo--Streamline-Ultimate.svg">
2
+ <title>flutter</title>
3
+ <path d="M10.593767999999999 0.24976800000000002C10.526544 0.266088 10.434744 0.302472 10.389768 0.330648C10.344792 0.3588 8.28156 2.410032 5.804784000000001 4.888920000000001C0.801432 9.896544 1.211424 9.457728 1.212528 9.804C1.213608 10.14396 1.103136 10.017024 3.3790560000000003 12.292944C5.654688 14.5686 5.525784000000001 14.456424 5.868 14.458824000000002C6.215712 14.461272000000001 5.556432 15.089592 12.750768 7.899216000000001C18.063816 2.5890720000000003 19.236552 1.405632 19.286904 1.303368C19.504800000000003 0.861 19.23888 0.33129600000000003 18.753912 0.24163199999999999C18.54132 0.202344 10.757184 0.210096 10.593767999999999 0.24976800000000002M7.061952 5.7660480000000005L3.023952 9.804096000000001 4.446024 11.226023999999999L5.8680959999999995 12.647952000000002 11.328024 7.187976000000001L16.787952 1.728 13.943952000000001 1.728L11.099952 1.728 7.061952 5.7660480000000005M14.033616 9.55392C13.983912 9.565728 13.897512 9.598152 13.841616000000002 9.625968C13.698096000000001 9.697344 7.73112 15.665088 7.6523520000000005 15.816C7.604159999999999 15.908351999999999 7.596 15.958775999999999 7.596 16.164C7.596 16.369056 7.604184 16.419719999999998 7.652280000000001 16.512C7.691664 16.587576000000002 8.761536000000001 17.67336 11.216280000000001 20.129016C14.392800000000001 23.306712 14.737608 23.644368 14.868 23.705016L15.012 23.772000000000002 18.612000000000002 23.772000000000002L22.212 23.772000000000002 22.34772 23.708376C22.508208 23.633136 22.655688 23.488968 22.732104000000003 23.332632C22.815192 23.162592 22.810992 22.883015999999998 22.722624 22.704C22.66788 22.59312 22.144944000000002 22.0596 19.45284 19.368144L16.248216 16.164288 18.981408000000002 13.428144C21.598584000000002 10.808159999999999 21.71676 10.686096000000001 21.765312 10.553088C21.902112 10.17828 21.728016 9.759888 21.36564 9.592488000000001L21.252 9.540000000000001 17.688 9.536208C15.658224 9.534072 14.085096 9.54168 14.033616 9.55392M11.957952 13.590048C10.555488 14.992560000000001 9.408 16.150896 9.408 16.164144C9.408 16.177368 9.934536000000001 16.714632 10.578048 17.358072L11.74812 18.527928 15.492023999999999 14.783976000000001L19.235952 11.040000000000001 16.871928 11.040000000000001L14.507904 11.040000000000001 11.957952 13.590048M13.997928 18.414072L12.816 19.596168 14.154192000000002 20.934192000000003L15.492408000000001 22.27224 17.85024 22.26612L20.208096 22.26 17.693976 19.745976000000002L15.179856000000001 17.231952000000003 13.997928 18.414072" stroke="none" fill="#000" fill-rule="evenodd"></path>
4
+ </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.28.0",
4
+ "version": "9.28.1-alpha.c35dd3.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@codecademy/gamut-styles": "16.3.0",
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "types": "dist/index.d.ts",
32
- "gitHead": "fc34d9e6e446f16bfe4d585260aa61ce832e8d80"
32
+ "gitHead": "41f75eb168a3de944d75f543a4df4b0183aa558e"
33
33
  }