@sb1/ffe-icons-react 7.2.17 → 7.2.21

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/es/index.d.ts CHANGED
@@ -158,9 +158,11 @@ export { default as TannhjulSolidIkon } from './tannhjul-solid-ikon';
158
158
  export { default as TelefonIkon } from './telefon-ikon';
159
159
  export { default as TommelOppIkon } from './tommel-opp-ikon';
160
160
  export { default as TraktorIkon } from './traktor-ikon';
161
+ export { default as TreIkon } from './tre-ikon';
161
162
  export { default as TrillekoffertIkon } from './trillekoffert-ikon';
162
163
  export { default as Understrek123Ikon } from './understrek-1-2-3-ikon';
163
164
  export { default as UngCapsIkon } from './ung-caps-ikon';
165
+ export { default as UngdomIkon } from './ungdom-ikon';
164
166
  export { default as UtropstegnIkon } from './utropstegn-ikon';
165
167
  export { default as VarebilIkon } from './varebil-ikon';
166
168
  export { default as VarselIkon } from './varsel-ikon';
package/es/index.js CHANGED
@@ -158,9 +158,11 @@ export { default as TannhjulSolidIkon } from './tannhjul-solid-ikon';
158
158
  export { default as TelefonIkon } from './telefon-ikon';
159
159
  export { default as TommelOppIkon } from './tommel-opp-ikon';
160
160
  export { default as TraktorIkon } from './traktor-ikon';
161
+ export { default as TreIkon } from './tre-ikon';
161
162
  export { default as TrillekoffertIkon } from './trillekoffert-ikon';
162
163
  export { default as Understrek123Ikon } from './understrek-1-2-3-ikon';
163
164
  export { default as UngCapsIkon } from './ung-caps-ikon';
165
+ export { default as UngdomIkon } from './ungdom-ikon';
164
166
  export { default as UtropstegnIkon } from './utropstegn-ikon';
165
167
  export { default as VarebilIkon } from './varebil-ikon';
166
168
  export { default as VarselIkon } from './varsel-ikon';
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ interface IconProps extends Omit<React.SVGAttributes<SVGElement>, 'focusable'> {
3
+ desc?: string;
4
+ title?: string;
5
+ focusable?: boolean | string;
6
+ iconName?: string;
7
+ }
8
+ declare const Icon: React.FC<IconProps>;
9
+ export default Icon;
package/es/tre-ikon.js ADDED
@@ -0,0 +1,48 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import * as React from 'react';
24
+ import { string } from 'prop-types';
25
+ import * as PropTypes from 'prop-types';
26
+ var svg = React.createElement("svg", { viewBox: "0 0 105 104" },
27
+ React.createElement("path", { d: "M52.022 103.909H50.691C49.126 103.909 47.856 102.64 47.856 101.074V37.543C47.856 35.977 49.125 34.708 50.691 34.708H52.022C53.588 34.708 54.857 35.977 54.857 37.543V101.074C54.856 102.64 53.587 103.909 52.022 103.909Z" }),
28
+ React.createElement("path", { d: "M72.951 83.349H69.541C67.975 83.349 66.706 82.08 66.706 80.514V79.183C66.706 77.618 67.975 76.348 69.541 76.348H72.951C86.354 76.348 97.259 65.579 97.259 52.343C97.259 39.107 86.361 28.338 72.965 28.338H69.465V25.285C69.465 15.537 61.489 7.24199 51.743 7.40999C42.271 7.57299 34.617 15.329 34.617 24.838V28.338H31.663C18.234 28.338 6.88901 39.327 7.11601 52.755C7.33701 65.802 18.019 76.348 31.117 76.348H33.582C35.147 76.348 36.417 77.617 36.417 79.183V80.514C36.417 82.079 35.148 83.349 33.582 83.349H31.757C14.808 83.349 0.511005 70.016 0.121005 53.071C-0.254995 36.755 12.045 23.176 27.843 21.511C29.472 9.60899 39.706 0.40799 52.049 0.40799C64.384 0.40799 74.611 9.60599 76.239 21.507C91.962 23.135 104.26 36.343 104.26 52.344C104.259 69.44 90.214 83.349 72.951 83.349Z" }));
29
+ var Icon = function (_a) {
30
+ var desc = _a.desc, title = _a.title, iconName = _a.iconName, rest = __rest(_a, ["desc", "title", "iconName"]);
31
+ return (React.createElement("svg", __assign({}, svg.props, rest),
32
+ title &&
33
+ React.createElement("title", null, title),
34
+ desc &&
35
+ React.createElement("desc", null, desc),
36
+ svg.props.children));
37
+ };
38
+ Icon.propTypes = {
39
+ desc: string,
40
+ title: string,
41
+ focusable: PropTypes.oneOfType([
42
+ PropTypes.bool,
43
+ PropTypes.oneOf(["true", "false", "auto", "undefined"]),
44
+ ]),
45
+ iconName: string
46
+ };
47
+ Icon.displayName = 'TreIkon';
48
+ export default Icon;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ interface IconProps extends Omit<React.SVGAttributes<SVGElement>, 'focusable'> {
3
+ desc?: string;
4
+ title?: string;
5
+ focusable?: boolean | string;
6
+ iconName?: string;
7
+ }
8
+ declare const Icon: React.FC<IconProps>;
9
+ export default Icon;
@@ -0,0 +1,49 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import * as React from 'react';
24
+ import { string } from 'prop-types';
25
+ import * as PropTypes from 'prop-types';
26
+ var svg = React.createElement("svg", { viewBox: "0 0 70 106" },
27
+ React.createElement("path", { d: "M35 55.55H34.7C23.7 55.55 14.8 46.65 14.8 35.65V31.75H21.8V35.65C21.8 42.75 27.6 48.55 34.7 48.55H35C42.1 48.55 47.9 42.75 47.9 35.65V28.95H54.9V35.65C54.9 46.65 46 55.55 35 55.55Z" }),
28
+ React.createElement("path", { d: "M63.8 105.75H5.79998C2.69998 105.75 0.0999756 103.25 0.0999756 100.05V80.75C0.0999756 72.15 4.19998 64.15 11 59.05C12.4 58.05 14.3 58.45 15.1 59.95L15.8 61.15C16.5 62.35 16.2 63.95 15.1 64.85C10.1 68.65 7.09998 74.55 7.09998 80.85V98.75H62.5V80.85C62.5 74.55 59.5 68.55 54.5 64.85C53.4 63.95 53.1 62.45 53.8 61.15L54.5 59.95C55.3 58.45 57.3 58.05 58.6 59.05C65.4 64.15 69.5 72.15 69.5 80.75V100.05C69.5 103.25 67 105.75 63.8 105.75Z" }),
29
+ React.createElement("path", { d: "M21.1 36.85C13.3 36.85 6.49997 32.55 3.09997 25.75L2.69997 24.85C1.79997 23.05 2.99997 20.95 4.99997 20.75L5.89997 20.65C5.99997 20.65 10.3 20.05 12.8 15.25C13.3 14.25 13.9 13.15 14.6 12.15C18 5.15 25.2 0.650002 33 0.650002H33.3C39.1 0.650002 44.6 3.05 48.4 7.35C56.8 8.25 58.1 15.45 58.1 19.85V30.25C58.1 31.85 56.8 33.05 55.3 33.05H51.7C46.1 33.05 43.3 28.85 42 24.95C40.2 25.45 39.3 26.55 37.9 28.35C35.9 30.75 33.5 33.65 28.3 35.55C26 36.45 23.5 36.85 21.1 36.85ZM11.7 26.05C14.1 28.45 17.4 29.95 21 29.95C22.6 29.95 24.3 29.65 25.8 29.05C29.2 27.85 30.7 26.05 32.4 23.95C34.7 21.15 37.6 17.75 44.7 17.75H47.9L48.2 20.95C48.2 20.95 48.7 25.35 51 26.05V19.85C51 14.25 48.8 14.25 46.6 14.25H45L44 12.95C41.4 9.65 37.5 7.75 33.3 7.75H33C27.8 7.75 23.1 10.75 20.8 15.45L20.7 15.75C20.1 16.75 19.6 17.75 19.1 18.65C17 22.45 14.2 24.75 11.7 26.05Z" }));
30
+ var Icon = function (_a) {
31
+ var desc = _a.desc, title = _a.title, iconName = _a.iconName, rest = __rest(_a, ["desc", "title", "iconName"]);
32
+ return (React.createElement("svg", __assign({}, svg.props, rest),
33
+ title &&
34
+ React.createElement("title", null, title),
35
+ desc &&
36
+ React.createElement("desc", null, desc),
37
+ svg.props.children));
38
+ };
39
+ Icon.propTypes = {
40
+ desc: string,
41
+ title: string,
42
+ focusable: PropTypes.oneOfType([
43
+ PropTypes.bool,
44
+ PropTypes.oneOf(["true", "false", "auto", "undefined"]),
45
+ ]),
46
+ iconName: string
47
+ };
48
+ Icon.displayName = 'UngdomIkon';
49
+ export default Icon;
package/lib/index.d.ts CHANGED
@@ -158,9 +158,11 @@ export { default as TannhjulSolidIkon } from './tannhjul-solid-ikon';
158
158
  export { default as TelefonIkon } from './telefon-ikon';
159
159
  export { default as TommelOppIkon } from './tommel-opp-ikon';
160
160
  export { default as TraktorIkon } from './traktor-ikon';
161
+ export { default as TreIkon } from './tre-ikon';
161
162
  export { default as TrillekoffertIkon } from './trillekoffert-ikon';
162
163
  export { default as Understrek123Ikon } from './understrek-1-2-3-ikon';
163
164
  export { default as UngCapsIkon } from './ung-caps-ikon';
165
+ export { default as UngdomIkon } from './ungdom-ikon';
164
166
  export { default as UtropstegnIkon } from './utropstegn-ikon';
165
167
  export { default as VarebilIkon } from './varebil-ikon';
166
168
  export { default as VarselIkon } from './varsel-ikon';
package/lib/index.js CHANGED
@@ -327,12 +327,16 @@ var tommel_opp_ikon_1 = require("./tommel-opp-ikon");
327
327
  __createBinding(exports, tommel_opp_ikon_1, "default", "TommelOppIkon");
328
328
  var traktor_ikon_1 = require("./traktor-ikon");
329
329
  __createBinding(exports, traktor_ikon_1, "default", "TraktorIkon");
330
+ var tre_ikon_1 = require("./tre-ikon");
331
+ __createBinding(exports, tre_ikon_1, "default", "TreIkon");
330
332
  var trillekoffert_ikon_1 = require("./trillekoffert-ikon");
331
333
  __createBinding(exports, trillekoffert_ikon_1, "default", "TrillekoffertIkon");
332
334
  var understrek_1_2_3_ikon_1 = require("./understrek-1-2-3-ikon");
333
335
  __createBinding(exports, understrek_1_2_3_ikon_1, "default", "Understrek123Ikon");
334
336
  var ung_caps_ikon_1 = require("./ung-caps-ikon");
335
337
  __createBinding(exports, ung_caps_ikon_1, "default", "UngCapsIkon");
338
+ var ungdom_ikon_1 = require("./ungdom-ikon");
339
+ __createBinding(exports, ungdom_ikon_1, "default", "UngdomIkon");
336
340
  var utropstegn_ikon_1 = require("./utropstegn-ikon");
337
341
  __createBinding(exports, utropstegn_ikon_1, "default", "UtropstegnIkon");
