You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@atlaskit/select

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.5.0 to 4.5.1

4

CHANGELOG.md
# @atlaskit/select
## 4.5.1
- [patch] fixed actionMeta not being passed to onChange of PopupSelect [83833be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/83833be)
- [none] Updated dependencies [83833be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/83833be)
## 4.5.0

@@ -4,0 +8,0 @@ - [minor] atlaskit/select now invokes a makeAnimated function to wrap passed in components in default animated behaviour. As this invocation returns a new set of react components each time, we've also implemented a lightweight component cache using memoize-one and react-fast-compare. Additionally updates made to datetime-picker to not instantiate a new component on render everytime (for performance reasons as well as to satisfy our caching logic), we now also pass relevant state values through the select as props to be ingested by our custom components, instead of directly capturing them within lexical scope. [9b01264](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b01264)

4

dist/cjs/PopupSelect/Select.js

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

this.handleSelectChange = function (value) {
this.handleSelectChange = function (value, actionMeta) {
var _props = _this3.props,

@@ -233,3 +233,3 @@ closeMenuOnSelect = _props.closeMenuOnSelect,

if (closeMenuOnSelect) _this3.close();
if (onChange) onChange(value);
if (onChange) onChange(value, actionMeta);
};

@@ -236,0 +236,0 @@

@@ -182,3 +182,3 @@ import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';

this.handleSelectChange = function (value) {
this.handleSelectChange = function (value, actionMeta) {
var _props = _this3.props,

@@ -189,3 +189,3 @@ closeMenuOnSelect = _props.closeMenuOnSelect,

if (closeMenuOnSelect) _this3.close();
if (onChange) onChange(value);
if (onChange) onChange(value, actionMeta);
};

@@ -192,0 +192,0 @@

{
"name": "@atlaskit/select",
"version": "4.4.0"
"version": "4.5.0"
}
{
"name": "@atlaskit/select",
"version": "4.5.0",
"version": "4.5.1",
"description": "React component which allows selection of item(s) from a dropdown list.",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc