@sb1/ffe-modals-react 0.6.0 → 0.6.2
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/Modal.js +0 -1
- package/lib/Modal.js +0 -1
- package/package.json +4 -4
package/es/Modal.js
CHANGED
|
@@ -24,7 +24,6 @@ import React, { useEffect, useImperativeHandle, useState, useRef } from 'react';
|
|
|
24
24
|
import { createPortal } from 'react-dom';
|
|
25
25
|
import classnames from 'classnames';
|
|
26
26
|
import { CloseButton } from './CloseButton';
|
|
27
|
-
/* Remove me */
|
|
28
27
|
export var Modal = React.forwardRef(function (_a, ref) {
|
|
29
28
|
var children = _a.children, onClick = _a.onClick, ariaLabelledby = _a.ariaLabelledby, className = _a.className, _b = _a.locale, locale = _b === void 0 ? 'nb' : _b, onClose = _a.onClose, portalContainer = _a.portalContainer, rest = __rest(_a, ["children", "onClick", "ariaLabelledby", "className", "locale", "onClose", "portalContainer"]);
|
|
30
29
|
// SSR does not have access to document/window etc.
|
package/lib/Modal.js
CHANGED
|
@@ -53,7 +53,6 @@ var react_1 = __importStar(require("react"));
|
|
|
53
53
|
var react_dom_1 = require("react-dom");
|
|
54
54
|
var classnames_1 = __importDefault(require("classnames"));
|
|
55
55
|
var CloseButton_1 = require("./CloseButton");
|
|
56
|
-
/* Remove me */
|
|
57
56
|
exports.Modal = react_1.default.forwardRef(function (_a, ref) {
|
|
58
57
|
var children = _a.children, onClick = _a.onClick, ariaLabelledby = _a.ariaLabelledby, className = _a.className, _b = _a.locale, locale = _b === void 0 ? 'nb' : _b, onClose = _a.onClose, portalContainer = _a.portalContainer, rest = __rest(_a, ["children", "onClick", "ariaLabelledby", "className", "locale", "onClose", "portalContainer"]);
|
|
59
58
|
// SSR does not have access to document/window etc.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-modals-react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "SpareBank 1",
|
|
6
6
|
"files": [
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"test:watch": "ffe-buildtool jest --watch"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@sb1/ffe-icons-react": "^11.0.
|
|
29
|
-
"@sb1/ffe-modals": "^0.4.
|
|
28
|
+
"@sb1/ffe-icons-react": "^11.0.11",
|
|
29
|
+
"@sb1/ffe-modals": "^0.4.1",
|
|
30
30
|
"dialog-polyfill": "^0.5.6"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "bc77548d36d946e33feeb6c3f39e8ca651a5c698"
|
|
45
45
|
}
|