@instructure/ui-simple-select
Advanced tools
Comparing version 6.21.1-rc.11 to 6.21.1-rc.12
@@ -351,2 +351,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
constrain = _this$props.constrain, | ||
mountNode = _this$props.mountNode, | ||
inputRef = _this$props.inputRef, | ||
@@ -362,3 +363,3 @@ listRef = _this$props.listRef, | ||
children = _this$props.children, | ||
rest = _objectWithoutProperties(_this$props, ["renderLabel", "value", "defaultValue", "id", "size", "assistiveText", "placeholder", "interaction", "isRequired", "isInline", "width", "optionsMaxWidth", "visibleOptionsCount", "messages", "placement", "constrain", "inputRef", "listRef", "renderEmptyOption", "renderBeforeInput", "renderAfterInput", "onFocus", "onBlur", "onShowOptions", "onHideOptions", "children"]); | ||
rest = _objectWithoutProperties(_this$props, ["renderLabel", "value", "defaultValue", "id", "size", "assistiveText", "placeholder", "interaction", "isRequired", "isInline", "width", "optionsMaxWidth", "visibleOptionsCount", "messages", "placement", "constrain", "mountNode", "inputRef", "listRef", "renderEmptyOption", "renderBeforeInput", "renderAfterInput", "onFocus", "onBlur", "onShowOptions", "onHideOptions", "children"]); | ||
@@ -382,2 +383,3 @@ return React.createElement(Select, Object.assign({ | ||
constrain: constrain, | ||
mountNode: mountNode, | ||
ref: this.handleRef, | ||
@@ -517,2 +519,8 @@ inputRef: inputRef, | ||
/** | ||
* An element or a function returning an element to use mount the options | ||
* list to in the DOM (defaults to `document.body`) | ||
*/ | ||
mountNode: PositionPropTypes.mountNode, | ||
/** | ||
* Callback fired when a new option is selected. | ||
@@ -591,2 +599,3 @@ * @param {Object} event - the event object | ||
placement: 'bottom stretch', | ||
mountNode: void 0, | ||
constrain: 'window', | ||
@@ -593,0 +602,0 @@ onChange: function onChange(event, data) {}, |
@@ -358,2 +358,3 @@ "use strict"; | ||
constrain = _this$props.constrain, | ||
mountNode = _this$props.mountNode, | ||
inputRef = _this$props.inputRef, | ||
@@ -369,3 +370,3 @@ listRef = _this$props.listRef, | ||
children = _this$props.children, | ||
rest = (0, _objectWithoutProperties2.default)(_this$props, ["renderLabel", "value", "defaultValue", "id", "size", "assistiveText", "placeholder", "interaction", "isRequired", "isInline", "width", "optionsMaxWidth", "visibleOptionsCount", "messages", "placement", "constrain", "inputRef", "listRef", "renderEmptyOption", "renderBeforeInput", "renderAfterInput", "onFocus", "onBlur", "onShowOptions", "onHideOptions", "children"]); | ||
rest = (0, _objectWithoutProperties2.default)(_this$props, ["renderLabel", "value", "defaultValue", "id", "size", "assistiveText", "placeholder", "interaction", "isRequired", "isInline", "width", "optionsMaxWidth", "visibleOptionsCount", "messages", "placement", "constrain", "mountNode", "inputRef", "listRef", "renderEmptyOption", "renderBeforeInput", "renderAfterInput", "onFocus", "onBlur", "onShowOptions", "onHideOptions", "children"]); | ||
return _react.default.createElement(_Select.Select, Object.assign({ | ||
@@ -388,2 +389,3 @@ renderLabel: renderLabel, | ||
constrain: constrain, | ||
mountNode: mountNode, | ||
ref: this.handleRef, | ||
@@ -522,2 +524,8 @@ inputRef: inputRef, | ||
/** | ||
* An element or a function returning an element to use mount the options | ||
* list to in the DOM (defaults to `document.body`) | ||
*/ | ||
mountNode: _PositionPropTypes.PositionPropTypes.mountNode, | ||
/** | ||
* Callback fired when a new option is selected. | ||
@@ -596,2 +604,3 @@ * @param {Object} event - the event object | ||
placement: 'bottom stretch', | ||
mountNode: void 0, | ||
constrain: 'window', | ||
@@ -598,0 +607,0 @@ onChange: function onChange(event, data) {}, |
{ | ||
"name": "@instructure/ui-simple-select", | ||
"version": "6.21.1-rc.11+caca42997", | ||
"version": "6.21.1-rc.12+a8b60a60e", | ||
"description": "A component for standard select element behavior.", | ||
@@ -26,18 +26,18 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"@babel/runtime": "^7.5.0", | ||
"@instructure/console": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-form-field": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-position": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-prop-types": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-react-utils": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-select": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-testable": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-themeable": "6.21.1-rc.11+caca42997", | ||
"@instructure/uid": "6.21.1-rc.11+caca42997", | ||
"@instructure/console": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-form-field": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-position": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-prop-types": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-react-utils": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-select": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-testable": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-themeable": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/uid": "6.21.1-rc.12+a8b60a60e", | ||
"prop-types": "^15" | ||
}, | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-color-utils": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-test-locator": "6.21.1-rc.11+caca42997", | ||
"@instructure/ui-test-utils": "6.21.1-rc.11+caca42997" | ||
"@instructure/ui-babel-preset": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-color-utils": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-test-locator": "6.21.1-rc.12+a8b60a60e", | ||
"@instructure/ui-test-utils": "6.21.1-rc.12+a8b60a60e" | ||
}, | ||
@@ -51,3 +51,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "caca42997e36c385b7afc11e14dd49659a6aa3e7" | ||
"gitHead": "a8b60a60ea3ee2b50b79642858584523279a0298" | ||
} |
@@ -138,2 +138,7 @@ /* | ||
/** | ||
* An element or a function returning an element to use mount the options | ||
* list to in the DOM (defaults to `document.body`) | ||
*/ | ||
mountNode: PositionPropTypes.mountNode, | ||
/** | ||
* Callback fired when a new option is selected. | ||
@@ -204,2 +209,3 @@ * @param {Object} event - the event object | ||
placement: 'bottom stretch', | ||
mountNode: undefined, | ||
constrain: 'window', | ||
@@ -474,2 +480,3 @@ onChange: (event, data) => {}, | ||
constrain, | ||
mountNode, | ||
inputRef, | ||
@@ -506,2 +513,3 @@ listRef, | ||
constrain={constrain} | ||
mountNode={mountNode} | ||
ref={this.handleRef} | ||
@@ -508,0 +516,0 @@ inputRef={inputRef} |
@@ -94,2 +94,7 @@ import * as React from 'react'; | ||
/** | ||
* An element or a function returning an element to use mount the options | ||
* list to in the DOM (defaults to `document.body`) | ||
*/ | ||
mountNode?: any; | ||
/** | ||
* Callback fired when a new option is selected. | ||
@@ -96,0 +101,0 @@ * @param {Object} event - the event object |
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
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
104313
2610
41