338
342
  var varebil_ikon_1 = require("./varebil-ikon");
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ interface IconProps extends Omit<React.SVGAttributes<SVGElement>, 'focusable'> {
3
+ desc?: string;
4
+ title?: string;
5
+ focusable?: boolean | string;
6
+ iconName?: string;
7
+ }
8
+ declare const Icon: React.FC<IconProps>;
9
+ export default Icon;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ exports.__esModule = true;
25
+ var React = require("react");
26
+ var prop_types_1 = require("prop-types");
27
+ var PropTypes = require("prop-types");
28
+ var svg = React.createElement("svg", { viewBox: "0 0 105 104" },
29
+ React.createElement("path", { d: "M52.022 103.909H50.691C49.126 103.909 47.856 102.64 47.856 101.074V37.543C47.856 35.977 49.125 34.708 50.691 34.708H52.022C53.588 34.708 54.857 35.977 54.857 37.543V101.074C54.856 102.64 53.587 103.909 52.022 103.909Z" }),
30
+ React.createElement("path", { d: "M72.951 83.349H69.541C67.975 83.349 66.706 82.08 66.706 80.514V79.183C66.706 77.618 67.975 76.348 69.541 76.348H72.951C86.354 76.348 97.259 65.579 97.259 52.343C97.259 39.107 86.361 28.338 72.965 28.338H69.465V25.285C69.465 15.537 61.489 7.24199 51.743 7.40999C42.271 7.57299 34.617 15.329 34.617 24.838V28.338H31.663C18.234 28.338 6.88901 39.327 7.11601 52.755C7.33701 65.802 18.019 76.348 31.117 76.348H33.582C35.147 76.348 36.417 77.617 36.417 79.183V80.514C36.417 82.079 35.148 83.349 33.582 83.349H31.757C14.808 83.349 0.511005 70.016 0.121005 53.071C-0.254995 36.755 12.045 23.176 27.843 21.511C29.472 9.60899 39.706 0.40799 52.049 0.40799C64.384 0.40799 74.611 9.60599 76.239 21.507C91.962 23.135 104.26 36.343 104.26 52.344C104.259 69.44 90.214 83.349 72.951 83.349Z" }));
31
+ var Icon = function (_a) {
32
+ var desc = _a.desc, title = _a.title, iconName = _a.iconName, rest = __rest(_a, ["desc", "title", "iconName"]);
33
+ return (React.createElement("svg", __assign({}, svg.props, rest),
34
+ title &&
35
+ React.createElement("title", null, title),
36
+ desc &&
37
+ React.createElement("desc", null, desc),
38
+ svg.props.children));
39
+ };
40
+ Icon.propTypes = {
41
+ desc: prop_types_1.string,
42
+ title: prop_types_1.string,
43
+ focusable: PropTypes.oneOfType([
44
+ PropTypes.bool,
45
+ PropTypes.oneOf(["true", "false", "auto", "undefined"]),
46
+ ]),
47
+ iconName: prop_types_1.string
48
+ };
49
+ Icon.displayName = 'TreIkon';
50
+ exports["default"] = Icon;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ interface IconProps extends Omit<React.SVGAttributes<SVGElement>, 'focusable'> {
3
+ desc?: string;
4
+ title?: string;
5
+ focusable?: boolean | string;
6
+ iconName?: string;
7
+ }
8
+ declare const Icon: React.FC<IconProps>;
9
+ export default Icon;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ exports.__esModule = true;
25
+ var React = require("react");
26
+ var prop_types_1 = require("prop-types");
27
+ var PropTypes = require("prop-types");
28
+ var svg = React.createElement("svg", { viewBox: "0 0 70 106" },
29
+ React.createElement("path", { d: "M35 55.55H34.7C23.7 55.55 14.8 46.65 14.8 35.65V31.75H21.8V35.65C21.8 42.75 27.6 48.55 34.7 48.55H35C42.1 48.55 47.9 42.75 47.9 35.65V28.95H54.9V35.65C54.9 46.65 46 55.55 35 55.55Z" }),
30
+ React.createElement("path", { d: "M63.8 105.75H5.79998C2.69998 105.75 0.0999756 103.25 0.0999756 100.05V80.75C0.0999756 72.15 4.19998 64.15 11 59.05C12.4 58.05 14.3 58.45 15.1 59.95L15.8 61.15C16.5 62.35 16.2 63.95 15.1 64.85C10.1 68.65 7.09998 74.55 7.09998 80.85V98.75H62.5V80.85C62.5 74.55 59.5 68.55 54.5 64.85C53.4 63.95 53.1 62.45 53.8 61.15L54.5 59.95C55.3 58.45 57.3 58.05 58.6 59.05C65.4 64.15 69.5 72.15 69.5 80.75V100.05C69.5 103.25 67 105.75 63.8 105.75Z" }),
31
+ React.createElement("path", { d: "M21.1 36.85C13.3 36.85 6.49997 32.55 3.09997 25.75L2.69997 24.85C1.79997 23.05 2.99997 20.95 4.99997 20.75L5.89997 20.65C5.99997 20.65 10.3 20.05 12.8 15.25C13.3 14.25 13.9 13.15 14.6 12.15C18 5.15 25.2 0.650002 33 0.650002H33.3C39.1 0.650002 44.6 3.05 48.4 7.35C56.8 8.25 58.1 15.45 58.1 19.85V30.25C58.1 31.85 56.8 33.05 55.3 33.05H51.7C46.1 33.05 43.3 28.85 42 24.95C40.2 25.45 39.3 26.55 37.9 28.35C35.9 30.75 33.5 33.65 28.3 35.55C26 36.45 23.5 36.85 21.1 36.85ZM11.7 26.05C14.1 28.45 17.4 29.95 21 29.95C22.6 29.95 24.3 29.65 25.8 29.05C29.2 27.85 30.7 26.05 32.4 23.95C34.7 21.15 37.6 17.75 44.7 17.75H47.9L48.2 20.95C48.2 20.95 48.7 25.35 51 26.05V19.85C51 14.25 48.8 14.25 46.6 14.25H45L44 12.95C41.4 9.65 37.5 7.75 33.3 7.75H33C27.8 7.75 23.1 10.75 20.8 15.45L20.7 15.75C20.1 16.75 19.6 17.75 19.1 18.65C17 22.45 14.2 24.75 11.7 26.05Z" }));
32
+ var Icon = function (_a) {
33
+ var desc = _a.desc, title = _a.title, iconName = _a.iconName, rest = __rest(_a, ["desc", "title", "iconName"]);
34
+ return (React.createElement("svg", __assign({}, svg.props, rest),
35
+ title &&
36
+ React.createElement("title", null, title),
37
+ desc &&
38
+ React.createElement("desc", null, desc),
39
+ svg.props.children));
40
+ };
41
+ Icon.propTypes = {
42
+ desc: prop_types_1.string,
43
+ title: prop_types_1.string,
44
+ focusable: PropTypes.oneOfType([
45
+ PropTypes.bool,
46
+ PropTypes.oneOf(["true", "false", "auto", "undefined"]),
47
+ ]),
48
+ iconName: prop_types_1.string
49
+ };
50
+ Icon.displayName = 'UngdomIkon';
51
+ exports["default"] = Icon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-icons-react",
3
- "version": "7.2.17",
3
+ "version": "7.2.21",
4
4
  "description": "React-komponenter for ffe-icons",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -21,30 +21,29 @@
21
21
  "build:es": "tsc tsx/index.ts --outDir es --module esnext --jsx react --declaration --skipLibCheck",
