Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@instructure/ui-select

Package Overview
Dependencies
Maintainers
31
Versions
1417
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-select - npm Package Compare versions

Comparing version 6.6.1-rc.1 to 6.6.1-rc.2

13

es/Select/index.js

@@ -0,4 +1,3 @@

import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread";
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";

@@ -12,2 +11,6 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { keys.push.apply(keys, Object.getOwnPropertySymbols(object)); } if (enumerableOnly) keys = keys.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
/*

@@ -275,3 +278,3 @@ * The MIT License (MIT)

var optionProps = _objectSpread({}, omitProps(option.props, _objectSpread({}, Option.propTypes, Options.Item.propTypes)), getOptionProps({
var optionProps = _objectSpread({}, omitProps(option.props, _objectSpread({}, Option.propTypes, {}, Options.Item.propTypes)), {}, getOptionProps({
id: id

@@ -294,3 +297,3 @@ }), {

optionProps.variant = 'disabled';
optionProps = _objectSpread({}, optionProps, getDisabledOptionProps());
optionProps = _objectSpread({}, optionProps, {}, getDisabledOptionProps());
} else {

@@ -333,3 +336,3 @@ // track as valid option if not disabled

renderLabel: renderLabel
}, omitProps(rest, _objectSpread({}, Options.propTypes, Group.propTypes))), Children.map(children, function (child) {
}, omitProps(rest, _objectSpread({}, Options.propTypes, {}, Group.propTypes))), Children.map(children, function (child) {
return _this3.renderOption(child, {

@@ -336,0 +339,0 @@ getOptionProps: getOptionProps,

@@ -12,7 +12,5 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -79,2 +77,6 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { keys.push.apply(keys, Object.getOwnPropertySymbols(object)); } if (enumerableOnly) keys = keys.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var styles = {

@@ -298,3 +300,4 @@ componentId: 'cCAhm',

children = _option$props.children;
var optionProps = (0, _objectSpread2.default)({}, (0, _omitProps.omitProps)(option.props, (0, _objectSpread2.default)({}, _Option.Option.propTypes, _Options.Options.Item.propTypes)), getOptionProps({
var optionProps = _objectSpread({}, (0, _omitProps.omitProps)(option.props, _objectSpread({}, _Option.Option.propTypes, {}, _Options.Options.Item.propTypes)), {}, getOptionProps({
id: id

@@ -317,3 +320,3 @@ }), {

optionProps.variant = 'disabled';
optionProps = (0, _objectSpread2.default)({}, optionProps, getDisabledOptionProps());
optionProps = _objectSpread({}, optionProps, {}, getDisabledOptionProps());
} else {

@@ -354,3 +357,3 @@ // track as valid option if not disabled

renderLabel: renderLabel
}, (0, _omitProps.omitProps)(rest, (0, _objectSpread2.default)({}, _Options.Options.propTypes, _Group.Group.propTypes))), _react.Children.map(children, function (child) {
}, (0, _omitProps.omitProps)(rest, _objectSpread({}, _Options.Options.propTypes, {}, _Group.Group.propTypes))), _react.Children.map(children, function (child) {
return _this3.renderOption(child, {

@@ -455,3 +458,3 @@ getOptionProps: getOptionProps,

var _getTriggerProps = getTriggerProps((0, _objectSpread2.default)({}, passthroughProps)),
var _getTriggerProps = getTriggerProps(_objectSpread({}, passthroughProps)),
ref = _getTriggerProps.ref,

@@ -458,0 +461,0 @@ triggerProps = (0, _objectWithoutProperties2.default)(_getTriggerProps, ["ref"]);

{
"name": "@instructure/ui-select",
"version": "6.6.1-rc.1+8ab1c757",
"version": "6.6.1-rc.2+3acb23a4",
"description": "A component for select and autocomplete behavior.",

@@ -23,23 +23,23 @@ "author": "Instructure, Inc. Engineering and Product Design",

"devDependencies": {
"@instructure/ui-babel-preset": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-color-utils": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-test-utils": "6.6.1-rc.1+8ab1c757"
"@instructure/ui-babel-preset": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-color-utils": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-test-utils": "6.6.1-rc.2+3acb23a4"
},
"dependencies": {
"@babel/runtime": "^7",
"@instructure/ui-dom-utils": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-elements": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-form-field": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-icons": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-layout": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-options": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-overlays": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-prop-types": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-react-utils": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-selectable": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-testable": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-text-input": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-themeable": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-utils": "6.6.1-rc.1+8ab1c757",
"@instructure/uid": "6.6.1-rc.1+8ab1c757",
"@instructure/ui-dom-utils": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-elements": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-form-field": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-icons": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-layout": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-options": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-overlays": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-prop-types": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-react-utils": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-selectable": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-testable": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-text-input": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-themeable": "6.6.1-rc.2+3acb23a4",
"@instructure/ui-utils": "6.6.1-rc.2+3acb23a4",
"@instructure/uid": "6.6.1-rc.2+3acb23a4",
"classnames": "^2",

@@ -53,3 +53,3 @@ "prop-types": "^15",

"sideEffects": false,
"gitHead": "8ab1c757d08cbac129cf59fd28a378f03522a44e"
"gitHead": "3acb23a4ae3044ee75cf79537c43d8be3eb3ae66"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc