@sb1/ffe-context-message 5.1.3 → 6.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.
@@ -13,7 +13,7 @@
13
13
  //
14
14
  // --compact - Compact message
15
15
  // --info - Info message
16
- // --tip - Handy tips
16
+ // --tips - Handy tips
17
17
  // --success - Success message
18
18
  // --error - Error message
19
19
  //
@@ -39,7 +39,7 @@
39
39
  //
40
40
  // --compact - Compact message
41
41
  // --info - Info message
42
- // --tip - Handy tips
42
+ // --tips - Handy tips
43
43
  // --success - Success message
44
44
  // --error - Error message
45
45
  //
@@ -144,7 +144,7 @@
144
144
  transition: height @ffe-transition-duration @ffe-ease-in-out-back;
145
145
  overflow: hidden;
146
146
  position: relative;
147
- border-radius: 5px;
147
+ border-radius: @ffe-spacing-xs;
148
148
  width: 100%;
149
149
  display: flex;
150
150
  justify-content: space-between;
@@ -228,7 +228,7 @@
228
228
  }
229
229
  }
230
230
 
231
- &--tip {
231
+ &--tips {
232
232
  background-color: @ffe-farge-sand;
233
233
  .ffe-context-message-content__icon {
234
234
  background-color: @ffe-farge-sol;
@@ -250,7 +250,7 @@
250
250
  }
251
251
  }
252
252
  }
253
- &--tip&--coloredbg {
253
+ &--tips&--coloredbg {
254
254
  background-color: @ffe-farge-hvit;
255
255
  .native & {
256
256
  @media (prefers-color-scheme: dark) {
@@ -259,7 +259,7 @@
259
259
  }
260
260
  }
261
261
 
262
- &--tip&--compact {
262
+ &--tips&--compact {
263
263
  .ffe-context-message-content__icon {
264
264
  background-color: @ffe-farge-sol;
265
265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-context-message",
3
- "version": "5.1.3",
3
+ "version": "6.0.0",
4
4
  "description": "Messagebox showing non-critical tip or information about a page or product",
5
5
  "keywords": [
6
6
  "ffe"
@@ -19,7 +19,7 @@
19
19
  "test": "npm run lint"
20
20
  },
21
21
  "devDependencies": {
22
- "@sb1/ffe-core": "^20.0.0"
22
+ "@sb1/ffe-core": "^21.0.1"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@sb1/ffe-core": "*"
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "1d92f0b1459fe63eaa4dcd952aa50ad68779cfa2"
30
+ "gitHead": "de9dcea8a35f93be0b9514487f8e65fe5ec14d15"
31
31
  }