@sb1/ffe-cards-react 19.1.2 → 19.1.4

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.
@@ -30,6 +30,6 @@ function GroupCardWithForwardRef(props, ref) {
30
30
  'ffe-group-card--no-margin': noMargin
31
31
  },
32
32
  _a["ffe-group-card--bg-".concat(bgColor)] = bgColor,
33
- _a), className), role: Comp === 'div' && 'group' }, rest, { ref: ref }), children));
33
+ _a), className), role: Comp === 'div' ? 'group' : undefined }, rest, { ref: ref }), children));
34
34
  }
35
35
  export var GroupCard = fixedForwardRef(GroupCardWithForwardRef);
@@ -36,6 +36,6 @@ function GroupCardWithForwardRef(props, ref) {
36
36
  'ffe-group-card--no-margin': noMargin
37
37
  },
38
38
  _a["ffe-group-card--bg-".concat(bgColor)] = bgColor,
39
- _a), className), role: Comp === 'div' && 'group' }, rest, { ref: ref }), children));
39
+ _a), className), role: Comp === 'div' ? 'group' : undefined }, rest, { ref: ref }), children));
40
40
  }
41
41
  exports.GroupCard = (0, fixedForwardRef_1.fixedForwardRef)(GroupCardWithForwardRef);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-cards-react",
3
- "version": "19.1.2",
3
+ "version": "19.1.4",
4
4
  "description": "React implementation of ffe-react",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -26,7 +26,7 @@
26
26
  "test:watch": "ffe-buildtool jest --watch"
27
27
  },
28
28
  "dependencies": {
29
- "@sb1/ffe-cards": "^22.1.1",
29
+ "@sb1/ffe-cards": "^22.1.2",
30
30
  "classnames": "^2.3.1"
31
31
  },
32
32
  "devDependencies": {
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "5779abf22cfda9d6b3bc2a019009a329edc4baa5"
44
+ "gitHead": "8a34c3a4338ed3455285bc6ff7513897d0335131"
45
45
  }