@deque/cauldron-react 4.7.0-canary.a7d93380 → 4.7.0-canary.ab331638
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.
|
@@ -5,7 +5,7 @@ export interface SideBarProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
|
5
5
|
onDismiss: () => void;
|
|
6
6
|
className?: string;
|
|
7
7
|
show: boolean;
|
|
8
|
-
navProps
|
|
8
|
+
navProps?: React.HTMLAttributes<HTMLElement>;
|
|
9
9
|
}
|
|
10
10
|
interface SideBarState {
|
|
11
11
|
wide: boolean;
|
package/lib/index.js
CHANGED
|
@@ -1560,8 +1560,10 @@ var Dialog = /** @class */ (function (_super) {
|
|
|
1560
1560
|
};
|
|
1561
1561
|
Dialog.prototype.close = function () {
|
|
1562
1562
|
var _a, _b, _c;
|
|
1563
|
-
(
|
|
1564
|
-
|
|
1563
|
+
if (this.props.show) {
|
|
1564
|
+
(_a = this.state.isolator) === null || _a === void 0 ? void 0 : _a.deactivate();
|
|
1565
|
+
(_c = (_b = this.props).onClose) === null || _c === void 0 ? void 0 : _c.call(_b);
|
|
1566
|
+
}
|
|
1565
1567
|
};
|
|
1566
1568
|
Dialog.prototype.handleClickOutside = function () {
|
|
1567
1569
|
var _a = this.props, show = _a.show, forceAction = _a.forceAction;
|