@navikt/aksel-icons 0.1.0 → 2.7.0
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/README.md +2 -4
- package/dist/react/cjs/tsconfig.tsbuildinfo +1 -0
- package/dist/react/esm/tsconfig.esm.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/dist/react/cjs/Escalator.js +0 -48
- package/dist/react/esm/Escalator.d.ts +0 -7
- package/dist/react/esm/Escalator.js +0 -24
- package/dist/react/esm/Escalator.js.map +0 -1
- package/dist/svg/Escalator.svg +0 -3
package/package.json
CHANGED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
26
|
-
var t = {};
|
|
27
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
|
-
t[p] = s[p];
|
|
29
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
31
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
32
|
-
t[p[i]] = s[p[i]];
|
|
33
|
-
}
|
|
34
|
-
return t;
|
|
35
|
-
};
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
const React = __importStar(require("react"));
|
|
38
|
-
const react_1 = require("react");
|
|
39
|
-
const useId_1 = require("./util/useId");
|
|
40
|
-
const SvgEscalator = (0, react_1.forwardRef)((_a, ref) => {
|
|
41
|
-
var { title, titleId: _titleId } = _a, props = __rest(_a, ["title", "titleId"]);
|
|
42
|
-
let titleId = (0, useId_1.useId)();
|
|
43
|
-
titleId = title ? (_titleId ? _titleId : "title-" + titleId) : undefined;
|
|
44
|
-
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),
|
|
45
|
-
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
46
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.424 5.52A.75.75 0 0 1 17 5.25h4a.75.75 0 0 1 0 1.5h-3.649L7.576 18.48a.75.75 0 0 1-.576.27H3a.75.75 0 0 1 0-1.5h3.649l9.775-11.73Z", fill: "currentColor" })));
|
|
47
|
-
});
|
|
48
|
-
exports.default = SvgEscalator;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
interface SVGRProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
titleId?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgEscalator: React.ForwardRefExoticComponent<React.SVGProps<SVGSVGElement> & SVGRProps & React.RefAttributes<SVGSVGElement>>;
|
|
7
|
-
export default SvgEscalator;
|
|
@@ -1,24 +0,0 @@
|
|
|
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 SvgEscalator = 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: "M16.424 5.52A.75.75 0 0 1 17 5.25h4a.75.75 0 0 1 0 1.5h-3.649L7.576 18.48a.75.75 0 0 1-.576.27H3a.75.75 0 0 1 0-1.5h3.649l9.775-11.73Z", fill: "currentColor" })));
|
|
22
|
-
});
|
|
23
|
-
export default SvgEscalator;
|
|
24
|
-
//# sourceMappingURL=Escalator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Escalator.js","sourceRoot":"","sources":["../../../src/Escalator.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAiB,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAKrC,MAAM,YAAY,GAAG,UAAU,CAC7B,CACE,EAA2E,EAC3E,GAAuB,EACvB,EAAE;QAFF,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,OAAiD,EAA5C,KAAK,cAApC,oBAAsC,CAAF;IAGpC,IAAI,OAAO,GAAuB,KAAK,EAAE,CAAC;IAC1C,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACzE,OAAO,CACL,2CACE,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAE,KAAK,EAChB,IAAI,EAAC,KAAK,EACV,GAAG,EAAE,GAAG,qBACS,OAAO,IACpB,KAAK;QAER,KAAK,CAAC,CAAC,CAAC,+BAAO,EAAE,EAAE,OAAO,IAAG,KAAK,CAAS,CAAC,CAAC,CAAC,IAAI;QACnD,8BACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,wIAAwI,EAC1I,IAAI,EAAC,cAAc,GACnB,CACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AACF,eAAe,YAAY,CAAC"}
|
package/dist/svg/Escalator.svg
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.4238 5.51986C16.5663 5.34887 16.7774 5.25 17 5.25H21C21.4142 5.25 21.75 5.58579 21.75 6C21.75 6.41421 21.4142 6.75 21 6.75H17.3513L7.57617 18.4801C7.43367 18.6511 7.22258 18.75 7 18.75H3C2.58579 18.75 2.25 18.4142 2.25 18C2.25 17.5858 2.58579 17.25 3 17.25H6.64872L16.4238 5.51986Z" fill="#262626"/>
|
|
3
|
-
</svg>
|