@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
62 lines • 3.68 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.ServiceBoxIcon = void 0;
var react_1 = __importStar(require("react"));
var __1 = __importDefault(require(".."));
var ServiceBoxIcon = 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": "service box icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.82 18.31c2.36 0 4.28-1.91 4.28-4.27 0-2.36-1.92-4.28-4.28-4.28-1.63 0-3.05.92-3.77 2.27a4.274 4.274 0 0 0-3.77-2.27c-.96 0-1.85.32-2.57.86V7a.85.85 0 0 0-.85-.82c-.47 0-.86.38-.86.82v7.11a4.275 4.275 0 0 0 8.05 1.93 4.274 4.274 0 0 0 3.77 2.27zm0-6.84a2.57 2.57 0 0 1 2.57 2.57 2.565 2.565 0 1 1-2.57-2.57zm-4.98 2.57c0-1.42-1.15-2.57-2.56-2.57a2.57 2.57 0 0 0-2.57 2.57 2.565 2.565 0 0 0 5.13 0zM23 17.47a.9.9 0 0 0-.16-.51l-2.18-2.92 2.18-2.93a.77.77 0 0 0 .16-.48c0-.27-.11-.53-.34-.7-.37-.28-.9-.21-1.16.16l-1.91 2.52-1.89-2.52a.866.866 0 0 0-1.2-.16c-.21.17-.33.42-.33.68 0 .18.05.35.16.5l2.17 2.93-2.17 2.92c-.1.15-.16.33-.16.5 0 .26.12.54.33.69.17.11.35.17.53.17.25 0 .5-.11.67-.32l1.89-2.53L21.5 18c.15.21.4.32.65.32.18 0 .35-.06.51-.17a.83.83 0 0 0 .34-.68z" }))));
});
exports.ServiceBoxIcon = ServiceBoxIcon;
ServiceBoxIcon.displayName = "ServiceBoxIcon";
ServiceBoxIcon.colors = __1.default.colors;
ServiceBoxIcon.sizes = __1.default.sizes;
//# sourceMappingURL=ServiceBox.dist.js.map