22
22
  "build:tsx-components": "node ./src/build-tsx-components.js",
23
23
  "clean": "rimraf tmp tsx lib es",
24
- "lint": "eslint src/.",
24
+ "lint": "eslint src",
25
25
  "test": "npm run lint"
26
26
  },
27
27
  "dependencies": {
28
- "prop-types": "^15.6.0"
28
+ "prop-types": "^15.7.2"
29
29
  },
30
30
  "devDependencies": {
31
- "@sb1/ffe-icons": "^12.15.2",
31
+ "@sb1/ffe-icons": "^12.16.0",
32
32
  "cheerio": "^1.0.0-rc.2",
33
- "cross-env": "^5.2.0",
34
33
  "eslint": "^5.9.0",
35
34
  "eslint-loader": "^2.1.0",
36
35
  "json-loader": "^0.5.7",
37
- "mkdirp": "^1.0.0",
36
+ "mkdirp": "^1.0.4",
38
37
  "react": "^16.9.0",
39
38
  "react-dom": "^16.9.0",
40
- "rimraf": "^2.6.2",
39
+ "rimraf": "^3.0.2",
41
40
  "typescript": "^3.7.5"
42
41
  },
43
42
  "peerDependencies": {
44
- "react": "^16.9.0"
43
+ "react": ">=16.9.0"
45
44
  },
46
45
  "publishConfig": {
47
46
  "access": "public"
48
47
  },
49
- "gitHead": "b421aafe6046e619e961d9ff429096ab80f3c138"
48
+ "gitHead": "5da885a3bba8e6990f1f06796983ca0f1add9d9a"
50
49
  }
