@sb1/ffe-icons-react 7.2.16 → 7.2.20

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.
Files changed (2) hide show
  1. package/package.json +8 -9
  2. package/CHANGELOG.md +0 -722
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-icons-react",
3
- "version": "7.2.16",
3
+ "version": "7.2.20",
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.1",
31
+ "@sb1/ffe-icons": "^12.15.4",
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": "525014ef14260c84d366e47f368ebe47af164b37"
48
+ "gitHead": "59eb2e12625e744f1a116c14a40cf69f1bbecdc6"
50
49
  }
package/CHANGELOG.md DELETED
@@ -1,722 +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.16](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-icons-react@7.2.15...@sb1/ffe-icons-react@7.2.16) (2020-11-18)
7
-
8
- **Note:** Version bump only for package @sb1/ffe-icons-react
9
-
10
-
11
-
12
-
13
-
14
- ## [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)
15
-
16
- **Note:** Version bump only for package @sb1/ffe-icons-react
17
-
18
-
19
-
20
-
21
-
22
- ## [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)
23
-
24
- **Note:** Version bump only for package @sb1/ffe-icons-react
25
-
26
-
27
-
28
-
29
-
30
- ## [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)
31
-
32
- **Note:** Version bump only for package @sb1/ffe-icons-react
33
-
34
-
35
-
36
-
37
-
38
- ## [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)
39
-
40
- **Note:** Version bump only for package @sb1/ffe-icons-react
41
-
42
-
43
-
44
-
45
-
46
- ## [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)
47
-
48
- **Note:** Version bump only for package @sb1/ffe-icons-react
49
-
50
-
51
-
52
-
53
-
54
- ## [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)
55
-
56
- **Note:** Version bump only for package @sb1/ffe-icons-react
57
-
58
-
59
-
60
-
61
-
62
- ## [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)
63
-
64
- **Note:** Version bump only for package @sb1/ffe-icons-react
65
-
66
-
67
-
68
-
69
-
70
- ## [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)
71
-
72
- **Note:** Version bump only for package @sb1/ffe-icons-react
73
-
74
- ## [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)
75
-
76
- **Note:** Version bump only for package @sb1/ffe-icons-react
77
-
78
- ## [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)
79
-
80
- **Note:** Version bump only for package @sb1/ffe-icons-react
81
-
82
- ## [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)
83
-
84
- **Note:** Version bump only for package @sb1/ffe-icons-react
85
-
86
- ## [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)
87
-
88
- **Note:** Version bump only for package @sb1/ffe-icons-react
89
-
90
- ## [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)
91
-
92
- ### Bug Fixes
93
-
94
- - **ffe-icons-react:** extend svg attributes in typescript interface ([8a4c541](https://github.com/SpareBank1/designsystem/commit/8a4c541050cad2d527b1d681cf6d80f9d46c4492))
95
- - **ffe-icons-react:** fixed typescript props and proptype mismatch ([5676790](https://github.com/SpareBank1/designsystem/commit/567679054951b39ad4d552f25932985d802276d7))
96
- - **ffe-icons-react:** remove duplicate prop + make svg props overridable ([c4b88b8](https://github.com/SpareBank1/designsystem/commit/c4b88b82dc7c82eb3e80bbab10890d227932f72e))
97
-
98
- ## [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)
99
-
100
- **Note:** Version bump only for package @sb1/ffe-icons-react
101
-
102
- ## [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)
103
-
104
- **Note:** Version bump only for package @sb1/ffe-icons-react
105
-
106
- # [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)
107
-
108
- ### Features
109
-
110
- - **ffe-icons-react:** generate typescript declarations for all icons ([d444c47](https://github.com/SpareBank1/designsystem/commit/d444c477c19a63347faa3322243f363280d28fb5))
111
-
112
- # [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)
113
-
114
- ### Features
115
-
116
- - **ffe-icons-react:** generate typescript declarations for all icons ([d444c47](https://github.com/SpareBank1/designsystem/commit/d444c477c19a63347faa3322243f363280d28fb5))
117
-
118
- ## [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)
119
-
120
- **Note:** Version bump only for package @sb1/ffe-icons-react
121
-
122
- ## [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)
123
-
124
- **Note:** Version bump only for package @sb1/ffe-icons-react
125
-
126
- ## [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)
127
-
128
- **Note:** Version bump only for package @sb1/ffe-icons-react
129
-
130
- # [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)
131
-
132
- ### chore
133
-
134
- - bump React to 16.9 to allow for using hooks etc ([e3901f1](https://github.com/SpareBank1/designsystem/commit/e3901f1))
135
-
136
- ### BREAKING CHANGES
137
-
138
- - peerDep of React is raised to 16.9. While this in itself
139
- isn't a breaking change, it allows for the use of hooks in later releases.
140
- Such changes would just be a minor version, or even a patch, but without
141
- this major version bump it would result in a runtime error for consumers.
142
-
143
- ## [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)
144
-
145
- **Note:** Version bump only for package @sb1/ffe-icons-react
146
-
147
- ## [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)
148
-
149
- **Note:** Version bump only for package @sb1/ffe-icons-react
150
-
151
- ## [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)
152
-
153
- **Note:** Version bump only for package @sb1/ffe-icons-react
154
-
155
- ## [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)
156
-
157
- **Note:** Version bump only for package @sb1/ffe-icons-react
158
-
159
- ## [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)
160
-
161
- **Note:** Version bump only for package @sb1/ffe-icons-react
162
-
163
- ## [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)
164
-
165
- **Note:** Version bump only for package @sb1/ffe-icons-react
166
-
167
- ## [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)
168
-
169
- **Note:** Version bump only for package @sb1/ffe-icons-react
170
-
171
- ## [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)
172
-
173
- **Note:** Version bump only for package @sb1/ffe-icons-react
174
-
175
- ## [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)
176
-
177
- ### Bug Fixes
178
-
179
- - Build tree shakeable packages ([fb4a9ea](https://github.com/SpareBank1/designsystem/commit/fb4a9ea))
180
-
181
- ## [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)
182
-
183
- **Note:** Version bump only for package @sb1/ffe-icons-react
184
-
185
- ## [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)
186
-
187
- **Note:** Version bump only for package @sb1/ffe-icons-react
188
-
189
- ## [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)
190
-
191
- ### Bug Fixes
192
-
193
- - **ffe-icons-react:** Enable code splitting ([c9441e4](https://github.com/SpareBank1/designsystem/commit/c9441e4))
194
-
195
- ## [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)
196
-
197
- **Note:** Version bump only for package @sb1/ffe-icons-react
198
-
199
- ## [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)
200
-
201
- **Note:** Version bump only for package @sb1/ffe-icons-react
202
-
203
- <a name="6.0.6"></a>
204
-
205
- ## [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)
206
-
207
- **Note:** Version bump only for package @sb1/ffe-icons-react
208
-
209
- <a name="6.0.5"></a>
210
-
211
- ## [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)
212
-
213
- ### Bug Fixes
214
-
215
- - **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)
216
-
217
- <a name="6.0.4"></a>
218
-
219
- ## [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)
220
-
221
- **Note:** Version bump only for package @sb1/ffe-icons-react
222
-
223
- <a name="6.0.3"></a>
224
-
225
- ## [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)
226
-
227
- **Note:** Version bump only for package @sb1/ffe-icons-react
228
-
229
- <a name="6.0.2"></a>
230
-
231
- ## [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)
232
-
233
- **Note:** Version bump only for package @sb1/ffe-icons-react
234
-
235
- <a name="6.0.1"></a>
236
-
237
- ## [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)
238
-
239
- **Note:** Version bump only for package @sb1/ffe-icons-react
240
-
241
- <a name="6.0.0"></a>
242
-
243
- # [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)
244
-
245
- ### Chores
246
-
247
- - **ffe-icons-react:** Upgrade to new ffe-icons ([bab479f](https://github.com/SpareBank1/designsystem/commit/bab479f))
248
-
249
- ### BREAKING CHANGES
250
-
251
- - **ffe-icons-react:** This version migrates to the new `ffe-icons` which
252
- replaced its method of generating the SVG sprite to no longer need
253
- PhantomJS. This may or may not introduce visual regressions. From the
254
- looks of it in the styleguide it should be a drop-in replacement,
255
- however for safety this is marked as a breaking change.
256
-
257
- <a name="5.0.5"></a>
258
-
259
- ## [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)
260
-
261
- **Note:** Version bump only for package @sb1/ffe-icons-react
262
-
263
- <a name="5.0.4"></a>
264
-
265
- ## [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)
266
-
267
- **Note:** Version bump only for package @sb1/ffe-icons-react
268
-
269
- <a name="5.0.3"></a>
270
-
271
- ## [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)
272
-
273
- ### Bug Fixes
274
-
275
- - **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)
276
-
277
- <a name="5.0.2"></a>
278
-
279
- ## [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)
280
-
281
- ### Bug Fixes
282
-
283
- - **ffe-icons-react:** Fixed build script after changes to path in ffe-icons ([a7270ae](https://github.com/SpareBank1/designsystem/commit/a7270ae))
284
-
285
- <a name="5.0.1"></a>
286
-
287
- ## [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)
288
-
289
- ### Bug Fixes
290
-
291
- - **ffe-icons-react:** Fixed build script after changes to path in ffe-icons ([3251d80](https://github.com/SpareBank1/designsystem/commit/3251d80))
292
-
293
- <a name="5.0.0"></a>
294
-
295
- # 5.0.0 (2018-02-25)
296
-
297
- ### Bug Fixes
298
-
299
- - **ffe-icons-react:** Adjust file path to monorepo layout ([599b38e](https://github.com/SpareBank1/designsystem/commit/599b38e))
300
- - **ffe-icons-react:** fix build script to work inside monorepo ([6cb9b97](https://github.com/SpareBank1/designsystem/commit/6cb9b97))
301
- - **ffe-icons-react:** Output components to /lib ([2d02dbb](https://github.com/SpareBank1/designsystem/commit/2d02dbb))
302
- - remove all references to internal system ([ff22340](https://github.com/SpareBank1/designsystem/commit/ff22340))
303
-
304
- ### Chores
305
-
306
- - add [@sb1](https://github.com/sb1)/ scope to all packages ([37efbb4](https://github.com/SpareBank1/designsystem/commit/37efbb4))
307
-
308
- ### Code Refactoring
309
-
310
- - **ffe-icons-react:** Improve API ([e9b88a4](https://github.com/SpareBank1/designsystem/commit/e9b88a4))
311
-
312
- ### Features
313
-
314
- - **ffe-icons-react:** Add contribute.md link to readme ([532c784](https://github.com/SpareBank1/designsystem/commit/532c784))
315
-
316
- ### Fix
317
-
318
- - Rename all icons to end with -ikon ([a9d5741](https://github.com/SpareBank1/designsystem/commit/a9d5741))
319
-
320
- ### BREAKING CHANGES
321
-
322
- - All packages have been renamed to add the @sb1 scope.
323
-
324
- See links [1] and [2] to read more about package scopes.
325
-
326
- Unfortunately this requires you update both your dependencies in
327
- `package.json` and all `import` or `require` statements in your code.
328
- Also, you unfortunately have to upgrade all FFE packages at once due to
329
- dependency between packages. If you are on the latest version prior to
330
- this breaking change the upgrade should be a matter of updating
331
- `package.json` with new package names and versions, and updating your
332
- imports.
333
-
334
- To help find the proper package versions you can either browse to the
335
- packages you need or check out the list of Git tags either on
336
- Github [3] or by cloning the repository and running the `git tag`
337
- command. All package versions get a tag in the format
338
- _package@version_.
339
-
340
- Update your `package.json` with the latest package version and add the
341
- @sb1 scope to the package name:
342
-
343
- ```diff
344
- - "ffe-core": "11.0.2",
345
- + "@sb1/ffe-core": "11.0.2",
346
- ```
347
-
348
- Scoped packages all get put in a subdirectory in `node_modules/`. In our
349
- case packages will be put in the `node_modules/@sb1/` directory. If your
350
- build depends on file paths (for instance for copying fonts) you need to
351
- update that path to include the scope.
352
-
353
- The directory structure also means you have to update your imports, both
354
- in Less and in JavaScript.
355
-
356
- Using `less-plugin-npm-import`:
357
-
358
- ```diff
359
- - @import 'npm://ffe-core/less/ffe';
360
- + @import 'npm://@sb1/ffe-core/less/ffe';
361
- ```
362
-
363
- Using Webpack:
364
-
365
- ```diff
366
- - @import '~ffe-core/less/ffe';
367
- + @import '~@sb1/ffe-core/less/ffe';
368
- ```
369
-
370
- Using plain old paths:
371
-
372
- ```diff
373
- - @import '../path/to/node_modules/ffe-core/less/ffe';
374
- + @import '../path/to/node_modules/@sb1/ffe-core/less/ffe';
375
- ```
376
-
377
- JavaScript `import`:
378
-
379
- ```diff
380
- - import { ActionButton } from 'ffe-buttons-react';
381
- + import { ActionButton } from '@sb1/ffe-buttons-react';
382
- ```
383
-
384
- JavaScript `require`:
385
-
386
- ```diff
387
- - const { ActionButton } = require('ffe-buttons-react').default;
388
- + const { ActionButton } = require('@sb1/ffe-buttons-react').default;
389
- ```
390
-
391
- [1]: https://docs.npmjs.com/misc/scope
392
- [2]: https://docs.npmjs.com/getting-started/scoped-packages
393
- [3]: https://github.com/sparebank1/designsystem/tags
394
-
395
- - **ffe-icons-react:** Improve the API of ffe-icons-react.
396
-
397
- This commit changes the API of the ffe-icons-react package to take
398
- advantage of dead code eliminination and tree shaking in
399
- Webpack >= 2.
400
-
401
- Previously, you imported one and one icon from the corresponding
402
- JSX file. Now all icons are available as named exports from the
403
- root level of `ffe-icons-react`.
404
-
405
- If you're using webpack@>=2.0.0, please make the following changes
406
- to migrate:
407
-
408
- ```diff
409
- - import ChevronIkon from 'ffe-icons-react/chevron-ikon';
410
- - import FamilieIkon from 'ffe-icons-react/familie-ikon';
411
- + import { ChevronIkon, FamilieIkon } from 'ffe-icons-react';
412
- ```
413
-
414
- If you're not using a build tool that enables dead code elimination
415
- and tree shaking, please make the following changes to migrate:
416
-
417
- ```diff
418
- - import ChevronIkon from 'ffe-icons-react/chevron-ikon';
419
- - import FamilieIkon from 'ffe-icons-react/familie-ikon';
420
- + import ChevronIkon from 'ffe-icons-react/lib/chevron-ikon';
421
- + import FamilieIkon from 'ffe-icons-react/lib/familie-ikon';
422
- ```
423
-
424
- This API change allows for cleaner usage and better documentation.
425
-
426
- - This commit renames two icons in ffe-icons.
427
- `bankid-icon` is now named `bankid-ikon`, and
428
- `mynter-to-stabler-pluss` is now named `mynter-to-stabler-pluss-ikon`.
429
-
430
- In addition, ffe-icons-react receives a fix that unbroke a previous
431
- release
432
-
433
- <a name="4.0.7"></a>
434
-
435
- ## [4.0.7](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.6...ffe-icons-react@4.0.7) (2018-02-23)
436
-
437
- **Note:** Version bump only for package ffe-icons-react
438
-
439
- <a name="4.0.6"></a>
440
-
441
- ## [4.0.6](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.5...ffe-icons-react@4.0.6) (2018-02-22)
442
-
443
- **Note:** Version bump only for package ffe-icons-react
444
-
445
- <a name="4.0.5"></a>
446
-
447
- ## [4.0.5](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.4...ffe-icons-react@4.0.5) (2018-01-19)
448
-
449
- **Note:** Version bump only for package ffe-icons-react
450
-
451
- <a name="4.0.4"></a>
452
-
453
- ## [4.0.4](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.3...ffe-icons-react@4.0.4) (2018-01-10)
454
-
455
- **Note:** Version bump only for package ffe-icons-react
456
-
457
- <a name="4.0.3"></a>
458
-
459
- ## [4.0.3](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.2...ffe-icons-react@4.0.3) (2018-01-09)
460
-
461
- **Note:** Version bump only for package ffe-icons-react
462
-
463
- <a name="4.0.2"></a>
464
-
465
- ## [4.0.2](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.1...ffe-icons-react@4.0.2) (2018-01-05)
466
-
467
- **Note:** Version bump only for package ffe-icons-react
468
-
469
- <a name="4.0.1"></a>
470
-
471
- ## [4.0.1](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@4.0.0...ffe-icons-react@4.0.1) (2018-01-04)
472
-
473
- **Note:** Version bump only for package ffe-icons-react
474
-
475
- <a name="4.0.0"></a>
476
-
477
- # [4.0.0](https://github.com/SpareBank1/designsystem/compare/ffe-icons-react@3.0.0...ffe-icons-react@4.0.0) (2018-01-02)
478
-
479
- ### Code Refactoring
480
-
481
- - **ffe-icons-react:** Improve API
482
-
483
- ### BREAKING CHANGES
484
-
485
- - **ffe-icons-react:** Improve the API of ffe-icons-react.
486
-
487
- This commit changes the API of the ffe-icons-react package to take
488
- advantage of dead code eliminination and tree shaking in
489
- Webpack >= 2.
490
-
491
- Previously, you imported one and one icon from the corresponding
492
- JSX file. Now all icons are available as named exports from the
493
- root level of `ffe-icons-react`.
494
-
495
- If you're using webpack@>=2.0.0, please make the following changes
496
- to migrate:
497
-
498
- ```diff
499
- - import ChevronIkon from '@sb1/ffe-icons-react/chevron-ikon';
500
- - import FamilieIkon from '@sb1/ffe-icons-react/familie-ikon';
501
- + import { ChevronIkon, FamilieIkon } from '@sb1/ffe-icons-react';
502
- ```
503
-
504
- If you're not using a build tool that enables dead code elimination
505
- and tree shaking, please make the following changes to migrate:
506
-
507
- ```diff
508
- - import ChevronIkon from '@sb1/ffe-icons-react/chevron-ikon';
509
- - import FamilieIkon from '@sb1/ffe-icons-react/familie-ikon';
510
- + import ChevronIkon from '@sb1/ffe-icons-react/lib/chevron-ikon';
511
- + import FamilieIkon from '@sb1/ffe-icons-react/lib/familie-ikon';
512
- ```
513
-
514
- This API change allows for cleaner usage and better documentation.
515
-
516
- <a name="3.0.0"></a>
517
-
518
- # 3.0.0 (2017-12-22)
519
-
520
- ### Bug Fixes
521
-
522
- - **ffe-icons-react:** Adjust file path to monorepo layout
523
- - **ffe-icons-react:** fix build script to work inside monorepo
524
- - **ffe-icons-react:** Output components to /lib
525
-
526
- ### Features
527
-
528
- - **ffe-icons-react:** Add contribute.md link to readme
529
-
530
- ### Fix
531
-
532
- - Rename all icons to end with -ikon
533
-
534
- ### BREAKING CHANGES
535
-
536
- - This commit renames two icons in ffe-icons.
537
- `bankid-icon` is now named `bankid-ikon`, and
538
- `mynter-to-stabler-pluss` is now named `mynter-to-stabler-pluss-ikon`.
539
-
540
- In addition, ffe-icons-react receives a fix that unbroke a previous
541
- release
542
-
543
- ## 2.4.19
544
-
545
- - Updated ffe-icons to 7.17.0, new icon: `ffe-icons-react/kr-klokke-ikon.svg`
546
-
547
- ## 2.4.18
548
-
549
- - Updated ffe-icons to 7.16.0 for `ffe-icons-react/gravemaskin-ikon`
550
-
551
- ## 2.4.17
552
-
553
- - Updated ffe-icons to version 7.15.0, new icon:
554
- - `ffe-icons-react/info-sirkel-solid-ikon`
555
-
556
- ## 2.4.16
557
-
558
- - Updated ffe-icons to version 7.14.0, new icon:
559
- - `ffe-icons-react/p-pose-stjerne-ikon`
560
-
561
- ## 2.4.15
562
-
563
- - Updated ffe-icons to version 7.13.0, new icons:
564
- - `ffe-icons-react/beta-ikon`
565
- - `ffe-icons-react/kr-tannhjul-ikon`
566
- - `ffe-icons-react/mobil-utropstegn-ikon`
567
- - `ffe-icons-react/person-streker-ikon`
568
-
569
- ## 2.4.14
570
-
571
- - Fixed warnings:
572
- - attribute focusable on svg elements should be a string, not a boolean
573
- - avoid sending iconName prop to the svg element since it is not a prop on the DOM element
574
-
575
- ## 2.4.13
576
-
577
- - Updated ffe-icons to version 7.12.0, new icons:
578
- - `ffe-icons-react/pil-ut-av-boks-skraa-ikon` has been redesigned with thicker lines
579
-
580
- ## 2.4.12
581
-
582
- - Removed the default `onClick` handler which caused decorative icons to be read by screen readers.
583
-
584
- ## 2.4.11
585
-
586
- - Update ffe-icons to version 7.11.0,
587
- - `ffe-icons-react/snakkeboble-ikon` has been redesigned to be more in line with the visual profile.
588
-
589
- ## 2.4.10
590
-
591
- - Updated ffe-icons to version 7.10.0, new icons:
592
- - `ffe-icons-react/trillekoffert-ikon`
593
-
594
- ## 2.4.9
595
-
596
- - Updated ffe-icons to version 7.9.1
597
-
598
- ## 2.4.8
599
-
600
- - Updated ffe-icons to version 7.9.0
601
-
602
- ## 2.4.7
603
-
604
- - Updated ffe-icons to version 7.8.0
605
-
606
- ## 2.4.6
607
-
608
- - Updated ffe-icons to version 7.7.0
609
-
610
- ## 2.4.5
611
-
612
- - Updated ffe-icons to version 7.6.1
613
-
614
- ## 2.4.4
615
-
616
- - Updated ffe-icons to version 7.6.0
617
-
618
- ## 2.4.3
619
-
620
- - Stopped using PropTypes from the main react package since that's deprecated in favour of the 'prop-types' npm package.
621
-
622
- ## 2.4.2
623
-
624
- - Updated ffe-icons to version 7.5.4
625
-
626
- ## 2.4.1
627
-
628
- - Updated ffe-icons to 7.5.3, fixing a breaking bug introduced with v7.5.1 of ffe-icons:
629
-
630
- # 2.4.0
631
-
632
- - Update ffe-icons to 7.5.1, new icons:
633
- - `ffe-icons-react/binders-ikon`
634
- - `ffe-icons-react/svar-pil-ikon`
635
- - `ffe-icons-react/moped-ikon`
636
-
637
- ## 2.3.1
638
-
639
- - remove snake-cased properties from pluss-ikon and bil-camping icon
640
-
641
- # 2.3.0
642
-
643
- - Update ffe-icons to version 7.2.0. New icons:
644
- - ffe-icons-react/pluss-ikon
645
-
646
- # 2.2.0
647
-
648
- - Update ffe-icons to a new major: 7.1.1. New icons:
649
- - `ffe-icons-react/bil-camping-ikon`
650
- - `ffe-icons-react/hus-tre-ikon`
651
- - `ffe-icons-react/handlevogn-pakker-ikon`
652
-
653
- ## 2.1.1
654
-
655
- - Update eslint configuration
656
-
657
- # 2.0.0
658
-
659
- - Update ffe-icons to a new major: 6.0.0.
660
- - `ffe-icons-react/kontorbygg-ikon` renamed to `ffe-icons-react/kontorbygg-solid-ikon`
661
- - `ffe-icons-react/skyskraper-ikon` added
662
- - `ffe-icons-react/personer-ikon` added
663
- - `ffe-icons-react/kontorbygg-ikon` added (in a non-solid version)
664
-
665
- ## 1.1.1
666
-
667
- - Update ffe-icons to version 5.3.0
668
-
669
- # 1.1.0
670
-
671
- - Update ffe-icons to 5.2.0. New icons:
672
- - ffe-icons-react/konfetti-ikon
673
- - ffe-icons-react/tommel-opp-ikon
674
-
675
- # 1.0.0
676
-
677
- - Updated ffe-icons to a new major: 5.0.0
678
-
679
- ## 0.5.4
680
-
681
- - Updated ffe-icons version to 4.6.0
682
-
683
- ## 0.5.3
684
-
685
- - Updated ffe-icons version to 4.5.0
686
-
687
- ## 0.5.1
688
-
689
- - Updated ffe-icons version to 4.3.0
690
-
691
- ## 0.5.0
692
-
693
- - Added support for `onClick` property on icons
694
-
695
- ## 0.4.2
696
-
697
- - Updated ffe-icons version to 4.1.0
698
-
699
- ## 0.4.1
700
-
701
- - Updated ffe-icons version to 3.7.2
702
-
703
- ## 0.4.0
704
-
705
- - ffe-icons-react return `null` if iconName don't match any icon.
706
-
707
- ## 0.3.0
708
-
709
- - Added support for title, desc, tabIndex and focusable as props, increasing support for screen readers.
710
- - Updated ffe-icons version to 3.7.1
711
-
712
- ## 0.2.0
713
-
714
- - Added style props
715
- - Added focusable="false" to prevent IE focusing on svg elements
716
- - Add proptypes
717
- - Added eslint rules from ffe
718
- - Updated ffe-icons version to 3.6.
719
-
720
- ## 0.1.0 (22.04.2016)
721
-
722
- - Initial release. Based on ffe-icons v3.3.0