@fremtind/jkl-icons-react
Advanced tools
Comparing version 7.0.2 to 7.1.0
@@ -35,3 +35,3 @@ "use strict"; | ||
const IconComponent = variants[bold ? "bold" : "regular"][variant]; | ||
return /* @__PURE__ */ import_react.default.createElement(IconComponent, { className: (0, import_classnames.default)(className, "jkl-icon", `jkl-icon--${variant}`), ...rest }); | ||
return /* @__PURE__ */ import_react.default.createElement(IconComponent, { className: (0, import_classnames.default)(className, "jkl-icon", `jkl-icon--${variant}`), "aria-hidden": true, ...rest }); | ||
}; | ||
@@ -38,0 +38,0 @@ return Icon; |
@@ -31,3 +31,3 @@ "use strict"; | ||
var import_react = __toESM(require("react")); | ||
const ErrorMedium = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement( | ||
const ErrorMedium = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ import_react.default.createElement( | ||
"path", | ||
@@ -37,6 +37,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm3.793-15.207L12 10.586 8.207 6.793 6.793 8.207 10.586 12l-3.793 3.793 1.414 1.414L12 13.414l3.793 3.793 1.414-1.414L13.414 12l3.793-3.793-1.414-1.414z", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm-1-8V7h2v7h-2zm2.25 2.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ import_react.default.createElement("defs", null, /* @__PURE__ */ import_react.default.createElement("clipPath", { id: "a" }, /* @__PURE__ */ import_react.default.createElement("path", { fill: "#fff", d: "M0 0h24v24H0z" })))); | ||
//# sourceMappingURL=ErrorMedium.js.map |
@@ -31,3 +31,3 @@ "use strict"; | ||
var import_react = __toESM(require("react")); | ||
const ErrorMediumBold = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement( | ||
const ErrorMediumBold = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ import_react.default.createElement( | ||
"path", | ||
@@ -37,6 +37,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm3.793-15.207L12 10.586 8.207 6.793 6.793 8.207 10.586 12l-3.793 3.793 1.414 1.414L12 13.414l3.793 3.793 1.414-1.414L13.414 12l3.793-3.793-1.414-1.414z", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm-1-8V7h2v7h-2zm2.25 2.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ import_react.default.createElement("defs", null, /* @__PURE__ */ import_react.default.createElement("clipPath", { id: "a" }, /* @__PURE__ */ import_react.default.createElement("path", { fill: "#fff", d: "M0 0h24v24H0z" })))); | ||
//# sourceMappingURL=ErrorMediumBold.js.map |
@@ -31,3 +31,3 @@ "use strict"; | ||
var import_react = __toESM(require("react")); | ||
const ErrorSmall = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement( | ||
const ErrorSmall = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ import_react.default.createElement( | ||
"path", | ||
@@ -37,6 +37,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM5.793 7.207L8.586 10l-2.793 2.793 1.414 1.414L10 11.414l2.793 2.793 1.414-1.414L11.414 10l2.793-2.793-1.414-1.414L10 8.586 7.207 5.793 5.793 7.207z", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM9.25 6v5h1.5V6h-1.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ import_react.default.createElement("defs", null, /* @__PURE__ */ import_react.default.createElement("clipPath", { id: "a" }, /* @__PURE__ */ import_react.default.createElement("path", { fill: "#fff", d: "M0 0h20v20H0z" })))); | ||
//# sourceMappingURL=ErrorSmall.js.map |
@@ -31,3 +31,3 @@ "use strict"; | ||
var import_react = __toESM(require("react")); | ||
const ErrorSmallBold = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement( | ||
const ErrorSmallBold = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react.default.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ import_react.default.createElement( | ||
"path", | ||
@@ -37,6 +37,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM5.793 7.207L8.586 10l-2.793 2.793 1.414 1.414L10 11.414l2.793 2.793 1.414-1.414L11.414 10l2.793-2.793-1.414-1.414L10 8.586 7.207 5.793 5.793 7.207z", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM9.25 6v5h1.5V6h-1.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ import_react.default.createElement("defs", null, /* @__PURE__ */ import_react.default.createElement("clipPath", { id: "a" }, /* @__PURE__ */ import_react.default.createElement("path", { fill: "#fff", d: "M0 0h20v20H0z" })))); | ||
//# sourceMappingURL=ErrorSmallBold.js.map |
@@ -6,3 +6,3 @@ import cn from "classnames"; | ||
const IconComponent = variants[bold ? "bold" : "regular"][variant]; | ||
return /* @__PURE__ */ React.createElement(IconComponent, { className: cn(className, "jkl-icon", `jkl-icon--${variant}`), ...rest }); | ||
return /* @__PURE__ */ React.createElement(IconComponent, { className: cn(className, "jkl-icon", `jkl-icon--${variant}`), "aria-hidden": true, ...rest }); | ||
}; | ||
@@ -9,0 +9,0 @@ return Icon; |
import React from "react"; | ||
const ErrorMedium = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement( | ||
const ErrorMedium = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ React.createElement( | ||
"path", | ||
@@ -7,6 +7,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm3.793-15.207L12 10.586 8.207 6.793 6.793 8.207 10.586 12l-3.793 3.793 1.414 1.414L12 13.414l3.793 3.793 1.414-1.414L13.414 12l3.793-3.793-1.414-1.414z", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm-1-8V7h2v7h-2zm2.25 2.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("clipPath", { id: "a" }, /* @__PURE__ */ React.createElement("path", { fill: "#fff", d: "M0 0h24v24H0z" })))); | ||
export { | ||
@@ -13,0 +13,0 @@ ErrorMedium |
import React from "react"; | ||
const ErrorMediumBold = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement( | ||
const ErrorMediumBold = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ React.createElement( | ||
"path", | ||
@@ -7,6 +7,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm3.793-15.207L12 10.586 8.207 6.793 6.793 8.207 10.586 12l-3.793 3.793 1.414 1.414L12 13.414l3.793 3.793 1.414-1.414L13.414 12l3.793-3.793-1.414-1.414z", | ||
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm-1-8V7h2v7h-2zm2.25 2.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("clipPath", { id: "a" }, /* @__PURE__ */ React.createElement("path", { fill: "#fff", d: "M0 0h24v24H0z" })))); | ||
export { | ||
@@ -13,0 +13,0 @@ ErrorMediumBold |
import React from "react"; | ||
const ErrorSmall = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement( | ||
const ErrorSmall = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ React.createElement( | ||
"path", | ||
@@ -7,6 +7,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM5.793 7.207L8.586 10l-2.793 2.793 1.414 1.414L10 11.414l2.793 2.793 1.414-1.414L11.414 10l2.793-2.793-1.414-1.414L10 8.586 7.207 5.793 5.793 7.207z", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM9.25 6v5h1.5V6h-1.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("clipPath", { id: "a" }, /* @__PURE__ */ React.createElement("path", { fill: "#fff", d: "M0 0h20v20H0z" })))); | ||
export { | ||
@@ -13,0 +13,0 @@ ErrorSmall |
import React from "react"; | ||
const ErrorSmallBold = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement( | ||
const ErrorSmallBold = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ React.createElement( | ||
"path", | ||
@@ -7,6 +7,6 @@ { | ||
clipRule: "evenodd", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM5.793 7.207L8.586 10l-2.793 2.793 1.414 1.414L10 11.414l2.793 2.793 1.414-1.414L11.414 10l2.793-2.793-1.414-1.414L10 8.586 7.207 5.793 5.793 7.207z", | ||
d: "M10 18a8 8 0 100-16 8 8 0 000 16zM9.25 6v5h1.5V6h-1.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z", | ||
fill: "currentColor" | ||
} | ||
)); | ||
)), /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("clipPath", { id: "a" }, /* @__PURE__ */ React.createElement("path", { fill: "#fff", d: "M0 0h20v20H0z" })))); | ||
export { | ||
@@ -13,0 +13,0 @@ ErrorSmallBold |
{ | ||
"name": "@fremtind/jkl-icons-react", | ||
"version": "7.0.2", | ||
"version": "7.1.0", | ||
"publishConfig": { | ||
@@ -58,3 +58,3 @@ "access": "public" | ||
}, | ||
"gitHead": "3def7a7685c9da4e0dfddf181b1e021ab1eb87da" | ||
"gitHead": "874026fb61a948217851f87e59bbd9bdc8223b24" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
490967
6106