@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
62 lines • 3.45 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.EyeOffIcon = void 0;
var react_1 = __importStar(require("react"));
var __1 = __importDefault(require(".."));
var EyeOffIcon = 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": "eye off icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.648 20.868 3.632 4.852a.5.5 0 0 0-.706-.001l-.57.566-.001.001a.5.5 0 0 0 0 .707L4.19 7.96C2.79 9.19 1.69 10.74 1 12.5 2.73 16.89 7 20 12 20c1.28 0 2.5-.2 3.65-.58l2.725 2.725.002.002a.5.5 0 0 0 .707-.003l.565-.57a.5.5 0 0 0-.001-.706zM14.83 13.5A3 3 0 0 0 11 9.67l3.83 3.83zm8.17-1a11.79 11.79 0 0 1-4 5.19l-1.42-1.43a9.861 9.861 0 0 0 3.24-3.76A9.821 9.821 0 0 0 12 7c-1.09 0-2.16.18-3.16.5L7.3 5.97C8.74 5.35 10.33 5 12 5c5 0 9.27 3.11 11 7.5zM12 18c-3.76 0-7.17-2.14-8.82-5.5.6-1.22 1.43-2.28 2.42-3.13L9 12.78a3.064 3.064 0 0 0 2.72 2.72L14 17.79c-.63.14-1.31.21-2 .21z" }))));
});
exports.EyeOffIcon = EyeOffIcon;
EyeOffIcon.displayName = "EyeOffIcon";
EyeOffIcon.colors = __1.default.colors;
EyeOffIcon.sizes = __1.default.sizes;
//# sourceMappingURL=EyeOff.dist.js.map