worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
1
node_modules/@mui/utils/isFocusVisible/index.d.ts
generated
vendored
Normal file
1
node_modules/@mui/utils/isFocusVisible/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { default } from "./isFocusVisible.js";
|
||||
13
node_modules/@mui/utils/isFocusVisible/index.js
generated
vendored
Normal file
13
node_modules/@mui/utils/isFocusVisible/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _isFocusVisible.default;
|
||||
}
|
||||
});
|
||||
var _isFocusVisible = _interopRequireDefault(require("./isFocusVisible"));
|
||||
4
node_modules/@mui/utils/isFocusVisible/isFocusVisible.d.ts
generated
vendored
Normal file
4
node_modules/@mui/utils/isFocusVisible/isFocusVisible.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/**
|
||||
* Returns a boolean indicating if the event's target has :focus-visible
|
||||
*/
|
||||
export default function isFocusVisible(element: Element): boolean;
|
||||
21
node_modules/@mui/utils/isFocusVisible/isFocusVisible.js
generated
vendored
Normal file
21
node_modules/@mui/utils/isFocusVisible/isFocusVisible.js
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isFocusVisible;
|
||||
/**
|
||||
* Returns a boolean indicating if the event's target has :focus-visible
|
||||
*/
|
||||
function isFocusVisible(element) {
|
||||
try {
|
||||
return element.matches(':focus-visible');
|
||||
} catch (error) {
|
||||
// Do not warn on jsdom tests, otherwise all tests that rely on focus have to be skipped
|
||||
// Tests that rely on `:focus-visible` will still have to be skipped in jsdom
|
||||
if (process.env.NODE_ENV !== 'production' && !/jsdom/.test(window.navigator.userAgent)) {
|
||||
console.warn(['MUI: The `:focus-visible` pseudo class is not supported in this browser.', 'Some components rely on this feature to work properly.'].join('\n'));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue