tabler-react-2 0.1.113 → 0.1.115
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/dist/offcanvas/index.js
CHANGED
|
@@ -29,7 +29,9 @@ var Offcanvas = exports.Offcanvas = /*#__PURE__*/_react["default"].memo(function
|
|
|
29
29
|
position = _ref.position,
|
|
30
30
|
children = _ref.children,
|
|
31
31
|
_ref$size = _ref.size,
|
|
32
|
-
size = _ref$size === void 0 ? 300 : _ref$size
|
|
32
|
+
size = _ref$size === void 0 ? 300 : _ref$size,
|
|
33
|
+
_ref$zIndex = _ref.zIndex,
|
|
34
|
+
zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex;
|
|
33
35
|
// backdrop style
|
|
34
36
|
var backdropStyle = (0, _react.useMemo)(function () {
|
|
35
37
|
return {
|
|
@@ -39,7 +41,7 @@ var Offcanvas = exports.Offcanvas = /*#__PURE__*/_react["default"].memo(function
|
|
|
39
41
|
width: "100vw",
|
|
40
42
|
height: "100vh",
|
|
41
43
|
backgroundColor: "rgba(0,0,0,0.1)",
|
|
42
|
-
zIndex:
|
|
44
|
+
zIndex: zIndex - 1
|
|
43
45
|
};
|
|
44
46
|
}, []);
|
|
45
47
|
|
|
@@ -50,7 +52,7 @@ var Offcanvas = exports.Offcanvas = /*#__PURE__*/_react["default"].memo(function
|
|
|
50
52
|
backgroundColor: "#fff",
|
|
51
53
|
boxShadow: show ? "0 0.5rem 1rem rgba(0,0,0,0.15)" : "none",
|
|
52
54
|
transition: "transform 0.3s ease-out",
|
|
53
|
-
zIndex:
|
|
55
|
+
zIndex: zIndex,
|
|
54
56
|
padding: 20,
|
|
55
57
|
overflow: "auto"
|
|
56
58
|
};
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
title: Changelog
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
## 0.1.114
|
|
6
|
+
|
|
7
|
+
- Bump z-index of offcanvas
|
|
8
|
+
|
|
9
|
+
## 0.1.113
|
|
10
|
+
|
|
11
|
+
- Fix issue with where table causes crash when the column that the table is being sorted on is suddenly removed from the columns array.
|
|
12
|
+
|
|
5
13
|
## 0.1.112
|
|
6
14
|
|
|
7
15
|
- Fix overflow issue in the `Modal` component.
|