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 0.2.1 to 0.2.2

10

dist/Autowhatever.js

@@ -132,3 +132,3 @@ 'use strict';

var id = _props4.id;
var isMultiSection = _props4.isMultiSection;
var multiSection = _props4.multiSection;
var items = _props4.items;

@@ -156,4 +156,4 @@ var focusedSectionIndex = _props4.focusedSectionIndex;

_react2['default'].createElement('input', inputProps),
isOpen && isMultiSection && this.renderSections(theme),
isOpen && !isMultiSection && this.renderItems(theme)
isOpen && multiSection && this.renderSections(theme),
isOpen && !multiSection && this.renderItems(theme)
);

@@ -165,3 +165,3 @@ }

id: _react.PropTypes.string, // Used in aria-* attributes. If multiple Autowhatever's are rendered on a page, they must have unique ids.
isMultiSection: _react.PropTypes.bool, // Indicates whether a multi section list of items should be rendered.
multiSection: _react.PropTypes.bool, // Indicates whether a multi section layout should be rendered.
items: _react.PropTypes.array.isRequired, // Array of items or sections to render.

@@ -182,3 +182,3 @@ renderItem: _react.PropTypes.func, // This function renders a single item.

id: '1',
isMultiSection: false,
multiSection: false,
shouldRenderSection: function shouldRenderSection() {

@@ -185,0 +185,0 @@ return true;

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

@@ -5,0 +5,0 @@ "main": "dist/Autowhatever.js",

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