@sb1/ffe-context-message 8.0.17 → 9.0.0

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 +2 -38
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,41 +1,5 @@
1
1
  # @sb1/ffe-context-message
2
2
 
3
- ## Install
3
+ This package is deprecated, and will be removed from the designsystem repo.
4
4
 
5
- ```bash
6
- npm install --save @sb1/ffe-context-message
7
- ```
8
-
9
- ## Usage
10
-
11
- Full documentation on context message usage is available at https://design.sparebank1.no/komponenter/meldinger/#contextmessage.
12
-
13
- ```less
14
- @import 'path/to/node_modules/@sb1/ffe-context-message/less/ffe-context-message';
15
- ```
16
-
17
- See also `@sb1/ffe-context-message-react`.
18
-
19
- ## Theming with CSS custom properties
20
-
21
- In order to support theming of components, this package contains styling that depends on a set of custom properties, defined in `less/theme.less`. These properties in turn depend on a base theme defined in `ffe-core`.
22
-
23
- If your project uses the `ffe-core`, you're probably good to go. If not, make sure to import the core properties in `theme.less`:
24
-
25
- ```css
26
- @import '~@sb1/ffe-core/less/theme';
27
- ```
28
-
29
- ## Development
30
-
31
- To start a local development server, run the following from the designsystem root folder:
32
-
33
- ```bash
34
- npm install
35
- npm run build
36
- npm start
37
- ```
38
-
39
- A local instance of `component-overview` with live reloading will run at http://localhost:1234/.
40
-
41
- Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.
5
+ Use the new packages for messages, please refer to [ffe-messages](https://github.com/SpareBank1/designsystem/tree/develop/packages/ffe-messages) and/or [ffe-messages-react](https://github.com/SpareBank1/designsystem/tree/develop/packages/ffe-messages-react).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-context-message",
3
- "version": "8.0.17",
3
+ "version": "9.0.0",
4
4
  "description": "Messagebox showing non-critical tip or information about a page or product",
5
5
  "keywords": [
6
6
  "ffe"
@@ -19,13 +19,13 @@
19
19
  "test": "npm run lint"
20
20
  },
21
21
  "dependencies": {
22
- "@sb1/ffe-core": "^27.3.12"
22
+ "@sb1/ffe-core": "^27.4.1"
23
23
  },
24
24
  "devDependencies": {
25
- "@sb1/ffe-buildtool": "^0.6.1"
25
+ "@sb1/ffe-buildtool": "^0.6.2"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "a5865069975b15e70cc7a12758fc57e9c87461ea"
30
+ "gitHead": "9ac84c1d8650f7626876a864cc0dc73a67fa241b"
31
31
  }