@navikt/aksel-icons 4.1.4 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/metadata.js +1 -1
- package/dist/metadata.mjs +1 -1
- package/dist/react/cjs/ChevronLeftFirst.js +48 -0
- package/dist/react/cjs/ChevronRightLast.js +48 -0
- package/dist/react/cjs/index.js +18 -14
- package/dist/react/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/react/esm/ChevronLeftFirst.d.ts +7 -0
- package/dist/react/esm/ChevronLeftFirst.js +23 -0
- package/dist/react/esm/ChevronRightLast.d.ts +7 -0
- package/dist/react/esm/ChevronRightLast.js +23 -0
- package/dist/react/esm/index.d.ts +2 -0
- package/dist/react/esm/index.js +2 -0
- package/dist/react/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/svg/ChevronLeftFirst.svg +3 -0
- package/dist/svg/ChevronRightLast.svg +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgChevronLeftFirst: React.ForwardRefExoticComponent<React.SVGProps<SVGSVGElement> & SVGRProps & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default SvgChevronLeftFirst;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import * as React from "react";
|
|
13
|
+
import { forwardRef } from "react";
|
|
14
|
+
import { useId } from "./util/useId";
|
|
15
|
+
const SvgChevronLeftFirst = forwardRef((_a, ref) => {
|
|
16
|
+
var { title, titleId: _titleId } = _a, props = __rest(_a, ["title", "titleId"]);
|
|
17
|
+
let titleId = useId();
|
|
18
|
+
titleId = title ? (_titleId ? _titleId : "title-" + titleId) : undefined;
|
|
19
|
+
return (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", focusable: false, role: "img", ref: ref, "aria-labelledby": titleId }, props),
|
|
20
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
21
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.5 6.25a.75.75 0 0 0-1.5 0v11.5a.75.75 0 0 0 1.5 0V6.25Zm10.28.78a.75.75 0 0 0-1.06-1.06l-5.5 5.5a.75.75 0 0 0 0 1.06l5.5 5.5a.75.75 0 1 0 1.06-1.06L12.81 12l4.97-4.97Z", fill: "currentColor" })));
|
|
22
|
+
});
|
|
23
|
+
export default SvgChevronLeftFirst;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgChevronRightLast: React.ForwardRefExoticComponent<React.SVGProps<SVGSVGElement> & SVGRProps & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export default SvgChevronRightLast;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import * as React from "react";
|
|
13
|
+
import { forwardRef } from "react";
|
|
14
|
+
import { useId } from "./util/useId";
|
|
15
|
+
const SvgChevronRightLast = forwardRef((_a, ref) => {
|
|
16
|
+
var { title, titleId: _titleId } = _a, props = __rest(_a, ["title", "titleId"]);
|
|
17
|
+
let titleId = useId();
|
|
18
|
+
titleId = title ? (_titleId ? _titleId : "title-" + titleId) : undefined;
|
|
19
|
+
return (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", focusable: false, role: "img", ref: ref, "aria-labelledby": titleId }, props),
|
|
20
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
21
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 6.25a.75.75 0 0 0-1.5 0v11.5a.75.75 0 0 0 1.5 0V6.25ZM7.28 6.22a.75.75 0 0 0-1.06 1.06l4.97 4.97-4.97 4.97a.75.75 0 1 0 1.06 1.06l5.5-5.5a.75.75 0 0 0 0-1.06l-5.5-5.5Z", fill: "currentColor" })));
|
|
22
|
+
});
|
|
23
|
+
export default SvgChevronRightLast;
|
|
@@ -164,12 +164,14 @@ export { default as ChevronLeftCircleFillIcon } from "./ChevronLeftCircleFill";
|
|
|
164
164
|
export { default as ChevronLeftDoubleIcon } from "./ChevronLeftDouble";
|
|
165
165
|
export { default as ChevronLeftDoubleCircleIcon } from "./ChevronLeftDoubleCircle";
|
|
166
166
|
export { default as ChevronLeftDoubleCircleFillIcon } from "./ChevronLeftDoubleCircleFill";
|
|
167
|
+
export { default as ChevronLeftFirstIcon } from "./ChevronLeftFirst";
|
|
167
168
|
export { default as ChevronRightIcon } from "./ChevronRight";
|
|
168
169
|
export { default as ChevronRightCircleIcon } from "./ChevronRightCircle";
|
|
169
170
|
export { default as ChevronRightCircleFillIcon } from "./ChevronRightCircleFill";
|
|
170
171
|
export { default as ChevronRightDoubleIcon } from "./ChevronRightDouble";
|
|
171
172
|
export { default as ChevronRightDoubleCircleIcon } from "./ChevronRightDoubleCircle";
|
|
172
173
|
export { default as ChevronRightDoubleCircleFillIcon } from "./ChevronRightDoubleCircleFill";
|
|
174
|
+
export { default as ChevronRightLastIcon } from "./ChevronRightLast";
|
|
173
175
|
export { default as ChevronUpIcon } from "./ChevronUp";
|
|
174
176
|
export { default as ChevronUpCircleIcon } from "./ChevronUpCircle";
|
|
175
177
|
export { default as ChevronUpCircleFillIcon } from "./ChevronUpCircleFill";
|
package/dist/react/esm/index.js
CHANGED
|
@@ -164,12 +164,14 @@ export { default as ChevronLeftCircleFillIcon } from "./ChevronLeftCircleFill";
|
|
|
164
164
|
export { default as ChevronLeftDoubleIcon } from "./ChevronLeftDouble";
|
|
165
165
|
export { default as ChevronLeftDoubleCircleIcon } from "./ChevronLeftDoubleCircle";
|
|
166
166
|
export { default as ChevronLeftDoubleCircleFillIcon } from "./ChevronLeftDoubleCircleFill";
|
|
167
|
+
export { default as ChevronLeftFirstIcon } from "./ChevronLeftFirst";
|
|
167
168
|
export { default as ChevronRightIcon } from "./ChevronRight";
|
|
168
169
|
export { default as ChevronRightCircleIcon } from "./ChevronRightCircle";
|
|
169
170
|
export { default as ChevronRightCircleFillIcon } from "./ChevronRightCircleFill";
|
|
170
171
|
export { default as ChevronRightDoubleIcon } from "./ChevronRightDouble";
|
|
171
172
|
export { default as ChevronRightDoubleCircleIcon } from "./ChevronRightDoubleCircle";
|
|
172
173
|
export { default as ChevronRightDoubleCircleFillIcon } from "./ChevronRightDoubleCircleFill";
|
|
174
|
+
export { default as ChevronRightLastIcon } from "./ChevronRightLast";
|
|
173
175
|
export { default as ChevronUpIcon } from "./ChevronUp";
|
|
174
176
|
export { default as ChevronUpCircleIcon } from "./ChevronUpCircle";
|
|
175
177
|
export { default as ChevronUpCircleFillIcon } from "./ChevronUpCircleFill";
|