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 2.0.1 to 3.0.0

26

dist/Autowhatever.js

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

role: 'option'
}, theme(itemIndex, 'item', sectionIndex === focusedSectionIndex && itemIndex === focusedItemIndex && 'item--focused'), itemPropsObj, {
}, theme(itemIndex, 'item', sectionIndex === focusedSectionIndex && itemIndex === focusedItemIndex && 'itemFocused'), itemPropsObj, {
onMouseEnter: onMouseEnterFn,

@@ -144,3 +144,3 @@ onMouseLeave: onMouseLeaveFn,

role: 'listbox'
}, theme('items-container', 'items-container')),
}, theme('itemsContainer', 'itemsContainer')),
items.map(function (section, sectionIndex) {

@@ -156,6 +156,6 @@ if (!shouldRenderSection(section)) {

_extends({ key: sectionIndex
}, theme(sectionIndex, 'section-container')),
}, theme(sectionIndex, 'sectionContainer')),
sectionTitle && _react2.default.createElement(
'div',
theme('section-title', 'section-title'),
theme('sectionTitle', 'sectionTitle'),
sectionTitle

@@ -165,3 +165,3 @@ ),

'ul',
theme('section-items-container', 'section-items-container'),
theme('sectionItemsContainer', 'sectionItemsContainer'),
_this3.renderItemsList(theme, sectionItemsArray[sectionIndex], sectionIndex)

@@ -186,3 +186,3 @@ )

role: 'listbox'
}, theme('items-container', 'items-container')),
}, theme('itemsContainer', 'itemsContainer')),
this.renderItemsList(theme, items, null)

@@ -261,3 +261,3 @@ );

'div',
theme('container', 'container', isOpen && 'container--open'),
theme('container', 'container', isOpen && 'containerOpen'),
_react2.default.createElement('input', inputProps),

@@ -307,12 +307,12 @@ renderedItems

container: 'react-autowhatever__container',
'container--open': 'react-autowhatever__container--open',
containerOpen: 'react-autowhatever__container--open',
input: 'react-autowhatever__input',
'items-container': 'react-autowhatever__items-container',
itemsContainer: 'react-autowhatever__items-container',
item: 'react-autowhatever__item',
'item--focused': 'react-autowhatever__item--focused',
'section-container': 'react-autowhatever__section-container',
'section-title': 'react-autowhatever__section-title',
'section-items-container': 'react-autowhatever__section-items-container'
itemFocused: 'react-autowhatever__item--focused',
sectionContainer: 'react-autowhatever__section-container',
sectionTitle: 'react-autowhatever__section-title',
sectionItemsContainer: 'react-autowhatever__section-items-container'
}
};
exports.default = Autowhatever;
{
"name": "react-autowhatever",
"version": "2.0.1",
"version": "3.0.0",
"description": "Accessible rendering layer for Autosuggest and Autocomplete components",

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

"demo-dist": "rm -rf demo/dist && mkdir demo/dist && npm run copy-static-files && webpack --config webpack.gh-pages.config.js",
"ci-build": "npm run lint && npm test && npm run dist",
"build": "npm run lint && npm test && npm run dist",
"gh-pages-build": "npm run lint && npm test && npm run demo-dist",

@@ -53,4 +53,2 @@ "deploy": "./scripts/deploy-to-gh-pages.sh",

"redux": "^3.0.5",
"redux-devtools": "^3.0.1",
"redux-devtools-diff-monitor": "^3.0.0",
"style-loader": "^0.13.0",

@@ -57,0 +55,0 @@ "webpack": "^1.12.9",

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