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

react-select

Package Overview
Dependencies
Maintainers
5
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

dist/index-9d5f35ff.cjs.dev.js

2

animated/dist/react-select.cjs.dev.js

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

var index$1 = require('../../dist/index-e49163b7.cjs.dev.js');
var index$1 = require('../../dist/index-9d5f35ff.cjs.dev.js');
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');

@@ -8,0 +8,0 @@ var memoizeOne = require('memoize-one');

@@ -7,3 +7,3 @@ "use strict";

var index$1 = require("../../dist/index-3b062ade.cjs.prod.js"), _objectWithoutProperties = require("@babel/runtime/helpers/objectWithoutProperties"), memoizeOne = require("memoize-one"), React = require("react"), _extends = require("@babel/runtime/helpers/extends"), _classCallCheck = require("@babel/runtime/helpers/classCallCheck"), _createClass = require("@babel/runtime/helpers/createClass"), _inherits = require("@babel/runtime/helpers/inherits"), reactTransitionGroup = require("react-transition-group");
var index$1 = require("../../dist/index-bbe8c082.cjs.prod.js"), _objectWithoutProperties = require("@babel/runtime/helpers/objectWithoutProperties"), memoizeOne = require("memoize-one"), React = require("react"), _extends = require("@babel/runtime/helpers/extends"), _classCallCheck = require("@babel/runtime/helpers/classCallCheck"), _createClass = require("@babel/runtime/helpers/createClass"), _inherits = require("@babel/runtime/helpers/inherits"), reactTransitionGroup = require("react-transition-group");

