@entur/icons 7.5.0 → 7.5.1-beta.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 -2
- package/dist/index.esm.js +6 -11
- package/dist/index.esm.native.js +6 -11
- package/dist/index.js +6 -11
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains the icon components.
|
|
4
4
|
|
|
5
|
-
> 💡 Looking for the [documentation](https://design.entur.no/komponenter/
|
|
5
|
+
> 💡 Looking for the [documentation](https://design.entur.no/komponenter/ressurser/icons)?
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ import { AddIcon } from '@entur/icons'; // Import specific icon
|
|
|
20
20
|
<AddIcon />;
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Please refer to the [documentation](https://design.entur.no/komponenter/
|
|
23
|
+
Please refer to the [documentation](https://design.entur.no/komponenter/ressurser/icons) for usage information.
|
|
24
24
|
|
|
25
25
|
## Development
|
|
26
26
|
|
package/dist/index.esm.js
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
function _extends() {
|
|
4
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
5
|
-
for (var
|
|
6
|
-
var
|
|
7
|
-
for (var
|
|
8
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9
|
-
target[key] = source[key];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
4
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
5
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
6
|
+
var t = arguments[e];
|
|
7
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
12
8
|
}
|
|
13
|
-
return
|
|
14
|
-
};
|
|
15
|
-
return _extends.apply(this, arguments);
|
|
9
|
+
return n;
|
|
10
|
+
}, _extends.apply(null, arguments);
|
|
16
11
|
}
|
|
17
12
|
|
|
18
13
|
function BackArrowIcon(props) {
|
package/dist/index.esm.native.js
CHANGED
|
@@ -2,18 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
import Svg, { Path, G, Circle, Defs, ClipPath, Use } from 'react-native-svg';
|
|
3
3
|
|
|
4
4
|
function _extends() {
|
|
5
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
6
|
-
for (var
|
|
7
|
-
var
|
|
8
|
-
for (var
|
|
9
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
10
|
-
target[key] = source[key];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
5
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
6
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
7
|
+
var t = arguments[e];
|
|
8
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
13
9
|
}
|
|
14
|
-
return
|
|
15
|
-
};
|
|
16
|
-
return _extends.apply(this, arguments);
|
|
10
|
+
return n;
|
|
11
|
+
}, _extends.apply(null, arguments);
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
function BackArrowIcon(props) {
|
package/dist/index.js
CHANGED
|
@@ -25,18 +25,13 @@ function _interopNamespace(e) {
|
|
|
25
25
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
26
|
|
|
27
27
|
function _extends() {
|
|
28
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
29
|
-
for (var
|
|
30
|
-
var
|
|
31
|
-
for (var
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
33
|
-
target[key] = source[key];
|
|
34
|
-
}
|
|
35
|
-
}
|
|
28
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
29
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
30
|
+
var t = arguments[e];
|
|
31
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
36
32
|
}
|
|
37
|
-
return
|
|
38
|
-
};
|
|
39
|
-
return _extends.apply(this, arguments);
|
|
33
|
+
return n;
|
|
34
|
+
}, _extends.apply(null, arguments);
|
|
40
35
|
}
|
|
41
36
|
|
|
42
37
|
function BackArrowIcon(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/icons",
|
|
3
|
-
"version": "7.5.0",
|
|
3
|
+
"version": "7.5.1-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -39,13 +39,14 @@
|
|
|
39
39
|
"@svgr/plugin-svgo": "^5.0.1",
|
|
40
40
|
"@types/fs-extra": "^8.0.0",
|
|
41
41
|
"case": "^1.6.2",
|
|
42
|
+
"dts-cli": "2.0.5",
|
|
42
43
|
"fs-extra": "^9.0.0",
|
|
43
44
|
"rimraf": "3.0.2",
|
|
44
45
|
"rollup": "^2.66.0",
|
|
45
|
-
"sass": "^1.
|
|
46
|
+
"sass": "^1.83.0"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
|
-
"@entur/tokens": "^3.17.
|
|
49
|
+
"@entur/tokens": "^3.17.4-beta.0"
|
|
49
50
|
},
|
|
50
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "b213fa4fd10a1a07abada3fa987b7ee2ed110ac2"
|
|
51
52
|
}
|