@sb1/ffe-collapse-react 2.0.2 → 2.0.3

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/README.md +15 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -10,8 +10,7 @@ npm install --save @sb1/ffe-collapse-react
10
10
 
11
11
  ## Usage
12
12
 
13
- Run Styleguidist from the repository root to see live examples and documentation,
14
- or see the markdown files next to the component code in `src/`.
13
+ Full documentation on collapse usage is available at https://design.sparebank1.no/komponenter/collapse/.
15
14
 
16
15
  Please note the component depends on transition styling for `height`.\
17
16
  This can preferably be done by importing the less-file from the less-folder
@@ -23,3 +22,17 @@ through the `className` property or by styling it directly through the `style` p
23
22
  ## TypeScript definition files
24
23
 
25
24
  This component does not yet have TypeScript definitions.
25
+
26
+ ## Development
27
+
28
+ To start a local development server, run the following from the designsystem root folder:
29
+
30
+ ```bash
31
+ npm install
32
+ npm run build
33
+ npm start
34
+ ```
35
+
36
+ A local instance of `component-overview` with live reloading will run at http://localhost:1234/.
37
+
38
+ Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-collapse-react",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "React component for expand/collapse",
5
5
  "keywords": [
6
6
  "ffe"
@@ -29,7 +29,7 @@
29
29
  "test:watch": "ffe-buildtool jest --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@sb1/ffe-core": "^27.0.0",
32
+ "@sb1/ffe-core": "^27.0.1",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
35
  "devDependencies": {
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "af7fc1a32630d5717ffbc8f50f339ba697c73130"
48
+ "gitHead": "1ab898e744977e4cb4db1bee9b65369a0deeef9a"
49
49
  }