@sb1/ffe-icons-react 12.0.3 → 12.0.5

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 +4 -3
  2. package/src/Icon.mdx +2 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-icons-react",
3
- "version": "12.0.3",
3
+ "version": "12.0.5",
4
4
  "description": "React-komponenter for ffe-icons",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -26,7 +26,8 @@
26
26
  "test": "ffe-buildtool jest"
27
27
  },
28
28
  "dependencies": {
29
- "@sb1/ffe-icons": "^17.0.4"
29
+ "@sb1/ffe-icons": "^17.0.4",
30
+ "classnames": "^2.5.1"
30
31
  },
31
32
  "devDependencies": {
32
33
  "@sb1/ffe-buildtool": "^0.10.1",
@@ -40,5 +41,5 @@
40
41
  "publishConfig": {
41
42
  "access": "public"
42
43
  },
43
- "gitHead": "84299a4976d342dec1cf88baf9fc4a8e7f27ea11"
44
+ "gitHead": "f9480543fb36b2d1affedbc965cf446e197c48ee"
44
45
  }
package/src/Icon.mdx CHANGED
@@ -4,6 +4,7 @@ import bytteIkonSrc from './img/bytte-ikon.png';
4
4
  import velgerTextStilSrc from './img/velger-tekststil.png';
5
5
  import velgerColorSrc from './img/velger-color.png';
6
6
  import { InstallImport } from '../../../documentation/components/InstallImport';
7
+ import dependencies from '../ffe-dependencies';
7
8
 
8
9
  <Meta of={IconStories} />
9
10
 
@@ -13,11 +14,7 @@ Ikoner skal gjøre det enkelt for kunden å navigere i de digitale flatene våre
13
14
 
14
15
  Ikonene vi bruker kommer fra ikonbiblioteket Material Symbols. [Les mer om ikonene](https://design.sparebank1.no/profil/ikoner/) under profil.
15
16
 
16
- <InstallImport
17
- packageName="@sb1/ffe-icons-react"
18
- dependencies={['@sb1/ffe-icons']}
19
- stylingDependencies={['@sb1/ffe-icons/less/ffe-icons']}
20
- />
17
+ <InstallImport packageName="@sb1/ffe-icons-react" dependencies={dependencies} />
21
18
 
22
19
  ## Figma
23
20