@dhis2-ui/layer 8.13.14 → 8.14.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/build/cjs/layer.js +5 -5
- package/build/es/layer.js +5 -5
- package/package.json +3 -3
package/build/cjs/layer.js
CHANGED
|
@@ -36,18 +36,18 @@ const Layer = _ref => {
|
|
|
36
36
|
disable: disablePortal
|
|
37
37
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
38
38
|
"data-test": dataTest,
|
|
39
|
-
className: "jsx-
|
|
39
|
+
className: "jsx-4284133831 " + _style.default.dynamic([["1893150038", [level]]]) + " " + ((0, _classnames.default)('layer', className, position, {
|
|
40
40
|
translucent
|
|
41
41
|
}) || "")
|
|
42
42
|
}, resolvedOnClick && /*#__PURE__*/_react.default.createElement("div", {
|
|
43
43
|
onClick: event => resolvedOnClick({}, event),
|
|
44
|
-
className: "jsx-
|
|
44
|
+
className: "jsx-4284133831 " + _style.default.dynamic([["1893150038", [level]]]) + " " + "backdrop"
|
|
45
45
|
}), children, /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
46
|
-
id: "
|
|
46
|
+
id: "1893150038",
|
|
47
47
|
dynamic: [level]
|
|
48
48
|
}, ["div.__jsx-style-dynamic-selector{z-index:".concat(level, ";}")]), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
49
|
-
id: "
|
|
50
|
-
}, ["div.jsx-
|
|
49
|
+
id: "4284133831"
|
|
50
|
+
}, ["div.jsx-4284133831{-webkit-inset-block-start:0;-ms-intb-rlock-start:0;inset-block-start:0;inset-inline-start:0;min-height:100vh;min-width:100vw;}", "div.fixed.jsx-4284133831{position:fixed;height:100vh;width:100vw;}", "div.absolute.jsx-4284133831{position:absolute;height:100%;width:100%;}", "div.translucent.jsx-4284133831{background-color:rgba(33,43,54,0.4);}", "div.backdrop.jsx-4284133831{position:absolute;inset:0;z-index:-1;}"])));
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
exports.Layer = Layer;
|
package/build/es/layer.js
CHANGED
|
@@ -22,18 +22,18 @@ const Layer = _ref => {
|
|
|
22
22
|
disable: disablePortal
|
|
23
23
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24
24
|
"data-test": dataTest,
|
|
25
|
-
className: "jsx-
|
|
25
|
+
className: "jsx-4284133831 " + _JSXStyle.dynamic([["1893150038", [level]]]) + " " + (cx('layer', className, position, {
|
|
26
26
|
translucent
|
|
27
27
|
}) || "")
|
|
28
28
|
}, resolvedOnClick && /*#__PURE__*/React.createElement("div", {
|
|
29
29
|
onClick: event => resolvedOnClick({}, event),
|
|
30
|
-
className: "jsx-
|
|
30
|
+
className: "jsx-4284133831 " + _JSXStyle.dynamic([["1893150038", [level]]]) + " " + "backdrop"
|
|
31
31
|
}), children, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
32
|
-
id: "
|
|
32
|
+
id: "1893150038",
|
|
33
33
|
dynamic: [level]
|
|
34
34
|
}, ["div.__jsx-style-dynamic-selector{z-index:".concat(level, ";}")]), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
35
|
-
id: "
|
|
36
|
-
}, ["div.jsx-
|
|
35
|
+
id: "4284133831"
|
|
36
|
+
}, ["div.jsx-4284133831{-webkit-inset-block-start:0;-ms-intb-rlock-start:0;inset-block-start:0;inset-inline-start:0;min-height:100vh;min-width:100vw;}", "div.fixed.jsx-4284133831{position:fixed;height:100vh;width:100vw;}", "div.absolute.jsx-4284133831{position:absolute;height:100%;width:100%;}", "div.translucent.jsx-4284133831{background-color:rgba(33,43,54,0.4);}", "div.backdrop.jsx-4284133831{position:absolute;inset:0;z-index:-1;}"])));
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
Layer.defaultProps = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/layer",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.14.0",
|
|
4
4
|
"description": "UI Layer",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@dhis2/prop-types": "^3.1.2",
|
|
35
|
-
"@dhis2-ui/portal": "8.
|
|
36
|
-
"@dhis2/ui-constants": "8.
|
|
35
|
+
"@dhis2-ui/portal": "8.14.0",
|
|
36
|
+
"@dhis2/ui-constants": "8.14.0",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
38
38
|
"prop-types": "^15.7.2"
|
|
39
39
|
},
|