@@ -10,0 +10,0 @@ function _interopDefault(e) {

@@ -1,2 +0,2 @@

import { a as _objectSpread2, _ as _createSuper, F as defaultComponents } from '../../dist/index-fd4f5d85.esm.js';
import { a as _objectSpread2, _ as _createSuper, F as defaultComponents } from '../../dist/index-d36cd2a2.esm.js';
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';

@@ -3,0 +3,0 @@ import memoizeOne from 'memoize-one';

@@ -6,8 +6,8 @@ 'use strict';

var _extends = require('@babel/runtime/helpers/extends');
var base_dist_reactSelect = require('../../dist/Select-5a355dba.cjs.dev.js');
var base_dist_reactSelect = require('../../dist/Select-84bec210.cjs.dev.js');
var React = require('react');
var useAsync = require('../../dist/useAsync-189fdd7d.cjs.dev.js');
var useStateManager = require('../../dist/useStateManager-8ff08b81.cjs.dev.js');
var useCreatable = require('../../dist/useCreatable-1dd23304.cjs.dev.js');
require('../../dist/index-e49163b7.cjs.dev.js');
var useAsync = require('../../dist/useAsync-019137bf.cjs.dev.js');
var useStateManager = require('../../dist/useStateManager-513dcd55.cjs.dev.js');
var useCreatable = require('../../dist/useCreatable-dae4de13.cjs.dev.js');
require('../../dist/index-9d5f35ff.cjs.dev.js');
require('@emotion/react');

@@ -14,0 +14,0 @@ require('@babel/runtime/helpers/taggedTemplateLiteral');

@@ -7,3 +7,3 @@ "use strict";

var _extends = require("@babel/runtime/helpers/extends"), base_dist_reactSelect = require("../../dist/Select-b81394e0.cjs.prod.js"), React = require("react"), useAsync = require("../../dist/useAsync-d8b3f984.cjs.prod.js"), useStateManager = require("../../dist/useStateManager-8fff1bba.cjs.prod.js"), useCreatable = require("../../dist/useCreatable-b5e02420.cjs.prod.js");
var _extends = require("@babel/runtime/helpers/extends"), base_dist_reactSelect = require("../../dist/Select-72c224ed.cjs.prod.js"), React = require("react"), useAsync = require("../../dist/useAsync-b91dfc85.cjs.prod.js"), useStateManager = require("../../dist/useStateManager-2d9c84be.cjs.prod.js"), useCreatable = require("../../dist/useCreatable-d27ce0d4.cjs.prod.js");

@@ -16,3 +16,3 @@ function _interopDefault(e) {

require("../../dist/index-3b062ade.cjs.prod.js"), require("@emotion/react"), require("@babel/runtime/helpers/taggedTemplateLiteral"),
require("../../dist/index-bbe8c082.cjs.prod.js"), require("@emotion/react"), require("@babel/runtime/helpers/taggedTemplateLiteral"),
require("@babel/runtime/helpers/objectWithoutProperties"), require("@babel/runtime/helpers/typeof"),

@@ -19,0 +19,0 @@ require("@babel/runtime/helpers/classCallCheck"), require("@babel/runtime/helpers/createClass"),

import _extends from '@babel/runtime/helpers/esm/extends';
import { S as Select } from '../../dist/Select-de8d601b.esm.js';
import { S as Select } from '../../dist/Select-37be15dd.esm.js';
import React from 'react';
import { u as useAsync } from '../../dist/useAsync-2d499613.esm.js';
import { u as useStateManager } from '../../dist/useStateManager-6f19ca20.esm.js';
import { u as useCreatable } from '../../dist/useCreatable-ff535bc1.esm.js';
import '../../dist/index-fd4f5d85.esm.js';
import { u as useAsync } from '../../dist/useAsync-e8af30af.esm.js';
import { u as useStateManager } from '../../dist/useStateManager-0dbf12fc.esm.js';
import { u as useCreatable } from '../../dist/useCreatable-2d671553.esm.js';
import '../../dist/index-d36cd2a2.esm.js';
import '@emotion/react';

@@ -9,0 +9,0 @@ import '@babel/runtime/helpers/taggedTemplateLiteral';

@@ -7,6 +7,6 @@ 'use strict';

var React = require('react');
var base_dist_reactSelect = require('../../dist/Select-5a355dba.cjs.dev.js');
var useStateManager = require('../../dist/useStateManager-8ff08b81.cjs.dev.js');
var useAsync = require('../../dist/useAsync-189fdd7d.cjs.dev.js');
require('../../dist/index-e49163b7.cjs.dev.js');
var base_dist_reactSelect = require('../../dist/Select-84bec210.cjs.dev.js');
var useStateManager = require('../../dist/useStateManager-513dcd55.cjs.dev.js');
var useAsync = require('../../dist/useAsync-019137bf.cjs.dev.js');
require('../../dist/index-9d5f35ff.cjs.dev.js');
require('@emotion/react');

@@ -13,0 +13,0 @@ require('@babel/runtime/helpers/taggedTemplateLiteral');

@@ -7,3 +7,3 @@ "use strict";

var _extends = require("@babel/runtime/helpers/extends"), React = require("react"), base_dist_reactSelect = require("../../dist/Select-b81394e0.cjs.prod.js"), useStateManager = require("../../dist/useStateManager-8fff1bba.cjs.prod.js"), useAsync = require("../../dist/useAsync-d8b3f984.cjs.prod.js");
var _extends = require("@babel/runtime/helpers/extends"), React = require("react"), base_dist_reactSelect = require("../../dist/Select-72c224ed.cjs.prod.js"), useStateManager = require("../../dist/useStateManager-2d9c84be.cjs.prod.js"), useAsync = require("../../dist/useAsync-b91dfc85.cjs.prod.js");

@@ -16,3 +16,3 @@ function _interopDefault(e) {

require("../../dist/index-3b062ade.cjs.prod.js"), require("@emotion/react"), require("@babel/runtime/helpers/taggedTemplateLiteral"),
require("../../dist/index-bbe8c082.cjs.prod.js"), require("@emotion/react"), require("@babel/runtime/helpers/taggedTemplateLiteral"),
require("@babel/runtime/helpers/objectWithoutProperties"), require("@babel/runtime/helpers/typeof"),

@@ -19,0 +19,0 @@ require("@babel/runtime/helpers/classCallCheck"), require("@babel/runtime/helpers/createClass"),

import _extends from '@babel/runtime/helpers/esm/extends';
import React from 'react';
import { S as Select } from '../../dist/Select-de8d601b.esm.js';
import { u as useStateManager } from '../../dist/useStateManager-6f19ca20.esm.js';
import { u as useAsync } from '../../dist/useAsync-2d499613.esm.js';
import '../../dist/index-fd4f5d85.esm.js';
import { S as Select } from '../../dist/Select-37be15dd.esm.js';
import { u as useStateManager } from '../../dist/useStateManager-0dbf12fc.esm.js';
import { u as useAsync } from '../../dist/useAsync-e8af30af.esm.js';
import '../../dist/index-d36cd2a2.esm.js';
import '@emotion/react';

@@ -8,0 +8,0 @@ import '@babel/runtime/helpers/taggedTemplateLiteral';

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

require('@babel/runtime/helpers/extends');
require('../../dist/index-e49163b7.cjs.dev.js');
require('../../dist/index-9d5f35ff.cjs.dev.js');
require('@babel/runtime/helpers/classCallCheck');

@@ -13,3 +13,3 @@ require('@babel/runtime/helpers/createClass');

require('react');
var base_dist_reactSelect = require('../../dist/Select-5a355dba.cjs.dev.js');
var base_dist_reactSelect = require('../../dist/Select-84bec210.cjs.dev.js');
require('@emotion/react');

@@ -16,0 +16,0 @@ require('@babel/runtime/helpers/taggedTemplateLiteral');

@@ -5,3 +5,3 @@ "use strict";

value: !0
}), require("@babel/runtime/helpers/extends"), require("../../dist/index-3b062ade.cjs.prod.js"),
}), require("@babel/runtime/helpers/extends"), require("../../dist/index-bbe8c082.cjs.prod.js"),
require("@babel/runtime/helpers/classCallCheck"), require("@babel/runtime/helpers/createClass"),

