@instructure/ui-dom-utils
Advanced tools
Comparing version 6.2.1-rc.0 to 6.2.1-rc.8
@@ -27,2 +27,3 @@ /* | ||
export { addEventListener } from './addEventListener'; | ||
export { addInputModeListener } from './addInputModeListener'; | ||
export { addPositionChangeListener } from './addPositionChangeListener'; | ||
@@ -43,3 +44,2 @@ export { addResizeListener } from './addResizeListener'; | ||
export { handleMouseOverOut } from './handleMouseOverOut'; | ||
export { InputModeListener } from './InputModeListener'; | ||
export { isActiveElement } from './isActiveElement'; | ||
@@ -46,0 +46,0 @@ export { isVisible } from './isVisible'; |
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
import _createClass from "@babel/runtime/helpers/esm/createClass"; | ||
/* | ||
* The MIT License (MIT) | ||
* | ||
* Copyright (c) 2015 - present Instructure, Inc. | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all | ||
* copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
* SOFTWARE. | ||
*/ | ||
import { warn as _warn } from "@instructure/console"; | ||
import { addEventListener } from './addEventListener'; | ||
@@ -80,2 +57,7 @@ import { canUseDOM } from './canUseDOM'; | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
_warn(false, "[InputModeListener] is deprecated and will be removed in version 7.0.0. Use addInputModeListener instead."); | ||
this.init(); | ||
@@ -82,0 +64,0 @@ } |
@@ -12,2 +12,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "addInputModeListener", { | ||
enumerable: true, | ||
get: function get() { | ||
return _addInputModeListener.addInputModeListener; | ||
} | ||
}); | ||
Object.defineProperty(exports, "addPositionChangeListener", { | ||
@@ -103,8 +109,2 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "InputModeListener", { | ||
enumerable: true, | ||
get: function get() { | ||
return _InputModeListener.InputModeListener; | ||
} | ||
}); | ||
Object.defineProperty(exports, "isActiveElement", { | ||
@@ -161,2 +161,4 @@ enumerable: true, | ||
var _addInputModeListener = require("./addInputModeListener"); | ||
var _addPositionChangeListener = require("./addPositionChangeListener"); | ||
@@ -192,4 +194,2 @@ | ||
var _InputModeListener = require("./InputModeListener"); | ||
var _isActiveElement = require("./isActiveElement"); | ||
@@ -196,0 +196,0 @@ |
@@ -14,2 +14,4 @@ "use strict"; | ||
var _console = require("@instructure/console"); | ||
var _addEventListener = require("./addEventListener"); | ||
@@ -19,25 +21,2 @@ | ||
/* | ||
* The MIT License (MIT) | ||
* | ||
* Copyright (c) 2015 - present Instructure, Inc. | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all | ||
* copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
* SOFTWARE. | ||
*/ | ||
var MODES = { | ||
@@ -94,2 +73,6 @@ keyboard: 'keyboard', | ||
/*#__PURE__*/ | ||
( | ||
/*#__PURE__*/ | ||
0, _console.warn)(false, "[InputModeListener] is deprecated and will be removed in version 7.0.0. Use addInputModeListener instead."); | ||
this.init(); | ||
@@ -96,0 +79,0 @@ } |
{ | ||
"name": "@instructure/ui-dom-utils", | ||
"version": "6.2.1-rc.0+f72a179e", | ||
"version": "6.2.1-rc.8+626bd7af", | ||
"description": "A DOM utility library made by Instructure Inc.", | ||
@@ -23,8 +23,8 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "6.2.1-rc.0+f72a179e", | ||
"@instructure/ui-test-utils": "6.2.1-rc.0+f72a179e" | ||
"@instructure/ui-babel-preset": "6.2.1-rc.8+626bd7af", | ||
"@instructure/ui-test-utils": "6.2.1-rc.8+626bd7af" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7", | ||
"@instructure/console": "6.2.1-rc.0+f72a179e" | ||
"@instructure/console": "6.2.1-rc.8+626bd7af" | ||
}, | ||
@@ -39,3 +39,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "f72a179ef49837135db0d2f33dc548b054a164ab" | ||
"gitHead": "626bd7afa2060ba7a96db501cc6572dc83548430" | ||
} |
@@ -27,2 +27,3 @@ /* | ||
export { addEventListener } from './addEventListener' | ||
export { addInputModeListener } from './addInputModeListener' | ||
export { addPositionChangeListener } from './addPositionChangeListener' | ||
@@ -43,3 +44,2 @@ export { addResizeListener } from './addResizeListener' | ||
export { handleMouseOverOut } from './handleMouseOverOut' | ||
export { InputModeListener } from './InputModeListener' | ||
export { isActiveElement } from './isActiveElement' | ||
@@ -46,0 +46,0 @@ export { isVisible } from './isVisible' |
@@ -24,3 +24,3 @@ /* | ||
*/ | ||
import { warn } from '@instructure/console/macro' | ||
import { addEventListener } from './addEventListener' | ||
@@ -36,2 +36,3 @@ import { canUseDOM } from './canUseDOM' | ||
constructor () { | ||
warn(false, `[InputModeListener] is deprecated and will be removed in version 7.0.0. Use addInputModeListener instead.`) | ||
this.init() | ||
@@ -38,0 +39,0 @@ } |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
203819
85
5011