package/CHANGELOG.md DELETED
@@ -1,730 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [7.2.17](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.16...@sb1/ffe-icons-react@7.2.17) (2021-02-02)
7
-
8
- **Note:** Version bump only for package @sb1/ffe-icons-react
9
-
10
-
11
-
12
-
13
-
14
- ## [7.2.16](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.15...@sb1/ffe-icons-react@7.2.16) (2020-11-18)
15
-
16
- **Note:** Version bump only for package @sb1/ffe-icons-react
17
-
18
-
19
-
20
-
21
-
22
- ## [7.2.15](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.14...@sb1/ffe-icons-react@7.2.15) (2020-09-15)
23
-
24
- **Note:** Version bump only for package @sb1/ffe-icons-react
25
-
26
-
27
-
28
-
29
-
30
- ## [7.2.14](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.13...@sb1/ffe-icons-react@7.2.14) (2020-08-27)
31
-
32
- **Note:** Version bump only for package @sb1/ffe-icons-react
33
-
34
-
35
-
36
-
37
-
38
- ## [7.2.13](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.12...@sb1/ffe-icons-react@7.2.13) (2020-08-04)
39
-
40
- **Note:** Version bump only for package @sb1/ffe-icons-react
41
-
42
-
43
-
44
-
45
-
46
- ## [7.2.12](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.11...@sb1/ffe-icons-react@7.2.12) (2020-07-30)
47
-
48
- **Note:** Version bump only for package @sb1/ffe-icons-react
49
-
50
-
51
-
52
-
53
-
54
- ## [7.2.11](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.10...@sb1/ffe-icons-react@7.2.11) (2020-06-29)
55
-
56
- **Note:** Version bump only for package @sb1/ffe-icons-react
57
-
58
-
59
-
60
-
61
-
62
- ## [7.2.10](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.9...@sb1/ffe-icons-react@7.2.10) (2020-06-24)
63
-
64
- **Note:** Version bump only for package @sb1/ffe-icons-react
65
-
66
-
67
-
68
-
69
-
70
- ## [7.2.9](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.8...@sb1/ffe-icons-react@7.2.9) (2020-05-27)
71
-
72
- **Note:** Version bump only for package @sb1/ffe-icons-react
73
-
74
-
75
-
76
-
77
-
78
- ## [7.2.8](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.7...@sb1/ffe-icons-react@7.2.8) (2020-03-31)
79
-
80
- **Note:** Version bump only for package @sb1/ffe-icons-react
81
-
82
- ## [7.2.7](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.6...@sb1/ffe-icons-react@7.2.7) (2020-03-18)
83
-
84
- **Note:** Version bump only for package @sb1/ffe-icons-react
85
-
86
- ## [7.2.6](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.5...@sb1/ffe-icons-react@7.2.6) (2020-03-16)
87
-
88
- **Note:** Version bump only for package @sb1/ffe-icons-react
89
-
90
- ## [7.2.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.4...@sb1/ffe-icons-react@7.2.5) (2020-03-13)
91
-
92
- **Note:** Version bump only for package @sb1/ffe-icons-react
93
-
94
- ## [7.2.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.3...@sb1/ffe-icons-react@7.2.4) (2020-03-10)
95
-
96
- **Note:** Version bump only for package @sb1/ffe-icons-react
97
-
98
- ## [7.2.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.2...@sb1/ffe-icons-react@7.2.3) (2020-03-06)
99
-
100
- ### Bug Fixes
101
-
102
- - **ffe-icons-react:** extend svg attributes in typescript interface ([8a4c541](https://github.com/SpareBank1/designsystem/commit/8a4c541050cad2d527b1d681cf6d80f9d46c4492))
103
- - **ffe-icons-react:** fixed typescript props and proptype mismatch ([5676790](https://github.com/SpareBank1/designsystem/commit/567679054951b39ad4d552f25932985d802276d7))
104
- - **ffe-icons-react:** remove duplicate prop + make svg props overridable ([c4b88b8](https://github.com/SpareBank1/designsystem/commit/c4b88b82dc7c82eb3e80bbab10890d227932f72e))
105
-
106
- ## [7.2.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.1...@sb1/ffe-icons-react@7.2.2) (2020-02-26)
107
-
108
- **Note:** Version bump only for package @sb1/ffe-icons-react
109
-
110
- ## [7.2.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.0...@sb1/ffe-icons-react@7.2.1) (2020-02-26)
111
-
112
- **Note:** Version bump only for package @sb1/ffe-icons-react
113
-
114
- # [7.2.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.0.3...@sb1/ffe-icons-react@7.2.0) (2020-02-26)
115
-
116
- ### Features
117
-
118
- - **ffe-icons-react:** generate typescript declarations for all icons ([d444c47](https://github.com/SpareBank1/designsystem/commit/d444c477c19a63347faa3322243f363280d28fb5))
119
-
120
- # [7.1.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.0.3...@sb1/ffe-icons-react@7.1.0) (2020-02-25)
121
-
122
- ### Features
123
-
124
- - **ffe-icons-react:** generate typescript declarations for all icons ([d444c47](https://github.com/SpareBank1/designsystem/commit/d444c477c19a63347faa3322243f363280d28fb5))
125
-
126
- ## [7.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.0.2...@sb1/ffe-icons-react@7.0.3) (2019-11-20)
127
-
128
- **Note:** Version bump only for package @sb1/ffe-icons-react
129
-
130
- ## [7.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.0.1...@sb1/ffe-icons-react@7.0.2) (2019-10-28)
131
-
132
- **Note:** Version bump only for package @sb1/ffe-icons-react
133
-
134
- ## [7.0.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.0.0...@sb1/ffe-icons-react@7.0.1) (2019-10-03)
135
-
136
- **Note:** Version bump only for package @sb1/ffe-icons-react
137
-
138
- # [7.0.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.20...@sb1/ffe-icons-react@7.0.0) (2019-08-27)
139
-
140
- ### chore
141
-
142
- - bump React to 16.9 to allow for using hooks etc ([e3901f1](https://github.com/SpareBank1/designsystem/commit/e3901f1))
143
-
144
- ### BREAKING CHANGES
145
-
146
- - peerDep of React is raised to 16.9. While this in itself
147
- isn't a breaking change, it allows for the use of hooks in later releases.
148
- Such changes would just be a minor version, or even a patch, but without
149
- this major version bump it would result in a runtime error for consumers.
150
-
151
- ## [6.0.20](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.19...@sb1/ffe-icons-react@6.0.20) (2019-08-12)
152
-
153
- **Note:** Version bump only for package @sb1/ffe-icons-react
154
-
155
- ## [6.0.19](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.18...@sb1/ffe-icons-react@6.0.19) (2019-04-24)
156
-
157
- **Note:** Version bump only for package @sb1/ffe-icons-react
158
-
159
- ## [6.0.18](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.17...@sb1/ffe-icons-react@6.0.18) (2019-04-08)
160
-
161
- **Note:** Version bump only for package @sb1/ffe-icons-react
162
-
163
- ## [6.0.17](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.16...@sb1/ffe-icons-react@6.0.17) (2019-03-25)
164
-
165
- **Note:** Version bump only for package @sb1/ffe-icons-react
166
-
167
- ## [6.0.16](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.15...@sb1/ffe-icons-react@6.0.16) (2019-02-18)
168
-
169
- **Note:** Version bump only for package @sb1/ffe-icons-react
170
-
171
- ## [6.0.15](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.14...@sb1/ffe-icons-react@6.0.15) (2019-01-29)
172
-
173
- **Note:** Version bump only for package @sb1/ffe-icons-react
174
-
175
- ## [6.0.14](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.13...@sb1/ffe-icons-react@6.0.14) (2018-12-19)
176
-
177
- **Note:** Version bump only for package @sb1/ffe-icons-react
178
-
179
- ## [6.0.13](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.12...@sb1/ffe-icons-react@6.0.13) (2018-12-18)
180
-
181
- **Note:** Version bump only for package @sb1/ffe-icons-react
182
-
183
- ## [6.0.12](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.11...@sb1/ffe-icons-react@6.0.12) (2018-12-11)
184
-
185
- ### Bug Fixes
186
-
187
- - Build tree shakeable packages ([fb4a9ea](https://github.com/SpareBank1/designsystem/commit/fb4a9ea))
188
-
189
- ## [6.0.11](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.10...@sb1/ffe-icons-react@6.0.11) (2018-12-04)
190
-
191
- **Note:** Version bump only for package @sb1/ffe-icons-react
192
-
193
- ## [6.0.10](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.9...@sb1/ffe-icons-react@6.0.10) (2018-11-26)
194
-
195
- **Note:** Version bump only for package @sb1/ffe-icons-react
196
-
197
- ## [6.0.9](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.8...@sb1/ffe-icons-react@6.0.9) (2018-11-16)
198
-
199
- ### Bug Fixes
200
-
201
- - **ffe-icons-react:** Enable code splitting ([c9441e4](https://github.com/SpareBank1/designsystem/commit/c9441e4))
202
-
203
- ## [6.0.8](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.7...@sb1/ffe-icons-react@6.0.8) (2018-11-13)
204
-
205
- **Note:** Version bump only for package @sb1/ffe-icons-react
206
-
207
- ## [6.0.7](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.6...@sb1/ffe-icons-react@6.0.7) (2018-10-17)
208
-
209
- **Note:** Version bump only for package @sb1/ffe-icons-react
210
-
211
- <a name="6.0.6"></a>
212
-
213
- ## [6.0.6](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.5...@sb1/ffe-icons-react@6.0.6) (2018-08-09)
214
-
215
- **Note:** Version bump only for package @sb1/ffe-icons-react
216
-
217
- <a name="6.0.5"></a>
218
-
219
- ## [6.0.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.4...@sb1/ffe-icons-react@6.0.5) (2018-06-14)
220
-
221
- ### Bug Fixes
222
-
223
- - **ffe-icons-react:** Don't set inline size on SVG ([b75799b](https://github.com/SpareBank1/designsystem/commit/b75799b)), closes [#285](https://github.com/SpareBank1/designsystem/issues/285)
224
-
225
- <a name="6.0.4"></a>
226
-
227
- ## [6.0.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.3...@sb1/ffe-icons-react@6.0.4) (2018-06-04)
228
-
229
- **Note:** Version bump only for package @sb1/ffe-icons-react
230
-
231
- <a name="6.0.3"></a>
232
-
233
- ## [6.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.2...@sb1/ffe-icons-react@6.0.3) (2018-06-04)
234
-
235
- **Note:** Version bump only for package @sb1/ffe-icons-react
236
-
237
- <a name="6.0.2"></a>
238
-
239
- ## [6.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.1...@sb1/ffe-icons-react@6.0.2) (2018-05-29)
240
-
241
- **Note:** Version bump only for package @sb1/ffe-icons-react
242
-
243
- <a name="6.0.1"></a>
244
-
245
- ## [6.0.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@6.0.0...@sb1/ffe-icons-react@6.0.1) (2018-05-04)
246
-
247
- **Note:** Version bump only for package @sb1/ffe-icons-react
248
-
249
- <a name="6.0.0"></a>
250
-
251
- # [6.0.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@5.0.5...@sb1/ffe-icons-react@6.0.0) (2018-04-11)
252
-
253
- ### Chores
254
-
255
- - **ffe-icons-react:** Upgrade to new ffe-icons ([bab479f](https://github.com/SpareBank1/designsystem/commit/bab479f))
256
-
257
- ### BREAKING CHANGES
258
-
259
- - **ffe-icons-react:** This version migrates to the new `ffe-icons` which
260
- replaced its method of generating the SVG sprite to no longer need
261
- PhantomJS. This may or may not introduce visual regressions. From the
262
- looks of it in the styleguide it should be a drop-in replacement,
263
- however for safety this is marked as a breaking change.
264
-
265
- <a name="5.0.5"></a>
266
-
267
- ## [5.0.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@5.0.4...@sb1/ffe-icons-react@5.0.5) (2018-04-06)
268
-
269
- **Note:** Version bump only for package @sb1/ffe-icons-react
270
-
271
- <a name="5.0.4"></a>
272
-
273
- ## [5.0.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@5.0.3...@sb1/ffe-icons-react@5.0.4) (2018-03-27)
274
-
275
- **Note:** Version bump only for package @sb1/ffe-icons-react
276
-
277
- <a name="5.0.3"></a>
278
-
279
- ## [5.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@5.0.2...@sb1/ffe-icons-react@5.0.3) (2018-03-13)
280
-
281
- ### Bug Fixes
282
-
283
- - **ffe-icons-react:** Use relative path to `opts` ([5cfba06](https://github.com/SpareBank1/designsystem/commit/5cfba06)), closes [#67](https://github.com/SpareBank1/designsystem/issues/67)
284
-
285
- <a name="5.0.2"></a>
286
-
287
- ## [5.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@5.0.0...@sb1/ffe-icons-react@5.0.2) (2018-03-07)
288
-
289
- ### Bug Fixes
290
-
291
- - **ffe-icons-react:** Fixed build script after changes to path in ffe-icons ([a7270ae](https://github.com/SpareBank1/designsystem/commit/a7270ae))
292
-
293
- <a name="5.0.1"></a>
294
-
295
- ## [5.0.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@5.0.0...@sb1/ffe-icons-react@5.0.1) (2018-03-02)
296
-
297
- ### Bug Fixes
298
-
299
- - **ffe-icons-react:** Fixed build script after changes to path in ffe-icons ([3251d80](https://github.com/SpareBank1/designsystem/commit/3251d80))
300
-
301
- <a name="5.0.0"></a>
302
-
303
- # 5.0.0 (2018-02-25)
304
-
305
- ### Bug Fixes
306
-
307
- - **ffe-icons-react:** Adjust file path to monorepo layout ([599b38e](https://github.com/SpareBank1/designsystem/commit/599b38e))
308
- - **ffe-icons-react:** fix build script to work inside monorepo ([6cb9b97](https://github.com/SpareBank1/designsystem/commit/6cb9b97))
309
- - **ffe-icons-react:** Output components to /lib ([2d02dbb](https://github.com/SpareBank1/designsystem/commit/2d02dbb))
310
- - remove all references to internal system ([ff22340](https://github.com/SpareBank1/designsystem/commit/ff22340))
311
-
312
- ### Chores
313
-
314
- - add [@sb1](https://github.com/sb1)/ scope to all packages ([37efbb4](https://github.com/SpareBank1/designsystem/commit/37efbb4))
315
-
316
- ### Code Refactoring
317
-
318
- - **ffe-icons-react:** Improve API ([e9b88a4](https://github.com/SpareBank1/designsystem/commit/e9b88a4))
319
-
320
- ### Features
321
-
322
- - **ffe-icons-react:** Add contribute.md link to readme ([532c784](https://github.com/SpareBank1/designsystem/commit/532c784))
323
-
324
- ### Fix
325
-
326
- - Rename all icons to end with -ikon ([a9d5741](https://github.com/SpareBank1/designsystem/commit/a9d5741))
327
-
328
- ### BREAKING CHANGES
329
-
330
- - All packages have been renamed to add the @sb1 scope.
331
-
332
- See links [1] and [2] to read more about package scopes.
333
-
334
- Unfortunately this requires you update both your dependencies in
335
- `package.json` and all `import` or `require` statements in your code.
336
- Also, you unfortunately have to upgrade all FFE packages at once due to
337
- dependency between packages. If you are on the latest version prior to
338
- this breaking change the upgrade should be a matter of updating
339
- `package.json` with new package names and versions, and updating your
340
- imports.
341
-
342
- To help find the proper package versions you can either browse to the
343
- packages you need or check out the list of Git tags either on
344
- Github [3] or by cloning the repository and running the `git tag`
345
- command. All package versions get a tag in the format
346
- _package@version_.
347
-
348
- Update your `package.json` with the latest package version and add the
349
- @sb1 scope to the package name:
350
-
351
- ```diff
352
- - "ffe-core": "11.0.2",
353
- + "@sb1/ffe-core": "11.0.2",
354
- ```
355
-
356
- Scoped packages all get put in a subdirectory in `node_modules/`. In our
357
- case packages will be put in the `node_modules/@sb1/` directory. If your
358
- build depends on file paths (for instance for copying fonts) you need to
359
- update that path to include the scope.
360
-
361
- The directory structure also means you have to update your imports, both
362
- in Less and in JavaScript.
363
-
364
- Using `less-plugin-npm-import`:
365
-
366
- ```diff
367
- - @import 'npm://ffe-core/less/ffe';
368
- + @import 'npm://@sb1/ffe-core/less/ffe';
369
- ```
370
-
371
- Using Webpack:
372
-
373
- ```diff
374
- - @import '~ffe-core/less/ffe';
375
- + @import '~@sb1/ffe-core/less/ffe';
376
- ```
377
-
378
- Using plain old paths:
379
-
380
- ```diff
381
- - @import '../path/to/node_modules/ffe-core/less/ffe';
382
- + @import '../path/to/node_modules/@sb1/ffe-core/less/ffe';
383
- ```
384
-
385
- JavaScript `import`:
386
-
387
- ```diff
388
- - import { ActionButton } from 'ffe-buttons-react';
389
- + import { ActionButton } from '@sb1/ffe-buttons-react';
390
- ```
391
-
392
- JavaScript `require`:
393
-
394
- ```diff
395
- - const { ActionButton } = require('ffe-buttons-react').default;
396
- + const { ActionButton } = require('@sb1/ffe-buttons-react').default;
397
- ```
398
-
399
- [1]: https://docs.npmjs.com/misc/scope
400
- [2]: https://docs.npmjs.com/getting-started/scoped-packages
401
- [3]: https://github.com/sparebank1/designsystem/tags
402
-
403
- - **ffe-icons-react:** Improve the API of ffe-icons-react.
404
-
405
- This commit changes the API of the ffe-icons-react package to take
406
- advantage of dead code eliminination and tree shaking in
407
- Webpack >= 2.
408
-
409
- Previously, you imported one and one icon from the corresponding
410
- JSX file. Now all icons are available as named exports from the
411
- root level of `ffe-icons-react`.
412
-
413
- If you're using webpack@>=2.0.0, please make the following changes
414
- to migrate:
415
-
416
- ```diff
417
- - import ChevronIkon from 'ffe-icons-react/chevron-ikon';
418
- - import FamilieIkon from 'ffe-icons-react/familie-ikon';
419
- + import { ChevronIkon, FamilieIkon } from 'ffe-icons-react';
420
- ```
421
-
422
- If you're not using a build tool that enables dead code elimination
423
- and tree shaking, please make the following changes to migrate:
424
-
425
- ```diff
426
- - import ChevronIkon from 'ffe-icons-react/chevron-ikon';
427
- - import FamilieIkon from 'ffe-icons-react/familie-ikon';
428
- + import ChevronIkon from 'ffe-icons-react/lib/chevron-ikon';
429
- + import FamilieIkon from 'ffe-icons-react/lib/familie-ikon';
430
- ```
431
-
432
- This API change allows for cleaner usage and better documentation.
433
-
434
- - This commit renames two icons in ffe-icons.
435
- `bankid-icon` is now named `bankid-ikon`, and
436
- `mynter-to-stabler-pluss` is now named `mynter-to-stabler-pluss-ikon`.
437
-
438
- In addition, ffe-icons-react receives a fix that unbroke a previous
439
- release
440
-
441
- <a name="4.0.7"></a>
442
-
443
- ## [4.0.7](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.6...ffe-icons-react@4.0.7) (2018-02-23)
444
-
445
- **Note:** Version bump only for package ffe-icons-react
446
-
447
- <a name="4.0.6"></a>
448
-
449
- ## [4.0.6](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.5...ffe-icons-react@4.0.6) (2018-02-22)
450
-
451
- **Note:** Version bump only for package ffe-icons-react
452
-
453
- <a name="4.0.5"></a>
454
-
455
- ## [4.0.5](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.4...ffe-icons-react@4.0.5) (2018-01-19)
456
-
457
- **Note:** Version bump only for package ffe-icons-react
458
-
459
- <a name="4.0.4"></a>
460
-
461
- ## [4.0.4](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.3...ffe-icons-react@4.0.4) (2018-01-10)
462
-
463
- **Note:** Version bump only for package ffe-icons-react
464
-
465
- <a name="4.0.3"></a>
466
-
467
- ## [4.0.3](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.2...ffe-icons-react@4.0.3) (2018-01-09)
468
-
469
- **Note:** Version bump only for package ffe-icons-react
470
-
471
- <a name="4.0.2"></a>
472
-
473
- ## [4.0.2](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.1...ffe-icons-react@4.0.2) (2018-01-05)
474
-
475
- **Note:** Version bump only for package ffe-icons-react
476
-
477
- <a name="4.0.1"></a>
478
-
479
- ## [4.0.1](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.0...ffe-icons-react@4.0.1) (2018-01-04)
480
-
481
- **Note:** Version bump only for package ffe-icons-react
482
-
483
- <a name="4.0.0"></a>
484
-
485
- # [4.0.0](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@3.0.0...ffe-icons-react@4.0.0) (2018-01-02)
486
-
487
- ### Code Refactoring
488
-
489
- - **ffe-icons-react:** Improve API
490
-
491
- ### BREAKING CHANGES
492
-
493
- - **ffe-icons-react:** Improve the API of ffe-icons-react.
494
-
495
- This commit changes the API of the ffe-icons-react package to take
496
- advantage of dead code eliminination and tree shaking in
497
- Webpack >= 2.
498
-
499
- Previously, you imported one and one icon from the corresponding
500
- JSX file. Now all icons are available as named exports from the
501
- root level of `ffe-icons-react`.
502
-
503
- If you're using webpack@>=2.0.0, please make the following changes
504
- to migrate:
505
-
506
- ```diff
507
- - import ChevronIkon from '@sb1/ffe-icons-react/chevron-ikon';
508
- - import FamilieIkon from '@sb1/ffe-icons-react/familie-ikon';
509
- + import { ChevronIkon, FamilieIkon } from '@sb1/ffe-icons-react';
510
- ```
511
-
512
- If you're not using a build tool that enables dead code elimination
513
- and tree shaking, please make the following changes to migrate:
514
-
515
- ```diff
516
- - import ChevronIkon from '@sb1/ffe-icons-react/chevron-ikon';
517
- - import FamilieIkon from '@sb1/ffe-icons-react/familie-ikon';
518
- + import ChevronIkon from '@sb1/ffe-icons-react/lib/chevron-ikon';
519
- + import FamilieIkon from '@sb1/ffe-icons-react/lib/familie-ikon';
520
- ```
521
-
522
- This API change allows for cleaner usage and better documentation.
523
-
524
- <a name="3.0.0"></a>
525
-
526
- # 3.0.0 (2017-12-22)
527
-
528
- ### Bug Fixes
529
-
530
- - **ffe-icons-react:** Adjust file path to monorepo layout
531
- - **ffe-icons-react:** fix build script to work inside monorepo
532
- - **ffe-icons-react:** Output components to /lib
533
-
534
- ### Features
535
-
536
- - **ffe-icons-react:** Add contribute.md link to readme
537
-
538
- ### Fix
539
-
540
- - Rename all icons to end with -ikon
541
-
542
- ### BREAKING CHANGES
543
-
544
- - This commit renames two icons in ffe-icons.
545
- `bankid-icon` is now named `bankid-ikon`, and
546
- `mynter-to-stabler-pluss` is now named `mynter-to-stabler-pluss-ikon`.
547
-
548
- In addition, ffe-icons-react receives a fix that unbroke a previous
549
- release
550
-
551
- ## 2.4.19
552
-
553
- - Updated ffe-icons to 7.17.0, new icon: `ffe-icons-react/kr-klokke-ikon.svg`
554
-
555
- ## 2.4.18
556
-
557
- - Updated ffe-icons to 7.16.0 for `ffe-icons-react/gravemaskin-ikon`
558
-
559
- ## 2.4.17
560
-
561
- - Updated ffe-icons to version 7.15.0, new icon:
562
- - `ffe-icons-react/info-sirkel-solid-ikon`
563
-
564
- ## 2.4.16
565
-
566
- - Updated ffe-icons to version 7.14.0, new icon:
567
- - `ffe-icons-react/p-pose-stjerne-ikon`
568
-
569
- ## 2.4.15
570
-
571
- - Updated ffe-icons to version 7.13.0, new icons:
572
- - `ffe-icons-react/beta-ikon`
573
- - `ffe-icons-react/kr-tannhjul-ikon`
574
- - `ffe-icons-react/mobil-utropstegn-ikon`
575
- - `ffe-icons-react/person-streker-ikon`
576
-
577
- ## 2.4.14
578
-
579
- - Fixed warnings:
580
- - attribute focusable on svg elements should be a string, not a boolean
581
- - avoid sending iconName prop to the svg element since it is not a prop on the DOM element
582
-
583
- ## 2.4.13
584
-
585
- - Updated ffe-icons to version 7.12.0, new icons:
586
- - `ffe-icons-react/pil-ut-av-boks-skraa-ikon` has been redesigned with thicker lines
587
-
588
- ## 2.4.12
589
-
590
- - Removed the default `onClick` handler which caused decorative icons to be read by screen readers.
591
-
592
- ## 2.4.11
593
-
594
- - Update ffe-icons to version 7.11.0,
595
- - `ffe-icons-react/snakkeboble-ikon` has been redesigned to be more in line with the visual profile.
596
-
597
- ## 2.4.10
598
-
599
- - Updated ffe-icons to version 7.10.0, new icons:
600
- - `ffe-icons-react/trillekoffert-ikon`
601
-
602
- ## 2.4.9
603
-
604
- - Updated ffe-icons to version 7.9.1
605
-
606
- ## 2.4.8
607
-
608
- - Updated ffe-icons to version 7.9.0
609
-
610
- ## 2.4.7
611
-
612
- - Updated ffe-icons to version 7.8.0
613
-
614
- ## 2.4.6
615
-
616
- - Updated ffe-icons to version 7.7.0
617
-
618
- ## 2.4.5
619
-
620
- - Updated ffe-icons to version 7.6.1
621
-
622
- ## 2.4.4
623
-
624
- - Updated ffe-icons to version 7.6.0
625
-
626
- ## 2.4.3
627
-
628
- - Stopped using PropTypes from the main react package since that's deprecated in favour of the 'prop-types' npm package.
629
-
630
- ## 2.4.2
631
-
632
- - Updated ffe-icons to version 7.5.4
633
-
634
- ## 2.4.1
635
-
636
- - Updated ffe-icons to 7.5.3, fixing a breaking bug introduced with v7.5.1 of ffe-icons:
637
-
638
- # 2.4.0
639
-
640
- - Update ffe-icons to 7.5.1, new icons:
641
- - `ffe-icons-react/binders-ikon`
642
- - `ffe-icons-react/svar-pil-ikon`
643
- - `ffe-icons-react/moped-ikon`
644
-
645
- ## 2.3.1
646
-
647
- - remove snake-cased properties from pluss-ikon and bil-camping icon
648
-
649
- # 2.3.0
650
-
651
- - Update ffe-icons to version 7.2.0. New icons:
652
- - ffe-icons-react/pluss-ikon
653
-
654
- # 2.2.0
655
-
656
- - Update ffe-icons to a new major: 7.1.1. New icons:
657
- - `ffe-icons-react/bil-camping-ikon`
658
- - `ffe-icons-react/hus-tre-ikon`
659
- - `ffe-icons-react/handlevogn-pakker-ikon`
660
-
661
- ## 2.1.1
662
-
663
- - Update eslint configuration
664
-
665
- # 2.0.0
666
-
667
- - Update ffe-icons to a new major: 6.0.0.
668
- - `ffe-icons-react/kontorbygg-ikon` renamed to `ffe-icons-react/kontorbygg-solid-ikon`
669
- - `ffe-icons-react/skyskraper-ikon` added
670
- - `ffe-icons-react/personer-ikon` added
671
- - `ffe-icons-react/kontorbygg-ikon` added (in a non-solid version)
672
-
673
- ## 1.1.1
674
-
675
- - Update ffe-icons to version 5.3.0
676
-
677
- # 1.1.0
678
-
679
- - Update ffe-icons to 5.2.0. New icons:
680
- - ffe-icons-react/konfetti-ikon
681
- - ffe-icons-react/tommel-opp-ikon
682
-
683
- # 1.0.0
684
-
685
- - Updated ffe-icons to a new major: 5.0.0
686
-
687
- ## 0.5.4
688
-
689
- - Updated ffe-icons version to 4.6.0
690
-
691
- ## 0.5.3
692
-
693
- - Updated ffe-icons version to 4.5.0
694
-
695
- ## 0.5.1
696
-
697
- - Updated ffe-icons version to 4.3.0
698
-
699
- ## 0.5.0
700
-
701
- - Added support for `onClick` property on icons
702
-
703
- ## 0.4.2
704
-
705
- - Updated ffe-icons version to 4.1.0
706
-
707
- ## 0.4.1
708
-
709
- - Updated ffe-icons version to 3.7.2
710
-
711
- ## 0.4.0
712
-
713
- - ffe-icons-react return `null` if iconName don't match any icon.
714
-
715
- ## 0.3.0
716
-
717
- - Added support for title, desc, tabIndex and focusable as props, increasing support for screen readers.
718
- - Updated ffe-icons version to 3.7.1
719
-
720
- ## 0.2.0
721
-
722
- - Added style props
723
- - Added focusable="false" to prevent IE focusing on svg elements
724
- - Add proptypes
725
- - Added eslint rules from ffe
726
- - Updated ffe-icons version to 3.6.
727
-
728
- ## 0.1.0 (22.04.2016)
729
-
730
- - Initial release. Based on ffe-icons v3.3.0