@codecademy/gamut-icons 8.0.2-alpha.2c40eb.0 → 8.0.2-alpha.3fdcb0.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 ReadGlassesIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,47 @@
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 { jsx as _jsx } from "react/jsx-runtime";
12
+ import { jsxs as _jsxs } from "react/jsx-runtime";
13
+ export var ReadGlassesIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
14
+ var _ref$title = _ref.title,
15
+ title = _ref$title === void 0 ? 'Read Glasses Icon' : _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
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
25
+ viewBox: "0 0 24 24",
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ strokeWidth: 1.5,
28
+ fill: "currentColor",
29
+ role: "img",
30
+ "aria-hidden": "true",
31
+ width: width,
32
+ height: height,
33
+ ref: svgRef,
34
+ "aria-labelledby": titleId
35
+ }, props), {}, {
36
+ children: [title ? /*#__PURE__*/_jsx("title", {
37
+ id: titleId,
38
+ children: title
39
+ }) : null, /*#__PURE__*/_jsx("path", {
40
+ d: "M12 23.251l-8.778-3.34a1.405 1.405 0 01-.972-1.337v-7.323a1.406 1.406 0 011.841-1.337L12 12.972zm8.778-3.34L12 23.251V12.972l7.909-3.058a1.406 1.406 0 011.841 1.337v7.323a1.405 1.405 0 01-.972 1.337zM3 4.501a3.75 3.75 0 107.5 0 3.75 3.75 0 10-7.5 0zm10.5 0a3.75 3.75 0 107.5 0 3.75 3.75 0 10-7.5 0zm-3 .071a1.5 1.5 0 113 0m9.75-.071H21m-18 0H.75m15 11.25l2.25-.75",
41
+ fill: "none",
42
+ stroke: "currentColor",
43
+ strokeLinecap: "round",
44
+ strokeLinejoin: "round"
45
+ })]
46
+ }));
47
+ });
@@ -149,6 +149,7 @@ export * from './RailsIcon';
149
149
  export * from './RatingStarCircleIcon';
150
150
  export * from './RatingStarGiveIcon';
151
151
  export * from './ReactIcon';
152
+ export * from './ReadGlassesIcon';
152
153
  export * from './RedditIcon';
153
154
  export * from './RefreshIcon';
154
155
  export * from './ResetIcon';
@@ -149,6 +149,7 @@ export * from './RailsIcon';
149
149
  export * from './RatingStarCircleIcon';
150
150
  export * from './RatingStarGiveIcon';
151
151
  export * from './ReactIcon';
152
+ export * from './ReadGlassesIcon';
152
153
  export * from './RedditIcon';
153
154
  export * from './RefreshIcon';
154
155
  export * from './ResetIcon';
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5" height="24" width="24"><path d="M12,23.251l-8.778-3.34a1.405,1.405,0,0,1-.972-1.337V11.251A1.406,1.406,0,0,1,4.091,9.914L12,12.972Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20.778,19.911,12,23.251V12.972l7.909-3.058a1.406,1.406,0,0,1,1.841,1.337v7.323A1.405,1.405,0,0,1,20.778,19.911Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.000 4.501 A3.750 3.750 0 1 0 10.500 4.501 A3.750 3.750 0 1 0 3.000 4.501 Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M13.500 4.501 A3.750 3.750 0 1 0 21.000 4.501 A3.750 3.750 0 1 0 13.500 4.501 Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10.5,4.572a1.5,1.5,0,1,1,3,0" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23.25 4.501L21 4.501" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 4.501L0.75 4.501" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15.75 15.751L18 15.001" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path></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": "8.0.2-alpha.2c40eb.0",
4
+ "version": "8.0.2-alpha.3fdcb0.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "license": "MIT",
22
22
  "devDependencies": {
23
- "@codecademy/gamut-tests": "5.0.2-alpha.2c40eb.0",
23
+ "@codecademy/gamut-tests": "5.0.1",
24
24
  "@svgr/cli": "5.5.0",
25
25
  "@testing-library/react": "^12.1.2",
26
26
  "svgo": "^1.3.2",
@@ -30,7 +30,7 @@
30
30
  "access": "public"
31
31
  },
32
32
  "dependencies": {
33
- "@codecademy/gamut-styles": "16.0.0-alpha.2c40eb.0",
33
+ "@codecademy/gamut-styles": "15.1.0",
34
34
  "@codecademy/variance": "0.21.0"
35
35
  },
36
36
  "peerDependencies": {
@@ -39,5 +39,5 @@
39
39
  "lodash": "^4.17.5",
40
40
  "react": "^17.0.2 || ^18.2.0"
41
41
  },
42
- "gitHead": "511889a0ea31f4e8c1847c66934719eab6754b9d"
42
+ "gitHead": "29e5a109063562c8563359450e46dcbafedbd5e1"
43
43
  }