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

react-autowhatever

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-autowhatever - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

15

dist/Autowhatever.js

@@ -45,2 +45,5 @@ 'use strict';

var emptyObject = {};
var defaultRenderItemsContainer = function defaultRenderItemsContainer(props) {
return _react2.default.createElement('div', props);
};
var defaultTheme = {

@@ -318,2 +321,3 @@ container: 'react-autowhatever__container',

var multiSection = _props4.multiSection;
var renderItemsContainer = _props4.renderItemsContainer;
var focusedSectionIndex = _props4.focusedSectionIndex;

@@ -346,2 +350,5 @@ var focusedItemIndex = _props4.focusedItemIndex;

});
var itemsContainer = renderItemsContainer(_extends({}, itemsContainerProps, {
children: renderedItems
}));

@@ -352,7 +359,3 @@ return _react2.default.createElement(

_react2.default.createElement('input', inputProps),
_react2.default.createElement(
'div',
itemsContainerProps,
renderedItems
)
itemsContainer
);

@@ -369,2 +372,3 @@ }

items: _react.PropTypes.array.isRequired, // Array of items or sections to render.
renderItemsContainer: _react.PropTypes.func, // Renders the items container.
renderItem: _react.PropTypes.func, // This function renders a single item.

@@ -385,2 +389,3 @@ renderItemData: _react.PropTypes.object, // Arbitrary data that will be passed to renderItem()

multiSection: false,
renderItemsContainer: defaultRenderItemsContainer,
shouldRenderSection: alwaysTrue,

@@ -387,0 +392,0 @@ renderItem: function renderItem() {

{
"name": "react-autowhatever",
"version": "5.0.0",
"version": "5.1.0",
"description": "Accessible rendering layer for Autosuggest and Autocomplete components",

@@ -58,2 +58,3 @@ "main": "dist/Autowhatever.js",

"react-hot-loader": "^1.3.0",
"react-isolated-scroll": "^0.1.0",
"react-redux": "^4.4.5",

@@ -60,0 +61,0 @@ "redux": "^3.5.2",

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