@@ -11,3 +11,3 @@ require("@babel/runtime/helpers/inherits"), require("@babel/runtime/helpers/toConsumableArray"),

var base_dist_reactSelect = require("../../dist/Select-b81394e0.cjs.prod.js");
var base_dist_reactSelect = require("../../dist/Select-72c224ed.cjs.prod.js");

@@ -14,0 +14,0 @@ require("@emotion/react"), require("@babel/runtime/helpers/taggedTemplateLiteral"),

import '@babel/runtime/helpers/extends';
import '../../dist/index-fd4f5d85.esm.js';
import '../../dist/index-d36cd2a2.esm.js';
import '@babel/runtime/helpers/classCallCheck';

@@ -8,3 +8,3 @@ import '@babel/runtime/helpers/createClass';

import 'react';
export { S as default, b as defaultProps } from '../../dist/Select-de8d601b.esm.js';
export { S as default, b as defaultProps } from '../../dist/Select-37be15dd.esm.js';
import '@emotion/react';

@@ -11,0 +11,0 @@ import '@babel/runtime/helpers/taggedTemplateLiteral';

@@ -7,6 +7,6 @@ 'use strict';

var React = require('react');
var base_dist_reactSelect = require('../../dist/Select-5a355dba.cjs.dev.js');
var useStateManager = require('../../dist/useStateManager-8ff08b81.cjs.dev.js');
var useCreatable = require('../../dist/useCreatable-1dd23304.cjs.dev.js');
require('../../dist/index-e49163b7.cjs.dev.js');
var base_dist_reactSelect = require('../../dist/Select-84bec210.cjs.dev.js');
var useStateManager = require('../../dist/useStateManager-513dcd55.cjs.dev.js');
var useCreatable = require('../../dist/useCreatable-dae4de13.cjs.dev.js');
require('../../dist/index-9d5f35ff.cjs.dev.js');
require('@emotion/react');

@@ -13,0 +13,0 @@ require('@babel/runtime/helpers/taggedTemplateLiteral');

@@ -7,3 +7,3 @@ "use strict";

var _extends = require("@babel/runtime/helpers/extends"), React = require("react"), base_dist_reactSelect = require("../../dist/Select-b81394e0.cjs.prod.js"), useStateManager = require("../../dist/useStateManager-8fff1bba.cjs.prod.js"), useCreatable = require("../../dist/useCreatable-b5e02420.cjs.prod.js");
var _extends = require("@babel/runtime/helpers/extends"), React = require("react"), base_dist_reactSelect = require("../../dist/Select-72c224ed.cjs.prod.js"), useStateManager = require("../../dist/useStateManager-2d9c84be.cjs.prod.js"), useCreatable = require("../../dist/useCreatable-d27ce0d4.cjs.prod.js");

