Socket
Socket
Sign inDemoInstall

react-select-allow-create

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select-allow-create - npm Package Compare versions

Comparing version 1.0.0-beta11.18 to 1.0.0-beta11.19

8

package.json
{
"name": "react-select-allow-create",
"version": "1.0.0-beta11.18",
"version": "1.0.0-beta11.19",
"description": "A Select control built with and for ReactJS",

@@ -31,3 +31,3 @@ "main": "lib/Select.js",

"prop-types": "^15.6.0",
"react": "^15.0",
"react": "^16.0",
"react-addons-shallow-compare": "^15.6",

@@ -48,4 +48,4 @@ "react-addons-test-utils": "^15.0",

"peerDependencies": {
"react": "^0.14 || ^15.0.0-rc || ^15.0",
"react-dom": "^0.14 || ^15.0.0-rc || ^15.0"
"react": "^0.14 || ^15.0.0-rc || ^15.0 || ^16.0",
"react-dom": "^0.14 || ^15.0.0-rc || ^15.0 || ^16.0"
},

@@ -52,0 +52,0 @@ "browserify-shim": {

@@ -10,3 +10,22 @@ [![NPM](https://img.shields.io/npm/v/react-select-allow-create.svg)](https://www.npmjs.com/package/react-select-allow-create)

## Why does this Honeycomb fork exist?
Because at the time, certain behaviors were required and behaved strangely in the upstream version.
These behaviors seem like they've been addressed by the upstream version (as of 2018/04/14):
- Clicking on a filter removes the previous filter and turns it into edit mode (relies on https://github.com/honeycombio/react-select/commit/1cafc279434c13c448c5552ee61e41040c22a501, used by https://github.com/honeycombio/hound/commit/ac812787)
- Generating/supporting options on the fly (relies on https://github.com/honeycombio/react-select/commit/5342544043158d7333b16aa27272ea04bc397dfa)
These still seems like issues (aka, blindly s/react-select-allow-create/react-select/ in our repo causes these issues):
> - the query builder behavior gets a little funky. e.g. try to type count in the calculate field and see that each character typed replaces the prior one (via @eanakashima)
Still to be verified:
- Being able to use a flexbox inside a `Select-value` https://github.com/honeycombio/react-select/commit/e69d7b89c8152d9a36247dc6c1579b4d0035c757, and autosizing behavior again https://github.com/honeycombio/react-select/commit/ea66e133b48479f8fa7b1f5119b9fa8c7312555a
- (@toshok thinks this one "was to keep the "x" in the pill from wrapping to the next line. Selecting a wide column name / entering a wide filter expression should trigger it.")
- add an inputValue prop so container can supply an input value as the user chooses options https://github.com/honeycombio/react-select/commit/e61ad3a0a5355a0aba28c0be9eb63360ac40c4ca
- (@toshok thinks this "was to allow the dropdown to expand further to the right instead of only being as wide as the text entry. For verification dropping down the breakdown menu in a dataset with wide columns." and "I think this was to get the filter dropdown to work. selecting an option that doesn't give you a "complete" value (say, typing `total` and then selecting `total_duration_ms >= ?` sets the input value to `total_duration_ms >= `)")
## New version 1.0.0-rc

@@ -13,0 +32,0 @@

Sorry, the diff of this file is not supported yet

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