@material-ui/unstyled
Advanced tools
Comparing version 5.0.0-alpha.37 to 5.0.0-alpha.38
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-alpha.37 | ||
/** @license Material-UI v5.0.0-alpha.38 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-alpha.37 | ||
/** @license Material-UI v5.0.0-alpha.38 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -85,3 +85,3 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
var containerWindow = ownerWindow(container); | ||
var scrollContainer = (parent === null || parent === void 0 ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard | ||
var scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard | ||
// screensize shrink. | ||
@@ -88,0 +88,0 @@ |
@@ -285,3 +285,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
controlled: valueProp, | ||
default: defaultValue !== null && defaultValue !== void 0 ? defaultValue : min, | ||
default: defaultValue != null ? defaultValue : min, | ||
name: 'Slider' | ||
@@ -288,0 +288,0 @@ }), |
@@ -211,3 +211,3 @@ /* eslint-disable @typescript-eslint/naming-convention, consistent-return, jsx-a11y/no-noninteractive-tabindex */ | ||
var isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) === null || _lastKeydown$current === void 0 ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) === null || _lastKeydown$current2 === void 0 ? void 0 : _lastKeydown$current2.key) === 'Tab'); | ||
var isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === 'Tab'); | ||
var focusNext = tabbable[0]; | ||
@@ -214,0 +214,0 @@ var focusPrevious = tabbable[tabbable.length - 1]; |
@@ -80,3 +80,3 @@ import { unstable_ownerWindow as ownerWindow, unstable_ownerDocument as ownerDocument, unstable_getScrollbarSize as getScrollbarSize } from '@material-ui/utils'; | ||
const containerWindow = ownerWindow(container); | ||
const scrollContainer = (parent === null || parent === void 0 ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard | ||
const scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard | ||
// screensize shrink. | ||
@@ -83,0 +83,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-alpha.37 | ||
/** @license Material-UI v5.0.0-alpha.38 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-alpha.37 | ||
/** @license Material-UI v5.0.0-alpha.38 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -88,3 +88,3 @@ "use strict"; | ||
const containerWindow = (0, _utils.unstable_ownerWindow)(container); | ||
const scrollContainer = (parent === null || parent === void 0 ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard | ||
const scrollContainer = (parent == null ? void 0 : parent.nodeName) === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard | ||
// screensize shrink. | ||
@@ -91,0 +91,0 @@ |
@@ -272,3 +272,3 @@ "use strict"; | ||
controlled: valueProp, | ||
default: defaultValue !== null && defaultValue !== void 0 ? defaultValue : min, | ||
default: defaultValue != null ? defaultValue : min, | ||
name: 'Slider' | ||
@@ -275,0 +275,0 @@ }); |
@@ -220,3 +220,3 @@ "use strict"; | ||
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) === null || _lastKeydown$current === void 0 ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) === null || _lastKeydown$current2 === void 0 ? void 0 : _lastKeydown$current2.key) === 'Tab'); | ||
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === 'Tab'); | ||
const focusNext = tabbable[0]; | ||
@@ -223,0 +223,0 @@ const focusPrevious = tabbable[tabbable.length - 1]; |
{ | ||
"name": "@material-ui/unstyled", | ||
"version": "5.0.0-alpha.37", | ||
"version": "5.0.0-alpha.38", | ||
"private": false, | ||
@@ -37,3 +37,3 @@ "author": "Material-UI Team", | ||
"@babel/runtime": "^7.4.4", | ||
"@material-ui/utils": "5.0.0-alpha.35", | ||
"@material-ui/utils": "5.0.0-alpha.36", | ||
"clsx": "^1.0.4", | ||
@@ -40,0 +40,0 @@ "prop-types": "^15.7.2", |
@@ -249,3 +249,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
controlled: valueProp, | ||
default: defaultValue !== null && defaultValue !== void 0 ? defaultValue : min, | ||
default: defaultValue != null ? defaultValue : min, | ||
name: 'Slider' | ||
@@ -252,0 +252,0 @@ }); |
@@ -204,3 +204,3 @@ /* eslint-disable @typescript-eslint/naming-convention, consistent-return, jsx-a11y/no-noninteractive-tabindex */ | ||
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) === null || _lastKeydown$current === void 0 ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) === null || _lastKeydown$current2 === void 0 ? void 0 : _lastKeydown$current2.key) === 'Tab'); | ||
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === 'Tab'); | ||
const focusNext = tabbable[0]; | ||
@@ -207,0 +207,0 @@ const focusPrevious = tabbable[tabbable.length - 1]; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1211607
10351
+ Added@material-ui/utils@5.0.0-alpha.36(transitive)
- Removed@material-ui/utils@5.0.0-alpha.35(transitive)