@codecademy/gamut-icons 9.4.4-alpha.c26c37.0 → 9.4.4-alpha.f14241.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 ThumbsDownFilledIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,80 @@
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 ThumbsDownFilledIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Thumbs Down Filled 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('ThumbsDownFilledIcon');
26
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
27
+ viewBox: "0 0 12 12",
28
+ fill: "#fff",
29
+ xmlns: "http://www.w3.org/2000/svg",
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 === undefined ? /*#__PURE__*/_jsx("title", {
39
+ id: titleId,
40
+ children: 'thumbs-down'
41
+ }) : title ? /*#__PURE__*/_jsx("title", {
42
+ id: titleId,
43
+ children: title
44
+ }) : null, /*#__PURE__*/_jsxs("mask", {
45
+ id: "".concat(maskId),
46
+ children: [/*#__PURE__*/_jsxs("g", {
47
+ clipPath: "url(#thumbs-down-filled-icon_svg__thumbs-down-filled-icon_svg__clip0_0_11)",
48
+ children: [/*#__PURE__*/_jsx("path", {
49
+ d: "M9.335 7.787h2.25v-6.75h-2.25v6.75z",
50
+ stroke: "#fff",
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round"
53
+ }), /*#__PURE__*/_jsx("path", {
54
+ d: "M9.335 1.79C7.059 1.79 6.873.883 3.792.698 2.927.646 2.306.601 1.73 1.34.464 2.963-.143 6.821 1.084 6.821H3.59a1 1 0 011 1v1.945c0 1.51 2.209 2.303 2.209.61 0-1.214.462-2.048 1.235-2.783.378-.36.82-.552 1.3-.655",
55
+ fill: "#fff"
56
+ }), /*#__PURE__*/_jsx("path", {
57
+ d: "M9.335 1.79C7.059 1.79 6.873.883 3.792.698 2.927.646 2.306.601 1.73 1.34.464 2.963-.143 6.821 1.084 6.821H3.59a1 1 0 011 1v1.945c0 1.51 2.209 2.303 2.209.61 0-1.214.462-2.048 1.235-2.783.378-.36.82-.552 1.3-.655",
58
+ stroke: "#fff",
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round"
61
+ })]
62
+ }), /*#__PURE__*/_jsx("defs", {
63
+ children: /*#__PURE__*/_jsx("clipPath", {
64
+ id: "thumbs-down-filled-icon_svg__thumbs-down-filled-icon_svg__clip0_0_11",
65
+ children: /*#__PURE__*/_jsx("path", {
66
+ fill: "#fff",
67
+ d: "M0 0h12v12H0z"
68
+ })
69
+ })
70
+ })]
71
+ }), /*#__PURE__*/_jsx("g", {
72
+ mask: "url(#".concat(maskId, ")"),
73
+ children: /*#__PURE__*/_jsx("rect", {
74
+ width: "100%",
75
+ height: "100%",
76
+ fill: "currentColor"
77
+ })
78
+ })]
79
+ }));
80
+ });
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { GamutIconProps } from '../../props';
3
+ export declare const ThumbsUpFilledIcon: React.ForwardRefExoticComponent<GamutIconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,80 @@
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 ThumbsUpFilledIcon = /*#__PURE__*/React.forwardRef(function (_ref, svgRef) {
15
+ var _ref$title = _ref.title,
16
+ title = _ref$title === void 0 ? 'Thumbs Up Filled 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('ThumbsUpFilledIcon');
26
+ return /*#__PURE__*/_jsxs(Svg, _objectSpread(_objectSpread({
27
+ viewBox: "0 0 12 12",
28
+ fill: "#fff",
29
+ xmlns: "http://www.w3.org/2000/svg",
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 === undefined ? /*#__PURE__*/_jsx("title", {
39
+ id: titleId,
40
+ children: 'thumbs-up'
41
+ }) : title ? /*#__PURE__*/_jsx("title", {
42
+ id: titleId,
43
+ children: title
44
+ }) : null, /*#__PURE__*/_jsxs("mask", {
45
+ id: "".concat(maskId),
46
+ children: [/*#__PURE__*/_jsxs("g", {
47
+ clipPath: "url(#thumbs-up-filled-icon_svg__thumbs-up-filled-icon_svg__clip0_1850_6404)",
48
+ children: [/*#__PURE__*/_jsx("path", {
49
+ d: "M2.665 4.213H.415v6.75h2.25v-6.75z",
50
+ stroke: "#fff",
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round"
53
+ }), /*#__PURE__*/_jsx("path", {
54
+ d: "M2.665 10.21c2.276 0 2.461.907 5.543 1.092.865.052 1.486.097 2.062-.642 1.265-1.623 1.873-5.48.646-5.48H8.409a1 1 0 01-1-1V2.233c0-1.51-2.21-2.302-2.21-.61 0 1.214-.462 2.048-1.234 2.783-.378.36-.82.552-1.3.655",
55
+ fill: "#fff"
56
+ }), /*#__PURE__*/_jsx("path", {
57
+ d: "M2.665 10.21c2.276 0 2.461.907 5.543 1.092.865.052 1.486.097 2.062-.642 1.265-1.623 1.873-5.48.646-5.48H8.409a1 1 0 01-1-1V2.233c0-1.51-2.21-2.302-2.21-.61 0 1.214-.462 2.048-1.234 2.783-.378.36-.82.552-1.3.655",
58
+ stroke: "#fff",
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round"
61
+ })]
62
+ }), /*#__PURE__*/_jsx("defs", {
63
+ children: /*#__PURE__*/_jsx("clipPath", {
64
+ id: "thumbs-up-filled-icon_svg__thumbs-up-filled-icon_svg__clip0_1850_6404",
65
+ children: /*#__PURE__*/_jsx("path", {
66
+ fill: "#fff",
67
+ d: "M0 0h12v12H0z"
68
+ })
69
+ })
70
+ })]
71
+ }), /*#__PURE__*/_jsx("g", {
72
+ mask: "url(#".concat(maskId, ")"),
73
+ children: /*#__PURE__*/_jsx("rect", {
74
+ width: "100%",
75
+ height: "100%",
76
+ fill: "currentColor"
77
+ })
78
+ })]
79
+ }));
80
+ });
@@ -188,7 +188,9 @@ export * from './SupportFilledIcon';
188
188
  export * from './SupportIcon';
