@sb1/ffe-form-react 16.0.15 → 16.1.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.
- package/es/Tooltip.js +1 -1
- package/lib/Tooltip.js +2 -2
- package/package.json +4 -4
package/es/Tooltip.js
CHANGED
|
@@ -11,7 +11,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import React, { useState, useRef } from 'react';
|
|
12
12
|
import { bool, func, node, string, number } from 'prop-types';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
|
-
import Collapse from '@sb1/ffe-collapse-react';
|
|
14
|
+
import { Collapse } from '@sb1/ffe-collapse-react';
|
|
15
15
|
import { v4 as uuid } from 'uuid';
|
|
16
16
|
var Tooltip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17
17
|
var isOpen = _ref.isOpen,
|
package/lib/Tooltip.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _propTypes = require("prop-types");
|
|
10
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var _ffeCollapseReact =
|
|
11
|
+
var _ffeCollapseReact = require("@sb1/ffe-collapse-react");
|
|
12
12
|
var _uuid = require("uuid");
|
|
13
13
|
var _excluded = ["isOpen", "aria-controls", "aria-label", "children", "className", "onClick", "tabIndex"];
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -62,7 +62,7 @@ var Tooltip = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
62
62
|
id: tooltipButtonId
|
|
63
63
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
64
64
|
"aria-hidden": true
|
|
65
|
-
}, "?")), children && /*#__PURE__*/_react.default.createElement(_ffeCollapseReact.
|
|
65
|
+
}, "?")), children && /*#__PURE__*/_react.default.createElement(_ffeCollapseReact.Collapse, {
|
|
66
66
|
className: "ffe-tooltip__text",
|
|
67
67
|
id: tooltipId,
|
|
68
68
|
isOpen: _isOpen
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-form-react",
|
|
3
|
-
"version": "16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"description": "React component for form elements in ffe",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"test:watch": "ffe-buildtool jest --watch"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@sb1/ffe-collapse-react": "^
|
|
28
|
+
"@sb1/ffe-collapse-react": "^3.0.0",
|
|
29
29
|
"@sb1/ffe-form": "^28.0.13",
|
|
30
|
-
"@sb1/ffe-icons-react": "^9.0.
|
|
30
|
+
"@sb1/ffe-icons-react": "^9.0.7",
|
|
31
31
|
"classnames": "^2.3.1",
|
|
32
32
|
"uuid": "^9.0.0"
|
|
33
33
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "61ed382e40df3befbff8393cc9fba2beac9de990"
|
|
49
49
|
}
|