@@ -16,3 +16,3 @@ function _interopDefault(e) {

require("../../dist/index-3b062ade.cjs.prod.js"), require("@emotion/react"), require("@babel/runtime/helpers/taggedTemplateLiteral"),
require("../../dist/index-bbe8c082.cjs.prod.js"), require("@emotion/react"), require("@babel/runtime/helpers/taggedTemplateLiteral"),
require("@babel/runtime/helpers/objectWithoutProperties"), require("@babel/runtime/helpers/typeof"),

@@ -19,0 +19,0 @@ require("@babel/runtime/helpers/classCallCheck"), require("@babel/runtime/helpers/createClass"),

import _extends from '@babel/runtime/helpers/esm/extends';
import React from 'react';
import { S as Select } from '../../dist/Select-de8d601b.esm.js';
import { u as useStateManager } from '../../dist/useStateManager-6f19ca20.esm.js';
import { u as useCreatable } from '../../dist/useCreatable-ff535bc1.esm.js';
import '../../dist/index-fd4f5d85.esm.js';
import { S as Select } from '../../dist/Select-37be15dd.esm.js';
import { u as useStateManager } from '../../dist/useStateManager-0dbf12fc.esm.js';
import { u as useCreatable } from '../../dist/useCreatable-2d671553.esm.js';
import '../../dist/index-d36cd2a2.esm.js';
import '@emotion/react';

@@ -8,0 +8,0 @@ import '@babel/runtime/helpers/taggedTemplateLiteral';

@@ -7,5 +7,5 @@ import Select from './Select';

import { CreatableAdditionalProps } from './useCreatable';
declare type AsyncCreatableProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = StateManagerProps<Option, IsMulti, Group> & CreatableAdditionalProps<Option, Group> & AsyncAdditionalProps<Option, Group>;
export declare type AsyncCreatableProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = StateManagerProps<Option, IsMulti, Group> & CreatableAdditionalProps<Option, Group> & AsyncAdditionalProps<Option, Group>;
declare type AsyncCreatableSelect = <Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>(props: AsyncCreatableProps<Option, IsMulti, Group> & RefAttributes<Select<Option, IsMulti, Group>>) => ReactElement;
declare const AsyncCreatableSelect: AsyncCreatableSelect;
export default AsyncCreatableSelect;

@@ -23,3 +23,3 @@ /** @jsx jsx */

}
export declare const valueContainerCSS: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ theme: { spacing }, isMulti, }: ValueContainerProps<Option, IsMulti, Group>) => CSSObjectWithLabel;
export declare const valueContainerCSS: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ theme: { spacing }, isMulti, hasValue, }: ValueContainerProps<Option, IsMulti, Group>) => CSSObjectWithLabel;
export declare const ValueContainer: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: ValueContainerProps<Option, IsMulti, Group>) => jsx.JSX.Element;