189
189
  export * from './TagIcon';
190
190
  export * from './TerminalIcon';
191
+ export * from './ThumbsDownFilledIcon';
191
192
  export * from './ThumbsDownIcon';
193
+ export * from './ThumbsUpFilledIcon';
192
194
  export * from './ThumbsUpIcon';
193
195
  export * from './TrackIcon';
194
196
  export * from './TrashIcon';
@@ -188,7 +188,9 @@ export * from './SupportFilledIcon';
188
188
  export * from './SupportIcon';
189
189
  export * from './TagIcon';
190
190
  export * from './TerminalIcon';
191
+ export * from './ThumbsDownFilledIcon';
191
192
  export * from './ThumbsDownIcon';
193
+ export * from './ThumbsUpFilledIcon';
192
194
  export * from './ThumbsUpIcon';
193
195
  export * from './TrackIcon';
194
196
  export * from './TrashIcon';
@@ -0,0 +1,13 @@
1
+ <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <title>thumbs-down</title>
3
+ <g clip-path="url(#clip0_0_11)">
4
+ <path d="M9.3349 7.78709H11.5849V1.03711H9.3349V7.78709Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M9.33454 1.78954C7.05874 1.78954 6.87329 0.883291 3.79196 0.698231C2.9268 0.646266 2.30593 0.601451 1.72976 1.34021C0.464362 2.96266 -0.143433 6.82101 1.0839 6.82101H3.59099C4.14327 6.82101 4.59099 7.26876 4.59099 7.82101V9.76601C4.59099 11.276 6.79994 12.0685 6.79994 10.376C6.79994 9.16221 7.26244 8.32781 8.03509 7.59276C8.41304 7.23316 8.85494 7.04066 9.33454 6.93786" fill="white"/>
6
+ <path d="M9.33454 1.78954C7.05874 1.78954 6.87329 0.883291 3.79196 0.698231C2.9268 0.646266 2.30593 0.601451 1.72976 1.34021C0.464362 2.96266 -0.143433 6.82101 1.0839 6.82101H3.59099C4.14327 6.82101 4.59099 7.26876 4.59099 7.82101V9.76601C4.59099 11.276 6.79994 12.0685 6.79994 10.376C6.79994 9.16221 7.26244 8.32781 8.03509 7.59276C8.41304 7.23316 8.85494 7.04066 9.33454 6.93786" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </g>
8
+ <defs>
9
+ <clipPath id="clip0_0_11">
10
+ <rect width="12" height="12" fill="white"/>
11
+ </clipPath>
12
+ </defs>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <title>thumbs-up</title>
3
+ <g clip-path="url(#clip0_1850_6404)">
4
+ <path d="M2.66504 4.21289H0.415039V10.9629H2.66504V4.21289Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M2.66504 10.2105C4.94087 10.2105 5.12629 11.1168 8.20764 11.3019C9.07279 11.3538 9.69364 11.3986 10.2698 10.6599C11.5352 9.03743 12.143 5.17908 10.9157 5.17908H8.40859C7.85634 5.17908 7.40859 4.73135 7.40859 4.17907V2.23407C7.40859 0.724066 5.19964 -0.0683859 5.19964 1.62407C5.19964 2.83786 4.73714 3.67228 3.96451 4.40735C3.58656 4.76692 3.14467 4.95941 2.66504 5.06223" fill="white"/>
6
+ <path d="M2.66504 10.2105C4.94087 10.2105 5.12629 11.1168 8.20764 11.3019C9.07279 11.3538 9.69364 11.3986 10.2698 10.6599C11.5352 9.03743 12.143 5.17908 10.9157 5.17908H8.40859C7.85634 5.17908 7.40859 4.73135 7.40859 4.17907V2.23407C7.40859 0.724066 5.19964 -0.0683859 5.19964 1.62407C5.19964 2.83786 4.73714 3.67228 3.96451 4.40735C3.58656 4.76692 3.14467 4.95941 2.66504 5.06223" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </g>
8
+ <defs>
9
+ <clipPath id="clip0_1850_6404">
10
+ <rect width="12" height="12" fill="white"/>
11
+ </clipPath>
12
+ </defs>
13
+ </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.4.4-alpha.c26c37.0",
4
+ "version": "9.4.4-alpha.f14241.0",
5
5
  "author": "Codecademy <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@codecademy/gamut-styles": "16.1.4",
@@ -29,5 +29,5 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "types": "dist/index.d.ts",
32
- "gitHead": "d5c19d28c0b76bb1f5fc9937ec0e5c53c7293341"
32
+ "gitHead": "05f9abc4a8ace5eb742818ab635b0ce7ca3f4955"
33
33
  }