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

material-ui-chip-input

Package Overview
Dependencies
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-ui-chip-input - npm Package Compare versions

Comparing version 0.16.1 to 0.17.0

3

.storybook/config.js

@@ -7,5 +7,2 @@ import { configure } from '@kadira/storybook';

const injectTapEventPlugin = require("react-tap-event-plugin");
injectTapEventPlugin();
configure(loadStories, module);

4

lib/ChipInput.js

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

backgroundColor: isFocused ? _colors.blue300 : null,
onTouchTap: handleClick,
onClick: handleClick,
onRequestDelete: handleRequestDelete

@@ -598,3 +598,3 @@ },

style: prepareStyles(_extends(styles.root, style, overrideRootStyles)),
onTouchTap: function onTouchTap() {
onClick: function onClick() {
return _this4.focus();

@@ -601,0 +601,0 @@ }

{
"name": "material-ui-chip-input",
"version": "0.16.1",
"version": "0.17.0",
"description": "A chip input field using Material-UI.",

@@ -41,13 +41,11 @@ "main": "lib/ChipInput.js",

"babel-preset-stage-0": "^6.5.0",
"material-ui": "^0.18.0",
"material-ui": "^0.19.0",
"react": "^15.4.0",
"react-dom": "^15.4.0",
"react-tap-event-plugin": "^2.0.0",
"standard": "^10.0.2"
},
"peerDependencies": {
"material-ui": ">= 0.15.0 < 1.0.0",
"material-ui": ">= 0.19.0 < 1.0.0",
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-tap-event-plugin": "^1.0.0 || ^2.0.0"
"react-dom": "^15.3.2"
},

@@ -54,0 +52,0 @@ "dependencies": {

@@ -53,5 +53,5 @@ # material-ui-chip-input

| onChange | `function` | | Callback function that is called when the chips change (in uncontrolled mode). |
| onClick | `function` | | Callback function that is called when text input is clicked. |
| onRequestAdd | `function` | | Callback function that is called when a new chip was added (in controlled mode). |
| onRequestDelete | `function` | | Callback function that is called when a new chip was removed (in controlled mode). |
| onTouchTap | `function` | | Callback function that is called when text input is clicked. |
| onUpdateInput | `function` | | Callback function that is called when the input changes (useful for auto complete). |

@@ -58,0 +58,0 @@ | openOnFocus | `bool` | `false` | Opens the auto complete list on focus if set to true. |

@@ -105,3 +105,3 @@ /**

backgroundColor={isFocused ? blue300 : null}
onTouchTap={handleClick}
onClick={handleClick}
onRequestDelete={handleRequestDelete}

@@ -502,3 +502,3 @@ >

style={prepareStyles(Object.assign(styles.root, style, overrideRootStyles))}
onTouchTap={() => this.focus()}
onClick={() => this.focus()}
>

@@ -505,0 +505,0 @@ <div>

@@ -114,3 +114,3 @@ import React from 'react'

backgroundColor={isFocused ? green800 : green300}
onTouchTap={handleClick}
onClick={handleClick}
onRequestDelete={handleRequestDelete}

@@ -157,3 +157,3 @@ >

onRequestAdd={action('onRequestAdd')}
onTouchTap={action('onTouchTap')}
onClick={action('onClick')}
/>

@@ -168,3 +168,3 @@ ))

onRequestAdd={action('onRequestAdd')}
onTouchTap={action('onTouchTap')}
onClick={action('onClick')}
/>

@@ -181,3 +181,3 @@ ))

onRequestAdd={action('onRequestAdd')}
onTouchTap={action('onTouchTap')}
onClick={action('onClick')}
/>

@@ -194,3 +194,3 @@ ))

onRequestAdd={action('onRequestAdd')}
onTouchTap={action('onTouchTap')}
onClick={action('onClick')}
/>

@@ -219,3 +219,3 @@ ))

onRequestAdd={action('onRequestAdd')}
onTouchTap={action('onTouchTap')}
onClick={action('onClick')}
/>

@@ -222,0 +222,0 @@ ))

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