@@ -26,0 +26,0 @@ export interface IndicatorsContainerProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> extends CommonPropsAndClassName<Option, IsMulti, Group> {

@@ -11,2 +11,3 @@ import Select from './Select';

export type { StateManagerProps as Props } from './useStateManager';
export type { SelectComponentsConfig } from './components';
export type { ContainerProps, IndicatorsContainerProps, ValueContainerProps, } from './components/containers';

@@ -22,4 +23,5 @@ export type { ControlProps } from './components/Control';

export type { SingleValueProps } from './components/SingleValue';
export type { ThemeConfig } from './theme';
export type { StylesConfig } from './styles';
export * from './types';
export type { OptionContext, GuidanceContext, AriaLive, AriaGuidanceProps, AriaOnChangeProps, AriaOnFilterProps, AriaOnFocusProps, AriaLiveMessages, AriaGuidance, AriaOnChange, AriaOnFilter, AriaOnFocus, } from './accessibility';

@@ -1,2 +0,2 @@

import { CSSObject } from '@emotion/serialize';
import { CSSObject } from '@emotion/react';
import { Props } from './Select';

@@ -14,3 +14,3 @@ import { StylesProps } from './styles';

export declare type OnChangeValue<Option, IsMulti extends boolean> = IsMulti extends true ? MultiValue<Option> : SingleValue<Option>;
interface Colors {
export interface Colors {
primary: string;

@@ -34,3 +34,3 @@ primary75: string;

}
interface ThemeSpacing {
export interface ThemeSpacing {
baseUnit: number;

@@ -128,2 +128,1 @@ controlHeight: number;

};
export {};

@@ -7,8 +7,8 @@ 'use strict';

var React = require('react');
var base_dist_reactSelect = require('./Select-5a355dba.cjs.dev.js');
var useStateManager = require('./useStateManager-8ff08b81.cjs.dev.js');
var base_dist_reactSelect = require('./Select-84bec210.cjs.dev.js');
var useStateManager = require('./useStateManager-513dcd55.cjs.dev.js');
var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
var _createClass = require('@babel/runtime/helpers/createClass');
var _inherits = require('@babel/runtime/helpers/inherits');
var index = require('./index-e49163b7.cjs.dev.js');
var index = require('./index-9d5f35ff.cjs.dev.js');
var react = require('@emotion/react');

@@ -15,0 +15,0 @@ var createCache = require('@emotion/cache');

@@ -7,3 +7,3 @@ "use strict";

var _extends = require("@babel/runtime/helpers/extends"), React = require("react"), base_dist_reactSelect = require("./Select-b81394e0.cjs.prod.js"), useStateManager = require("./useStateManager-8fff1bba.cjs.prod.js"), _classCallCheck = require("@babel/runtime/helpers/classCallCheck"), _createClass = require("@babel/runtime/helpers/createClass"), _inherits = require("@babel/runtime/helpers/inherits"), index = require("./index-3b062ade.cjs.prod.js"), react = require("@emotion/react"), createCache = require("@emotion/cache"), memoizeOne = require("memoize-one");
var _extends = require("@babel/runtime/helpers/extends"), React = require("react"), base_dist_reactSelect = require("./Select-72c224ed.cjs.prod.js"), useStateManager = require("./useStateManager-2d9c84be.cjs.prod.js"), _classCallCheck = require("@babel/runtime/helpers/classCallCheck"), _createClass = require("@babel/runtime/helpers/createClass"), _inherits = require("@babel/runtime/helpers/inherits"), index = require("./index-bbe8c082.cjs.prod.js"), react = require("@emotion/react"), createCache = require("@emotion/cache"), memoizeOne = require("memoize-one");

@@ -10,0 +10,0 @@ function _interopDefault(e) {

import _extends from '@babel/runtime/helpers/esm/extends';
import React, { Component } from 'react';
import { S as Select } from './Select-de8d601b.esm.js';
export { c as createFilter, d as defaultTheme, m as mergeStyles } from './Select-de8d601b.esm.js';
import { u as useStateManager } from './useStateManager-6f19ca20.esm.js';
import { S as Select } from './Select-37be15dd.esm.js';
export { c as createFilter, d as defaultTheme, m as mergeStyles } from './Select-37be15dd.esm.js';
import { u as useStateManager } from './useStateManager-0dbf12fc.esm.js';
import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';
import _createClass from '@babel/runtime/helpers/esm/createClass';
import _inherits from '@babel/runtime/helpers/esm/inherits';
import { _ as _createSuper } from './index-fd4f5d85.esm.js';
export { c as components } from './index-fd4f5d85.esm.js';
import { _ as _createSuper } from './index-d36cd2a2.esm.js';
export { c as components } from './index-d36cd2a2.esm.js';
import { CacheProvider } from '@emotion/react';

@@ -12,0 +12,0 @@ import createCache from '@emotion/cache';

{
"name": "react-select",
"version": "5.0.0",
"version": "5.1.0",
"description": "A Select control built with and for ReactJS",

@@ -5,0 +5,0 @@ "main": "dist/react-select.cjs.js",

@@ -17,2 +17,3 @@ import Select from './Select';

export type { SelectComponentsConfig } from './components';
export type {

@@ -41,2 +42,3 @@ ContainerProps,

export type { SingleValueProps } from './components/SingleValue';
export type { ThemeConfig } from './theme';
export type { StylesConfig } from './styles';

@@ -43,0 +45,0 @@ export * from './types';

@@ -1,2 +0,2 @@

import { CSSObject } from '@emotion/serialize';
import { CSSObject } from '@emotion/react';
import { Props } from './Select';

@@ -23,3 +23,3 @@ import { StylesProps } from './styles';

interface Colors {
export interface Colors {
primary: string;

@@ -46,3 +46,3 @@ primary75: string;

interface ThemeSpacing {
export interface ThemeSpacing {
baseUnit: number;

@@ -49,0 +49,0 @@ controlHeight: number;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc