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

@hig/dropdown

Package Overview
Dependencies
Maintainers
4
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/dropdown - npm Package Compare versions

Comparing version 2.0.7 to 2.1.0

20

build/index.es.js

@@ -851,3 +851,4 @@ import React, { Component } from 'react';

variant = _this$props.variant,
otherProps = _objectWithoutProperties$4(_this$props, ["children", "defaultValue", "disabled", "formatOption", "id", "multiple", "onBlur", "onChange", "onFocus", "options", "placeholder", "renderOption", "required", "value", "variant"]);
error = _this$props.error,
otherProps = _objectWithoutProperties$4(_this$props, ["children", "defaultValue", "disabled", "formatOption", "id", "multiple", "onBlur", "onChange", "onFocus", "options", "placeholder", "renderOption", "required", "value", "variant", "error"]);

@@ -945,3 +946,4 @@ /**

variant = _props3.variant,
otherProps = _objectWithoutProperties$4(_props3, ["placeholder", "disabled", "required", "onBlur", "onFocus", "variant"]);
error = _props3.error,
otherProps = _objectWithoutProperties$4(_props3, ["placeholder", "disabled", "required", "onBlur", "onFocus", "variant", "error"]);

@@ -956,2 +958,3 @@ var className = otherProps.className;

id: id,
error: error,
placeholder: placeholder,

@@ -1112,3 +1115,7 @@ disabled: disabled,

*/
variant: PropTypes.oneOf(variantTypes)
variant: PropTypes.oneOf(variantTypes),
/**
* Specifies if the value provided is wrong
*/
error: PropTypes.bool
};

@@ -1255,2 +1262,9 @@ Dropdown.defaultProps = {

"description": "The visual variant of the textarea"
},
"error": {
"type": {
"name": "bool"
},
"required": false,
"description": "Specifies if the value provided is wrong"
}

@@ -1257,0 +1271,0 @@ }

@@ -859,3 +859,4 @@ 'use strict';

variant = _this$props.variant,
otherProps = _objectWithoutProperties$4(_this$props, ["children", "defaultValue", "disabled", "formatOption", "id", "multiple", "onBlur", "onChange", "onFocus", "options", "placeholder", "renderOption", "required", "value", "variant"]);
error = _this$props.error,
otherProps = _objectWithoutProperties$4(_this$props, ["children", "defaultValue", "disabled", "formatOption", "id", "multiple", "onBlur", "onChange", "onFocus", "options", "placeholder", "renderOption", "required", "value", "variant", "error"]);

@@ -953,3 +954,4 @@ /**

variant = _props3.variant,
otherProps = _objectWithoutProperties$4(_props3, ["placeholder", "disabled", "required", "onBlur", "onFocus", "variant"]);
error = _props3.error,
otherProps = _objectWithoutProperties$4(_props3, ["placeholder", "disabled", "required", "onBlur", "onFocus", "variant", "error"]);

@@ -964,2 +966,3 @@ var className = otherProps.className;

id: id,
error: error,
placeholder: placeholder,

@@ -1120,3 +1123,7 @@ disabled: disabled,

*/
variant: PropTypes.oneOf(variantTypes)
variant: PropTypes.oneOf(variantTypes),
/**
* Specifies if the value provided is wrong
*/
error: PropTypes.bool
};

@@ -1263,2 +1270,9 @@ Dropdown.defaultProps = {

"description": "The visual variant of the textarea"
},
"error": {
"type": {
"name": "bool"
},
"required": false,
"description": "Specifies if the value provided is wrong"
}

@@ -1265,0 +1279,0 @@ }

@@ -0,1 +1,8 @@

# [@hig/dropdown-v2.1.0](https://github.com/Autodesk/hig/compare/@hig/dropdown@2.0.7...@hig/dropdown@2.1.0) (2019-09-06)
### Features
* add error prop for Dropdown ([6d86709](https://github.com/Autodesk/hig/commit/6d86709))
# [@hig/dropdown-v2.0.7](https://github.com/Autodesk/hig/compare/@hig/dropdown@2.0.6...@hig/dropdown@2.0.7) (2019-07-11)

@@ -2,0 +9,0 @@

6

package.json
{
"name": "@hig/dropdown",
"version": "2.0.7",
"version": "2.1.0",
"description": "HIG Dropdown",

@@ -22,3 +22,3 @@ "author": "Autodesk Inc.",

"@hig/multi-downshift": "^0.1.1",
"@hig/input": "^1.1.5",
"@hig/input": "^1.2.0",
"emotion": "^10.0.0",

@@ -31,3 +31,3 @@ "downshift": "^3.2.0",

"@hig/theme-context": "^3.0.0",
"@hig/theme-data": "^2.8.0",
"@hig/theme-data": "^2.11.0",
"react": "^15.4.1 || ^16.3.2"

@@ -34,0 +34,0 @@ },

@@ -29,1 +29,5 @@ # Dropdown

```
## Custom CSS
Use the `className` prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.
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