@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
62 lines • 4.08 kB
JavaScript
;
// This file is generated by running the "icons" bin script.
// Manual changes might be lost - proceed with caution!
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ThumbDownIcon = void 0;
var react_1 = __importStar(require("react"));
var __1 = __importDefault(require(".."));
var ThumbDownIcon = react_1.forwardRef(function (props, ref) {
var ariaLabel = props["aria-label"], rest = __rest(props, ['aria-label']);
return (react_1.default.createElement(__1.default, __assign({}, rest, { ref: ref }),
react_1.default.createElement("svg", __assign({ "aria-label": "thumb down icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
react_1.default.createElement("path", { fillRule: "evenodd", d: "M14.6 15.5c.29-.072.788-.197 1.42-.298A1 1 0 0 0 17 16h4a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-.927.624c-.52-.162-.811-.262-.873-.324l-.3-.1C13.3 2.6 11.5 2 9 2H4.8C3.2 2 2 3.2 2 4.8v.3c-.3.3-1 1-1 2.2 0 .7.1 1.1.3 1.5l-.034.1C1.161 9.206 1 9.673 1 10.3c0 .627.16 1.094.266 1.4l.034.1-.039.113C1.156 12.218 1 12.67 1 13.2 1 14.7 2.3 16 3.8 16h2.035c.349 0 .596.352.524.693-.149.695-.203 1.524-.203 2.407 0 1.4.382 2.145 1.047 2.884a3.11 3.11 0 0 0 2.344 1.047c1.422 0 2.375-.125 2.375-1.547v-.243c-.004-.73-.009-1.869.178-2.941.2-.9.529-1.577 1.025-2.05.261-.249.775-.55 1.475-.75zM4.8 4c-.5 0-.8.3-.8.8v.4c0 .71-.298 1.002-.569 1.268C3.206 6.688 3 6.89 3 7.3c0 .495.121.718.23.918.09.164.17.312.17.582 0 .278-.086.45-.179.632A1.692 1.692 0 0 0 3 10.3c0 .429.115.656.221.868.093.183.179.354.179.632 0 .33-.121.6-.23.842-.09.198-.17.378-.17.558 0 .4.4.8.8.8H6c.844 0 1.488.44 1.844.938.355.497.508 1.062.453 1.859-.007.104-.02.22-.035.357-.043.401-.106.977-.106 1.946 0 .867.263 1.923 1.563 1.923.148 0 .281-.054.281-.223 0-.9 0-1.9.2-2.8.2-1.1.6-2.2 1.6-3.2.6-.6 1.5-1 2.3-1.3.45-.15 1.239-.3 1.9-.408V5.7l-1.5-.5c-.05 0-.1-.025-.15-.05a.355.355 0 0 0-.15-.05C12.7 4.5 11.3 4 9 4H4.8zM18 14h2V5h-2v9z" }))));
});
exports.ThumbDownIcon = ThumbDownIcon;
ThumbDownIcon.displayName = "ThumbDownIcon";
ThumbDownIcon.colors = __1.default.colors;
ThumbDownIcon.sizes = __1.default.sizes;
//# sourceMappingURL=ThumbDown.dist.js.map