@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
62 lines • 4.11 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.ThumbUpIcon = void 0;
var react_1 = __importStar(require("react"));
var __1 = __importDefault(require(".."));
var ThumbUpIcon = 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 up icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
react_1.default.createElement("path", { fillRule: "evenodd", d: "M9.4 8.5c-.29.072-.788.197-1.42.298A1 1 0 0 0 7 8H3a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h4a1 1 0 0 0 .927-.624c.52.162.811.262.873.324l.3.1c1.6.6 3.4 1.2 5.9 1.2h4.2c1.6 0 2.8-1.2 2.8-2.8v-.3c.3-.3 1-1 1-2.2 0-.7-.1-1.1-.3-1.5l.034-.1c.105-.306.266-.773.266-1.4 0-.627-.16-1.094-.266-1.4a11.768 11.768 0 0 1-.034-.1l.039-.113c.105-.305.261-.757.261-1.287C23 9.3 21.7 8 20.2 8h-2.035c-.349 0-.596-.352-.523-.693.148-.695.202-1.524.202-2.407 0-1.4-.382-2.145-1.047-2.884A3.11 3.11 0 0 0 14.453.969c-1.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.75zM19.2 20c.5 0 .8-.3.8-.8v-.4c0-.71.298-1.002.569-1.268.225-.22.431-.423.431-.832 0-.495-.121-.718-.23-.918-.09-.164-.17-.312-.17-.582 0-.278.086-.45.178-.632.107-.212.222-.44.222-.868 0-.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-.8H18c-.844 0-1.488-.44-1.844-.938-.355-.497-.508-1.062-.453-1.859.007-.105.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.408V18.3l1.5.5c.05 0 .1.025.15.05.05.025.1.05.15.05 1.5.6 2.9 1.1 5.2 1.1h4.2zM6 10H4v9h2v-9z" }))));
});
exports.ThumbUpIcon = ThumbUpIcon;
ThumbUpIcon.displayName = "ThumbUpIcon";
ThumbUpIcon.colors = __1.default.colors;
ThumbUpIcon.sizes = __1.default.sizes;
//# sourceMappingURL=ThumbUp.dist.js.map