All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
9.0.3 (2024-02-13)
- ffe-icons-react: fix ts types (77089b8)
9.0.2 (2024-02-13)
Note: Version bump only for package @sb1/ffe-icons-react
9.0.1 (2024-02-12)
- Revert "docs(ffe-icons-react): erstatter innholdet i readme med deprecation notice" (eacf9ec)
9.0.0 (2024-01-23)
- ffe-icons-react: endre propnavn fra filePath til fileUrl (1a2d722)
- ffe-icons-react: endrer navn på prop
8.0.0 (2024-01-16)
- ffe-icons-react: legg til ikon wrapper komponent (3bfa354)
- ffe-icons-react: helt ny komponent
7.3.6 (2024-01-15)
Note: Version bump only for package @sb1/ffe-icons-react
7.3.5 (2023-04-11)
Note: Version bump only for package @sb1/ffe-icons-react
7.3.4 (2022-10-28)
Note: Version bump only for package @sb1/ffe-icons-react
7.3.3 (2022-09-09)
Note: Version bump only for package @sb1/ffe-icons-react
7.3.2 (2022-03-02)
- ffe-icons-react: add author to package.json (2851f42)
7.3.1 (2022-02-23)
Note: Version bump only for package @sb1/ffe-icons-react
7.3.0 (2022-02-18)
- ffe-icons-react: improved build (eec4061)
7.2.22 (2022-01-27)
- ffe-icons-react: corrects wrong use of ts types instead of propTypes (986ce3a)
7.2.21 (2022-01-24)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.20 (2021-12-10)
7.2.19 (2021-11-04)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.18 (2021-03-15)
- ffe-icons-react: broadens version of peer dependencies (34d2fec)
7.2.17 (2021-02-02)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.16 (2020-11-18)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.15 (2020-09-15)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.14 (2020-08-27)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.13 (2020-08-04)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.12 (2020-07-30)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.11 (2020-06-29)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.10 (2020-06-24)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.9 (2020-05-27)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.8 (2020-03-31)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.7 (2020-03-18)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.6 (2020-03-16)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.5 (2020-03-13)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.4 (2020-03-10)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.3 (2020-03-06)
- ffe-icons-react: extend svg attributes in typescript interface (8a4c541)
- ffe-icons-react: fixed typescript props and proptype mismatch (5676790)
- ffe-icons-react: remove duplicate prop + make svg props overridable (c4b88b8)
7.2.2 (2020-02-26)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.1 (2020-02-26)
Note: Version bump only for package @sb1/ffe-icons-react
7.2.0 (2020-02-26)
- ffe-icons-react: generate typescript declarations for all icons (d444c47)
7.1.0 (2020-02-25)
- ffe-icons-react: generate typescript declarations for all icons (d444c47)
7.0.3 (2019-11-20)
Note: Version bump only for package @sb1/ffe-icons-react
7.0.2 (2019-10-28)
Note: Version bump only for package @sb1/ffe-icons-react
7.0.1 (2019-10-03)
Note: Version bump only for package @sb1/ffe-icons-react
7.0.0 (2019-08-27)
- bump React to 16.9 to allow for using hooks etc (e3901f1)
- peerDep of React is raised to 16.9. While this in itself isn't a breaking change, it allows for the use of hooks in later releases. Such changes would just be a minor version, or even a patch, but without this major version bump it would result in a runtime error for consumers.
6.0.20 (2019-08-12)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.19 (2019-04-24)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.18 (2019-04-08)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.17 (2019-03-25)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.16 (2019-02-18)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.15 (2019-01-29)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.14 (2018-12-19)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.13 (2018-12-18)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.12 (2018-12-11)
- Build tree shakeable packages (fb4a9ea)
6.0.11 (2018-12-04)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.10 (2018-11-26)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.9 (2018-11-16)
- ffe-icons-react: Enable code splitting (c9441e4)
6.0.8 (2018-11-13)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.7 (2018-10-17)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.6 (2018-08-09)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.5 (2018-06-14)
6.0.4 (2018-06-04)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.3 (2018-06-04)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.2 (2018-05-29)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.1 (2018-05-04)
Note: Version bump only for package @sb1/ffe-icons-react
6.0.0 (2018-04-11)
- ffe-icons-react: Upgrade to new ffe-icons (bab479f)
- ffe-icons-react: This version migrates to the new
ffe-icons
which replaced its method of generating the SVG sprite to no longer need PhantomJS. This may or may not introduce visual regressions. From the looks of it in the styleguide it should be a drop-in replacement, however for safety this is marked as a breaking change.
5.0.5 (2018-04-06)
Note: Version bump only for package @sb1/ffe-icons-react
5.0.4 (2018-03-27)
Note: Version bump only for package @sb1/ffe-icons-react
5.0.3 (2018-03-13)
5.0.2 (2018-03-07)
- ffe-icons-react: Fixed build script after changes to path in ffe-icons (a7270ae)
5.0.1 (2018-03-02)
- ffe-icons-react: Fixed build script after changes to path in ffe-icons (3251d80)
- ffe-icons-react: Adjust file path to monorepo layout (599b38e)
- ffe-icons-react: fix build script to work inside monorepo (6cb9b97)
- ffe-icons-react: Output components to /lib (2d02dbb)
- remove all references to internal system (ff22340)
- ffe-icons-react: Improve API (e9b88a4)
- ffe-icons-react: Add contribute.md link to readme (532c784)
- Rename all icons to end with -ikon (a9d5741)
- All packages have been renamed to add the @sb1 scope.
See links 1 and 2 to read more about package scopes.
Unfortunately this requires you update both your dependencies in
package.json
and all import
or require
statements in your code.
Also, you unfortunately have to upgrade all FFE packages at once due to
dependency between packages. If you are on the latest version prior to
this breaking change the upgrade should be a matter of updating
package.json
with new package names and versions, and updating your
imports.
To help find the proper package versions you can either browse to the
packages you need or check out the list of Git tags either on
Github 3 or by cloning the repository and running the git tag
command. All package versions get a tag in the format
package@version.
Update your package.json
with the latest package version and add the
@sb1 scope to the package name:
- "ffe-core": "11.0.2",
+ "@sb1/ffe-core": "11.0.2",
Scoped packages all get put in a subdirectory in node_modules/
. In our
case packages will be put in the node_modules/@sb1/
directory. If your
build depends on file paths (for instance for copying fonts) you need to
update that path to include the scope.
The directory structure also means you have to update your imports, both in Less and in JavaScript.
Using less-plugin-npm-import
:
- @import 'npm://ffe-core/less/ffe';
+ @import 'npm://@sb1/ffe-core/less/ffe';
Using Webpack:
- @import '~ffe-core/less/ffe';
+ @import '~@sb1/ffe-core/less/ffe';
Using plain old paths:
- @import '../path/to/node_modules/ffe-core/less/ffe';
+ @import '../path/to/node_modules/@sb1/ffe-core/less/ffe';
JavaScript import
:
- import { ActionButton } from 'ffe-buttons-react';
+ import { ActionButton } from '@sb1/ffe-buttons-react';
JavaScript require
:
- const { ActionButton } = require('ffe-buttons-react').default;
+ const { ActionButton } = require('@sb1/ffe-buttons-react').default;
- ffe-icons-react: Improve the API of ffe-icons-react.
This commit changes the API of the ffe-icons-react package to take advantage of dead code eliminination and tree shaking in Webpack >= 2.
Previously, you imported one and one icon from the corresponding
JSX file. Now all icons are available as named exports from the
root level of ffe-icons-react
.
If you're using webpack@>=2.0.0, please make the following changes to migrate:
- import ChevronIkon from 'ffe-icons-react/chevron-ikon';
- import FamilieIkon from 'ffe-icons-react/familie-ikon';
+ import { ChevronIkon, FamilieIkon } from 'ffe-icons-react';
If you're not using a build tool that enables dead code elimination and tree shaking, please make the following changes to migrate:
- import ChevronIkon from 'ffe-icons-react/chevron-ikon';
- import FamilieIkon from 'ffe-icons-react/familie-ikon';
+ import ChevronIkon from 'ffe-icons-react/lib/chevron-ikon';
+ import FamilieIkon from 'ffe-icons-react/lib/familie-ikon';
This API change allows for cleaner usage and better documentation.
- This commit renames two icons in ffe-icons.
bankid-icon
is now namedbankid-ikon
, andmynter-to-stabler-pluss
is now namedmynter-to-stabler-pluss-ikon
.
In addition, ffe-icons-react receives a fix that unbroke a previous release
4.0.7 (2018-02-23)
Note: Version bump only for package ffe-icons-react
4.0.6 (2018-02-22)
Note: Version bump only for package ffe-icons-react
4.0.5 (2018-01-19)
Note: Version bump only for package ffe-icons-react
4.0.4 (2018-01-10)
Note: Version bump only for package ffe-icons-react
4.0.3 (2018-01-09)
Note: Version bump only for package ffe-icons-react
4.0.2 (2018-01-05)
Note: Version bump only for package ffe-icons-react
4.0.1 (2018-01-04)
Note: Version bump only for package ffe-icons-react
4.0.0 (2018-01-02)
- ffe-icons-react: Improve API
- ffe-icons-react: Improve the API of ffe-icons-react.
This commit changes the API of the ffe-icons-react package to take advantage of dead code eliminination and tree shaking in Webpack >= 2.
Previously, you imported one and one icon from the corresponding
JSX file. Now all icons are available as named exports from the
root level of ffe-icons-react
.
If you're using webpack@>=2.0.0, please make the following changes to migrate:
- import ChevronIkon from '@sb1/ffe-icons-react/chevron-ikon';
- import FamilieIkon from '@sb1/ffe-icons-react/familie-ikon';
+ import { ChevronIkon, FamilieIkon } from '@sb1/ffe-icons-react';
If you're not using a build tool that enables dead code elimination and tree shaking, please make the following changes to migrate:
- import ChevronIkon from '@sb1/ffe-icons-react/chevron-ikon';
- import FamilieIkon from '@sb1/ffe-icons-react/familie-ikon';
+ import ChevronIkon from '@sb1/ffe-icons-react/lib/chevron-ikon';
+ import FamilieIkon from '@sb1/ffe-icons-react/lib/familie-ikon';
This API change allows for cleaner usage and better documentation.
- ffe-icons-react: Adjust file path to monorepo layout
- ffe-icons-react: fix build script to work inside monorepo
- ffe-icons-react: Output components to /lib
- ffe-icons-react: Add contribute.md link to readme
- Rename all icons to end with -ikon
- This commit renames two icons in ffe-icons.
bankid-icon
is now namedbankid-ikon
, andmynter-to-stabler-pluss
is now namedmynter-to-stabler-pluss-ikon
.
In addition, ffe-icons-react receives a fix that unbroke a previous release
- Updated ffe-icons to 7.17.0, new icon:
ffe-icons-react/kr-klokke-ikon.svg
- Updated ffe-icons to 7.16.0 for
ffe-icons-react/gravemaskin-ikon
- Updated ffe-icons to version 7.15.0, new icon:
ffe-icons-react/info-sirkel-solid-ikon
- Updated ffe-icons to version 7.14.0, new icon:
ffe-icons-react/p-pose-stjerne-ikon
- Updated ffe-icons to version 7.13.0, new icons:
ffe-icons-react/beta-ikon
ffe-icons-react/kr-tannhjul-ikon
ffe-icons-react/mobil-utropstegn-ikon
ffe-icons-react/person-streker-ikon
- Fixed warnings:
- attribute focusable on svg elements should be a string, not a boolean
- avoid sending iconName prop to the svg element since it is not a prop on the DOM element
- Updated ffe-icons to version 7.12.0, new icons:
ffe-icons-react/pil-ut-av-boks-skraa-ikon
has been redesigned with thicker lines
- Removed the default
onClick
handler which caused decorative icons to be read by screen readers.
- Update ffe-icons to version 7.11.0,
ffe-icons-react/snakkeboble-ikon
has been redesigned to be more in line with the visual profile.
- Updated ffe-icons to version 7.10.0, new icons:
ffe-icons-react/trillekoffert-ikon
- Updated ffe-icons to version 7.9.1
- Updated ffe-icons to version 7.9.0
- Updated ffe-icons to version 7.8.0
- Updated ffe-icons to version 7.7.0
- Updated ffe-icons to version 7.6.1
- Updated ffe-icons to version 7.6.0
- Stopped using PropTypes from the main react package since that's deprecated in favour of the 'prop-types' npm package.
- Updated ffe-icons to version 7.5.4
- Updated ffe-icons to 7.5.3, fixing a breaking bug introduced with v7.5.1 of ffe-icons:
- Update ffe-icons to 7.5.1, new icons:
ffe-icons-react/binders-ikon
ffe-icons-react/svar-pil-ikon
ffe-icons-react/moped-ikon
- remove snake-cased properties from pluss-ikon and bil-camping icon
- Update ffe-icons to version 7.2.0. New icons:
- ffe-icons-react/pluss-ikon
- Update ffe-icons to a new major: 7.1.1. New icons:
ffe-icons-react/bil-camping-ikon
ffe-icons-react/hus-tre-ikon
ffe-icons-react/handlevogn-pakker-ikon
- Update eslint configuration
- Update ffe-icons to a new major: 6.0.0.
ffe-icons-react/kontorbygg-ikon
renamed toffe-icons-react/kontorbygg-solid-ikon
ffe-icons-react/skyskraper-ikon
addedffe-icons-react/personer-ikon
addedffe-icons-react/kontorbygg-ikon
added (in a non-solid version)
- Update ffe-icons to version 5.3.0
- Update ffe-icons to 5.2.0. New icons:
- ffe-icons-react/konfetti-ikon
- ffe-icons-react/tommel-opp-ikon
- Updated ffe-icons to a new major: 5.0.0
- Updated ffe-icons version to 4.6.0
- Updated ffe-icons version to 4.5.0
- Updated ffe-icons version to 4.3.0
- Added support for
onClick
property on icons
- Updated ffe-icons version to 4.1.0
- Updated ffe-icons version to 3.7.2
- ffe-icons-react return
null
if iconName don't match any icon.
- Added support for title, desc, tabIndex and focusable as props, increasing support for screen readers.
- Updated ffe-icons version to 3.7.1
- Added style props
- Added focusable="false" to prevent IE focusing on svg elements
- Add proptypes
- Added eslint rules from ffe
- Updated ffe-icons version to 3.6.
- Initial release. Based on ffe-icons v3.3.0