@codecademy/gamut-icons 9.22.0 → 9.22.1-alpha.46db83.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 MiniThumbsDownIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,58 @@
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 MiniThumbsDownIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Mini Thumbs Down 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('MiniThumbsDownIcon');
26
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ fill: "#fff",
29
+ viewBox: "0 0 14 14",
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__*/_jsx("mask", {
42
+ id: "".concat(maskId),
43
+ children: /*#__PURE__*/_jsx("path", {
44
+ fill: "#fff",
45
+ fillRule: "evenodd",
46
+ d: "M4.458 1.243A2.5 2.5 0 015.534 1h5.346a2.5 2.5 0 012.47 2.114l.626 4.003a2 2 0 01-1.977 2.309H8.717v2.358a1.625 1.625 0 01-3.044.794l-2.077-3.71a1.5 1.5 0 01-.191-.733V2.692a1.5 1.5 0 01.855-1.354l.199-.095zM.996 8.684A.996.996 0 010 7.688V2.575a.996.996 0 01.996-.996h.497a.5.5 0 01.5.5v6.106a.5.5 0 01-.5.5H.995z",
47
+ clipRule: "evenodd"
48
+ })
49
+ }), /*#__PURE__*/_jsx("g", {
50
+ mask: "url(#".concat(maskId, ")"),
51
+ children: /*#__PURE__*/_jsx("rect", {
52
+ width: "100%",
53
+ height: "100%",
54
+ fill: "currentColor"
55
+ })
56
+ })]
57
+ }));
58
+ });
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { GamutIconProps } from '../../props';
3
+ export declare const MiniThumbsUpIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,58 @@
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 MiniThumbsUpIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Mini Thumbs Up 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('MiniThumbsUpIcon');
26
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ fill: "#fff",
29
+ viewBox: "0 0 14 14",
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__*/_jsx("mask", {
42
+ id: "".concat(maskId),
43
+ children: /*#__PURE__*/_jsx("path", {
44
+ fill: "#fff",
45
+ fillRule: "evenodd",
46
+ d: "M4.458 12.757A2.5 2.5 0 005.534 13h5.346a2.5 2.5 0 002.47-2.114l.626-4.003a2 2 0 00-1.977-2.309H8.717V2.216a1.625 1.625 0 00-3.044-.794l-2.077 3.71a1.5 1.5 0 00-.191.733v5.443a1.5 1.5 0 00.855 1.354l.199.095zM.996 5.316A.996.996 0 000 6.312v5.113a.996.996 0 00.996.996h.497a.5.5 0 00.5-.5V5.815a.5.5 0 00-.5-.5H.995z",
47
+ clipRule: "evenodd"
48
+ })
49
+ }), /*#__PURE__*/_jsx("g", {
50
+ mask: "url(#".concat(maskId, ")"),
51
+ children: /*#__PURE__*/_jsx("rect", {
52
+ width: "100%",
53
+ height: "100%",
54
+ fill: "currentColor"
55
+ })
56
+ })]
57
+ }));
58
+ });
@@ -20,5 +20,7 @@ export * from './MiniPinIcon';
20
20
  export * from './MiniRemoveCircleIcon';
21
21
  export * from './MiniRibbonIcon';
22
22
  export * from './MiniStarIcon';
23
+ export * from './MiniThumbsDownIcon';
24
+ export * from './MiniThumbsUpIcon';
23
25
  export * from './MiniUndoIcon';
24
26
  export * from './MiniWarningTriangleIcon';
@@ -20,5 +20,7 @@ export * from './MiniPinIcon';
20
20
  export * from './MiniRemoveCircleIcon';
21
21
  export * from './MiniRibbonIcon';
22
22
  export * from './MiniStarIcon';
23
+ export * from './MiniThumbsDownIcon';
24
+ export * from './MiniThumbsUpIcon';
23
25
  export * from './MiniUndoIcon';
24
26
  export * from './MiniWarningTriangleIcon';
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14" id="Dislike-1--Streamline-Core.svg"><desc>Dislike 1 Streamline Icon: https://streamlinehq.com</desc><g id="dislike-1--reward-down-thumb-hand-social-media-dislike-rating"><path id="Union" fill="#000000" fill-rule="evenodd" d="M4.45799 1.24322C4.79396 1.08309 5.16144 1 5.53361 1L10.8797 0.999999c1.2316 0 2.2797 0.897001 2.47 2.113851l0.6258 4.00326c0.1897 1.213 -0.7482 2.30892 -1.976 2.30892l-3.28369 0 0 2.35757c0 0.8976 -0.72765 1.6253 -1.62525 1.6253 -0.5883 0 -1.13067 -0.3179 -1.41809 -0.8312L3.59513 8.86759c-0.12536 -0.2239 -0.19119 -0.47622 -0.19119 -0.73282l-0.00001 -5.44243c0 -0.57837 0.33252 -1.10522 0.85463 -1.35407l0.19943 -0.09505ZM0.996355 8.68436c-0.264249 0 -0.517676 -0.10498 -0.704529 -0.29183C0.104973 8.20568 6.078e-7 7.95225 5.847e-7 7.688l-4.47e-7 -5.11262C1.147e-7 2.31113 0.104973 2.0577 0.291826 1.87085c0.186853 -0.18686 0.440279 -0.29183 0.704529 -0.29183l0.000215 0 0.49635 0.00022c0.27606 0.00011 0.49979 0.22394 0.49979 0.5l0 6.10533c0 0.13265 -0.05271 0.25985 -0.14652 0.35363 -0.09382 0.09377 -0.22105 0.14643 -0.3537 0.14637l-0.496135 -0.00021Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14" id="Like-1--Streamline-Core.svg"><desc>Like 1 Streamline Icon: https://streamlinehq.com</desc><g id="like-1--reward-social-up-rating-media-like-thumb-hand"><path id="Union" fill="#000000" fill-rule="evenodd" d="M4.45799 12.7568c0.33597 0.1601 0.70345 0.2432 1.07562 0.2432l5.34609 0c1.2316 0 2.2797 -0.897 2.47 -2.1139l0.6258 -4.00322c0.1897 -1.213 -0.7482 -2.30892 -1.976 -2.30892l-3.28369 0 0 -2.35762c0 -0.8976 -0.72765 -1.625246 -1.62525 -1.625246 -0.5883 0 -1.13067 0.31792 -1.41809 0.831236L3.59513 5.1324c-0.12536 0.2239 -0.19119 0.47622 -0.19119 0.73282l-0.00001 5.44238c0 0.5784 0.33252 1.1053 0.85463 1.3541l0.19943 0.0951ZM0.996355 5.31563c-0.264249 0 -0.517676 0.10497 -0.704529 0.29183 -0.186853 0.18685 -0.291825523 0.44028 -0.2918254999 0.70453l4.47e-7 5.11261c2.31e-8 0.2643 0.1049720529 0.5177 0.2918250529 0.7045 0.186853 0.1869 0.440279 0.2919 0.704529 0.2919l0.000215 0 0.49636 -0.0002c0.27605 -0.0002 0.49978 -0.224 0.49978 -0.5l0 -6.10538c0 -0.13265 -0.05271 -0.25986 -0.14652 -0.35363 -0.09382 -0.09378 -0.22105 -0.14643 -0.3537 -0.14637l-0.496135 0.00021Z" clip-rule="evenodd" stroke-width="1"></path></g></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.22.0",
4
+ "version": "9.22.1-alpha.46db83.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@codecademy/gamut-styles": "16.2.0",
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "types": "dist/index.d.ts",
32
- "gitHead": "7648fd7822c98f2e2d3889ecb79e80e9c16c146a"
32
+ "gitHead": "49d9685ac1902d172f2b62ccb4f0319757aeac44"
33
33
  }