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

rc-select

Package Overview
Dependencies
Maintainers
9
Versions
469
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-select - npm Package Compare versions

Comparing version 14.2.2 to 14.3.0

2

es/BaseSelect.d.ts

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

import type { AlignType } from 'rc-trigger/lib/interface';
import type { AlignType } from '@rc-component/trigger/lib/interface';
import type { ScrollConfig, ScrollTo } from 'rc-virtual-list/lib/List';

@@ -3,0 +3,0 @@ import * as React from 'react';

@@ -0,3 +1,3 @@

import type { AlignType } from '@rc-component/trigger/lib/interface';
import * as React from 'react';
import type { AlignType } from 'rc-trigger/lib/interface';
import type { Placement, RenderDOMFunc } from './BaseSelect';

@@ -4,0 +4,0 @@ export interface RefTriggerProps {

@@ -6,5 +6,5 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var _excluded = ["prefixCls", "disabled", "visible", "children", "popupElement", "containerWidth", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "direction", "placement", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "getPopupContainer", "empty", "getTriggerDOMNode", "onPopupVisibleChange", "onPopupMouseEnter"];
import Trigger from '@rc-component/trigger';
import classNames from 'classnames';
import * as React from 'react';
import Trigger from 'rc-trigger';
import classNames from 'classnames';

@@ -21,3 +21,4 @@ var getBuiltInPlacements = function getBuiltInPlacements(dropdownMatchSelectWidth) {

adjustY: 1
}
},
htmlRegion: 'scroll'
},

@@ -30,3 +31,4 @@ bottomRight: {

adjustY: 1
}
},
htmlRegion: 'scroll'
},

@@ -39,3 +41,4 @@ topLeft: {

adjustY: 1
}
},
htmlRegion: 'scroll'
},

@@ -48,3 +51,4 @@ topRight: {

adjustY: 1
}
},
htmlRegion: 'scroll'
}

@@ -51,0 +55,0 @@ };

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

import type { AlignType } from 'rc-trigger/lib/interface';
import type { AlignType } from '@rc-component/trigger/lib/interface';
import type { ScrollConfig, ScrollTo } from 'rc-virtual-list/lib/List';

@@ -3,0 +3,0 @@ import * as React from 'react';

@@ -0,3 +1,3 @@

import type { AlignType } from '@rc-component/trigger/lib/interface';
import * as React from 'react';
import type { AlignType } from 'rc-trigger/lib/interface';
import type { Placement, RenderDOMFunc } from './BaseSelect';

@@ -4,0 +4,0 @@ export interface RefTriggerProps {

@@ -20,8 +20,8 @@ "use strict";

var React = _interopRequireWildcard(require("react"));
var _trigger = _interopRequireDefault(require("@rc-component/trigger"));
var _rcTrigger = _interopRequireDefault(require("rc-trigger"));
var _classnames = _interopRequireDefault(require("classnames"));
var React = _interopRequireWildcard(require("react"));
var _excluded = ["prefixCls", "disabled", "visible", "children", "popupElement", "containerWidth", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "direction", "placement", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "getPopupContainer", "empty", "getTriggerDOMNode", "onPopupVisibleChange", "onPopupMouseEnter"];

@@ -43,3 +43,4 @@

adjustY: 1
}
},
htmlRegion: 'scroll'
},

@@ -52,3 +53,4 @@ bottomRight: {

adjustY: 1
}
},
htmlRegion: 'scroll'
},

@@ -61,3 +63,4 @@ topLeft: {

adjustY: 1
}
},
htmlRegion: 'scroll'
},

@@ -70,3 +73,4 @@ topRight: {

adjustY: 1
}
},
htmlRegion: 'scroll'
}

@@ -130,3 +134,3 @@ };

return /*#__PURE__*/React.createElement(_rcTrigger.default, (0, _extends2.default)({}, restProps, {
return /*#__PURE__*/React.createElement(_trigger.default, (0, _extends2.default)({}, restProps, {
showAction: onPopupVisibleChange ? ['click'] : [],

@@ -133,0 +137,0 @@ hideAction: onPopupVisibleChange ? ['click'] : [],

{
"name": "rc-select",
"version": "14.2.2",
"version": "14.3.0",
"description": "React Select",

@@ -48,6 +48,6 @@ "engines": {

"@babel/runtime": "^7.10.1",
"@rc-component/trigger": "^1.4.0",
"classnames": "2.x",
"rc-motion": "^2.0.1",
"rc-overflow": "^1.0.0",
"rc-trigger": "^5.0.4",
"rc-util": "^5.16.1",

@@ -54,0 +54,0 @@ "rc-virtual-list": "^3.4.13"

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