@instructure/ui-selectable
Advanced tools
Comparing version 6.2.1-rc.0 to 6.2.1-rc.8
@@ -10,2 +10,4 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread"; | ||
var _dec, _class, _class2, _temp; | ||
/* | ||
@@ -37,2 +39,3 @@ * The MIT License (MIT) | ||
import keycode from 'keycode'; | ||
import { experimental } from '@instructure/ui-react-utils'; | ||
import { isActiveElement } from '@instructure/ui-dom-utils'; | ||
@@ -48,3 +51,3 @@ import { createChainedFunction } from '@instructure/ui-utils'; | ||
var Selectable = | ||
var Selectable = (_dec = experimental(), _dec(_class = (_temp = _class2 = | ||
/*#__PURE__*/ | ||
@@ -333,5 +336,3 @@ function (_Component) { | ||
return Selectable; | ||
}(Component); | ||
Selectable.propTypes = { | ||
}(Component), _class2.propTypes = { | ||
/** | ||
@@ -405,4 +406,3 @@ * The id of the trigger element. Set automatically if not provided | ||
render: PropTypes.func | ||
}; | ||
Selectable.defaultProps = { | ||
}, _class2.defaultProps = { | ||
id: null, | ||
@@ -420,4 +420,4 @@ highlightedOptionId: null, | ||
render: void 0 | ||
}; | ||
}, _temp)) || _class); | ||
export default Selectable; | ||
export { Selectable }; |
@@ -32,2 +32,4 @@ "use strict"; | ||
var _experimental = require("@instructure/ui-react-utils/lib/experimental"); | ||
var _isActiveElement = require("@instructure/ui-dom-utils/lib/isActiveElement"); | ||
@@ -39,25 +41,3 @@ | ||
/* | ||
* 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 _dec, _class, _class2, _temp; | ||
@@ -70,3 +50,3 @@ /** | ||
**/ | ||
var Selectable = | ||
var Selectable = (_dec = (0, _experimental.experimental)(), _dec(_class = (_temp = _class2 = | ||
/*#__PURE__*/ | ||
@@ -349,6 +329,3 @@ function (_Component) { | ||
return Selectable; | ||
}(_react.Component); | ||
exports.Selectable = Selectable; | ||
Selectable.propTypes = { | ||
}(_react.Component), _class2.propTypes = { | ||
/** | ||
@@ -422,4 +399,3 @@ * The id of the trigger element. Set automatically if not provided | ||
render: _propTypes.default.func | ||
}; | ||
Selectable.defaultProps = { | ||
}, _class2.defaultProps = { | ||
id: null, | ||
@@ -437,4 +413,5 @@ highlightedOptionId: null, | ||
render: void 0 | ||
}; | ||
}, _temp)) || _class); | ||
exports.Selectable = Selectable; | ||
var _default = Selectable; | ||
exports.default = _default; |
{ | ||
"name": "@instructure/ui-selectable", | ||
"version": "6.2.1-rc.0+f72a179e", | ||
"version": "6.2.1-rc.8+626bd7af", | ||
"description": "A UI component library made by Instructure Inc.", | ||
@@ -24,13 +24,14 @@ "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/ui-dom-utils": "6.2.1-rc.0+f72a179e", | ||
"@instructure/ui-testable": "6.2.1-rc.0+f72a179e", | ||
"@instructure/ui-themeable": "6.2.1-rc.0+f72a179e", | ||
"@instructure/ui-utils": "6.2.1-rc.0+f72a179e", | ||
"@instructure/uid": "6.2.1-rc.0+f72a179e", | ||
"@instructure/console": "6.2.1-rc.8+626bd7af", | ||
"@instructure/ui-dom-utils": "6.2.1-rc.8+626bd7af", | ||
"@instructure/ui-react-utils": "6.2.1-rc.8+626bd7af", | ||
"@instructure/ui-testable": "6.2.1-rc.8+626bd7af", | ||
"@instructure/ui-themeable": "6.2.1-rc.8+626bd7af", | ||
"@instructure/ui-utils": "6.2.1-rc.8+626bd7af", | ||
"@instructure/uid": "6.2.1-rc.8+626bd7af", | ||
"keycode": "^2", | ||
@@ -44,3 +45,3 @@ "prop-types": "^15", | ||
"sideEffects": false, | ||
"gitHead": "f72a179ef49837135db0d2f33dc548b054a164ab" | ||
"gitHead": "626bd7afa2060ba7a96db501cc6572dc83548430" | ||
} |
@@ -29,2 +29,3 @@ /* | ||
import { experimental } from '@instructure/ui-react-utils' | ||
import { isActiveElement } from '@instructure/ui-dom-utils' | ||
@@ -41,2 +42,3 @@ import { createChainedFunction } from '@instructure/ui-utils' | ||
**/ | ||
@experimental() | ||
class Selectable extends Component { | ||
@@ -43,0 +45,0 @@ static propTypes = { |
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
56445
11
1087