@sb1/ffe-accordion-react 9.2.11 → 9.2.14
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.
- package/es/AccordionItem.js +1 -1
- package/lib/AccordionItem.js +2 -2
- package/package.json +7 -13
package/es/AccordionItem.js
CHANGED
|
@@ -22,7 +22,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
22
22
|
import React, { useEffect, useRef, useState } from 'react';
|
|
23
23
|
import { bool, func, node, string } from 'prop-types';
|
|
24
24
|
import { v4 as uuid } from 'uuid';
|
|
25
|
-
import
|
|
25
|
+
import ChevronIkon from "@sb1/ffe-icons-react/es/chevron-ikon";
|
|
26
26
|
import Collapse from '@sb1/ffe-collapse-react';
|
|
27
27
|
import classNames from 'classnames';
|
|
28
28
|
|
package/lib/AccordionItem.js
CHANGED
|
@@ -13,7 +13,7 @@ var _propTypes = require("prop-types");
|
|
|
13
13
|
|
|
14
14
|
var _uuid = require("uuid");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chevronIkon = _interopRequireDefault(require("@sb1/ffe-icons-react/lib/chevron-ikon"));
|
|
17
17
|
|
|
18
18
|
var _ffeCollapseReact = _interopRequireDefault(require("@sb1/ffe-collapse-react"));
|
|
19
19
|
|
|
@@ -113,7 +113,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
113
113
|
onBlur: onBlur
|
|
114
114
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
115
115
|
className: "ffe-accordion__heading-button-content"
|
|
116
|
-
}, heading, /*#__PURE__*/_react.default.createElement(
|
|
116
|
+
}, heading, /*#__PURE__*/_react.default.createElement(_chevronIkon.default, {
|
|
117
117
|
className: "ffe-accordion__heading-icon"
|
|
118
118
|
})))), /*#__PURE__*/_react.default.createElement(_ffeCollapseReact.default, {
|
|
119
119
|
isOpen: isExpanded,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-accordion-react",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "SpareBank 1",
|
|
6
6
|
"files": [
|
|
@@ -20,24 +20,18 @@
|
|
|
20
20
|
"build": "ffe-buildtool babel",
|
|
21
21
|
"watch": "ffe-buildtool babel-watch",
|
|
22
22
|
"lint": "eslint src",
|
|
23
|
-
"test": "jest",
|
|
24
|
-
"test:watch": "jest --watch"
|
|
25
|
-
},
|
|
26
|
-
"jest": {
|
|
27
|
-
"setupTestFrameworkScriptFile": "../../test-setup.js"
|
|
23
|
+
"test": "ffe-buildtool jest",
|
|
24
|
+
"test:watch": "ffe-buildtool jest --watch"
|
|
28
25
|
},
|
|
29
26
|
"dependencies": {
|
|
30
|
-
"@sb1/ffe-collapse-react": "^1.1.
|
|
31
|
-
"@sb1/ffe-icons-react": "^7.2
|
|
27
|
+
"@sb1/ffe-collapse-react": "^1.1.13",
|
|
28
|
+
"@sb1/ffe-icons-react": "^7.3.2",
|
|
32
29
|
"classnames": "^2.3.1",
|
|
33
30
|
"prop-types": "^15.7.2",
|
|
34
31
|
"uuid": "^8.3.2"
|
|
35
32
|
},
|
|
36
33
|
"devDependencies": {
|
|
37
|
-
"@sb1/ffe-buildtool": "^0.
|
|
38
|
-
"enzyme": "^3.7.0",
|
|
39
|
-
"enzyme-adapter-react-16": "^1.7.0",
|
|
40
|
-
"jest": "^26.0.0",
|
|
34
|
+
"@sb1/ffe-buildtool": "^0.4.0",
|
|
41
35
|
"react": "^16.9.0",
|
|
42
36
|
"react-dom": "^16.9.0"
|
|
43
37
|
},
|
|
@@ -48,5 +42,5 @@
|
|
|
48
42
|
"publishConfig": {
|
|
49
43
|
"access": "public"
|
|
50
44
|
},
|
|
51
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "e11a27a9d7504e11ef1ae799c6c206e160bd5606"
|
|
52
46
|
}
|