New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kuali-ui

Package Overview
Dependencies
Maintainers
5
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kuali-ui - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

docs/iframe.html

77

lib/select-fields/index.js
'use strict';
/* Copyright © 2016 Kuali, Inc. - All Rights Reserved
* You may use and modify this code under the terms of the Kuali, Inc.
* Pre-Release License Agreement. You may not distribute it.
*
* You should have received a copy of the Kuali, Inc. Pre-Release License
* Agreement with this file. If not, please write to license@kuali.co.
*/
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;
module.exports = require('react-md/lib/SelectFields');
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _classnames = require('classnames');
var _classnames2 = _interopRequireDefault(_classnames);
var _SelectFields = require('react-md/lib/SelectFields');
var _SelectFields2 = _interopRequireDefault(_SelectFields);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* Copyright © 2016 Kuali, Inc. - All Rights Reserved
* You may use and modify this code under the terms of the Kuali, Inc.
* Pre-Release License Agreement. You may not distribute it.
*
* You should have received a copy of the Kuali, Inc. Pre-Release License
* Agreement with this file. If not, please write to license@kuali.co.
*/
var SelectField = function (_Component) {
_inherits(SelectField, _Component);
function SelectField() {
_classCallCheck(this, SelectField);
return _possibleConstructorReturn(this, (SelectField.__proto__ || Object.getPrototypeOf(SelectField)).apply(this, arguments));
}
_createClass(SelectField, [{
key: 'render',
value: function render() {
var _props = this.props,
className = _props.className,
rest = _objectWithoutProperties(_props, ['className']);
var classes = (0, _classnames2.default)('kuali-select-field', className);
return _react2.default.createElement(_SelectFields2.default, _extends({ className: classes }, rest));
}
}]);
return SelectField;
}(_react.Component);
SelectField.Positions = _SelectFields2.default.Positions;
SelectField.defaultProps = _extends({}, _SelectFields2.default.defaultProps);
SelectField.propTypes = _extends({}, _SelectFields2.default.propTypes, {
className: _react.PropTypes.string,
position: _react.PropTypes.oneOf([_SelectFields2.default.Positions.BOTTOM_LEFT, _SelectFields2.default.Positions.TOP_LEFT, _SelectFields2.default.Positions.TOP_RIGHT, _SelectFields2.default.Positions.BELOW]).isRequired
});
exports.default = SelectField;

3

package.json
{
"name": "kuali-ui",
"version": "4.2.2",
"version": "4.2.3",
"description": "Kuali UI elements",

@@ -120,3 +120,2 @@ "main": "lib/index.js",

"sinon": "^2.1.0",
"storybook-readme": "^2.0.2",
"style-loader": "^0.16.1",

@@ -123,0 +122,0 @@ "stylelint": "^7.10.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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