{"name":"rc-select","version":"8.6.5-beta2","keywords":["react","react-component","react-select","select"],"license":"MIT","_id":"rc-select@8.6.5-beta2","maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"},{"name":"picodoth","email":"picodoth@gmail.com"},{"name":"warmhug","email":"hualei5280@gmail.com"},{"name":"yesmeck","email":"yesmeck@gmail.com"},{"name":"yiminghe","email":"yiminghe@gmail.com"},{"name":"yutingzhao1991","email":"yutingzhao1991@sina.com"},{"name":"zombiej","email":"smith3816@gmail.com"}],"homepage":"http://github.com/react-component/select","bugs":{"url":"http://github.com/react-component/select/issues"},"dist":{"shasum":"26f95f2f63912fde82945d8175311b1afe313d95","tarball":"http://registry-npm.ywwl.com/rc-select/download/rc-select-8.6.5-beta2.tgz","fileCount":37,"integrity":"sha512-N9O1RZXGOb4QLGoaEg/mZX6hM99S/LCQQOHZLpaoZ7qBOyjFgRWUjCNe+/1YEZycWxJRCtrAT0VGputJ9l6Wjw==","signatures":[{"sig":"MEUCIQDsqETuCRhAXZo+qwjEHo3awumJcDRO5eOczZAdZ3WBWwIgVGczRW5+Z/Xj75q/DDrhnzINIT83sQL+kxp7p0On79c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":241628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGRuOCRA9TVsSAnZWagAAzr4P/iCQRY6eIYavW3bQEauY\nGIVlsoF8mtnwwdcrf3Kj7PSBhH1Y7d27mZab7uQoYbE9EuVwlmDbduNmHyQZ\ncTNCSC7CwXjYJbBOEQLQTXBLuDJ4NcJ7fjio6e9nOwpre8AW/bcWJfVlMNHg\nTlns8Om+EKgHXrjSb7oeL0DfAKoS5Dz5PW5sTm9MicJWCb3gDSid1gO9C5Hq\njrk9jX8c6hfvQ+kciQNttW5zNV0VRDvCuCR3OWZ9S1fGznxobc1LiSwJApbC\nEgtxMZ9G1/JVI/IZNjoLm3r8fXk8Vdqg5WSc/pUNk7GOHheYljiXsTAt8ZbZ\nflDjoz9gaSioc6No0NJcAkU9wcHDNMm5pZDkazkm0gKxBVmy+PdaPKtZQaC9\ndol5yHYre+kKxthwgdBJO/tYsdputXsKKoha/NGGlhsH8NWRrR6wA6U1SHBj\nqJlg3x32O2IiWjNruGrR+tnVA/mZeol6DWpymZbMIV2jXDEgAcGVqqyNOns1\nUxIw05Ka8zHCoxEXK66TRK/YCKK1qqenQqsEsLtJ2p75ltp7abQk7KYyyif8\nnOZbzFkupV10dBdgZDF86zz+fR7jY8+9+j4ifzx7dPcpUdRU41gyKDhHOL6+\nN4R+e8TDfggzJBuwg5MjbpiBZQS0V8rSsOs4+b9IKCPs7yVT4sC3ENczZKuX\n3GB6\r\n=P6HQ\r\n-----END PGP SIGNATURE-----\r\n","size":46798,"noattachment":false,"key":"/rc-select/-/rc-select-8.6.5-beta2.tgz"},"main":"./lib/index","config":{"port":8003},"module":"./es/index","readme":"# rc-select\n---\n\nReact Select\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![gemnasium deps][gemnasium-image]][gemnasium-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: http://img.shields.io/npm/v/rc-select.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-select\n[travis-image]: https://img.shields.io/travis/react-component/select.svg?style=flat-square\n[travis-url]: https://travis-ci.org/react-component/select\n[coveralls-image]: https://img.shields.io/coveralls/react-component/select.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/react-component/select?branch=master\n[gemnasium-image]: http://img.shields.io/gemnasium/react-component/select.svg?style=flat-square\n[gemnasium-url]: https://gemnasium.com/react-component/select\n[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/rc-select.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-select\n\n## Screenshots\n\n<img src=\"https://tfsimg.alipay.com/images/T1CUBeXa0kXXXXXXXX.png\" />\n\n## Feature\n\n* support ie9,ie9+,chrome,firefox,safari\n\n### Keyboard\n\n* Open select (focus input || focus and click)\n* KeyDown/KeyUp/Enter to navigate menu\n\n## install\n\n[![rc-select](https://nodei.co/npm/rc-select.png)](https://npmjs.org/package/rc-select)\n\n## Usage\n\n### basic use\n\n```js\nimport Select, {Option, OptGroup} from 'rc-select';\n\nvar c = (\n  <Select>\n    <Option value=\"jack\">jack</Option>\n    <Option value=\"lucy\">lucy</Option>\n    <Option value=\"yiminghe\">yiminghe</Option>\n  </Select>\n);\nReact.render(c, container);\n```\n\n## API\n\n### Select props\n\n| name     | description    | type     | default      |\n|----------|----------------|----------|--------------|\n|id | html id to set on the component wrapper | String | '' |\n|className | additional css class of root dom node | String | '' |\n|data-\\* | html data attributes to set on the component wrapper | String | '' |\n|prefixCls | prefix class | String | '' |\n|animation | dropdown animation name. only support slide-up now | String | '' |\n|transitionName | dropdown css animation name | String | '' |\n|choiceTransitionName | css animation name for selected items at multiple mode | String | '' |\n|dropdownMatchSelectWidth | whether dropdown's with is same with select | bool | true |\n|dropdownClassName | additional className applied to dropdown | String | - |\n|dropdownStyle | additional style applied to dropdown | Object | {} |\n|dropdownAlign | additional align applied to dropdown | Object | {} |\n|dropdownMenuStyle | additional style applied to dropdown menu | Object | {} |\n|notFoundContent | specify content to show when no result matches. | String | 'Not Found' |\n|tokenSeparators | separator used to tokenize on tag/multiple mode | string[]? |  |\n|open | control select open | bool | |\n|defaultOpen | control select default open | bool | |\n|placeholder | select placeholder | React Node | |\n|showSearch | whether show search input in single mode | bool | true |\n|showArrow | whether show arrow in single mode | bool | true |\n|allowClear | whether allowClear | bool | false |\n|tags | when tagging is enabled the user can select from pre-existing options or create a new tag by picking the first choice, which is what the user has typed into the search box so far. | bool | false |\n|maxTagTextLength | max tag text length to show | number | - |\n|maxTagCount | max tag count to show | number | - |\n|maxTagPlaceholder | placeholder for omitted values | ReactNode/function(omittedValues) | - |\n|combobox | enable combobox mode(can not set multiple at the same time) | bool | false |\n|multiple | whether multiple select | bool | false |\n|disabled | whether disabled select | bool | false |\n|filterOption | whether filter options by input value. default filter by option's optionFilterProp prop's value | bool | true/Function(inputValue:string, option:Option) |\n|optionFilterProp | which prop value of option will be used for filter if filterOption is true | String | 'value' |\n|optionLabelProp | render option value or option children as content of select | String: 'value'/'children' | 'value' |\n|defaultValue | initial selected option(s) | String/Array<String> | - |\n|value | current selected option(s) | String/Array<String>/{key:String, label:React.Node}/Array<{key, label}> | - |\n|firstActiveValue | first active value when there is no value | String/Array<String> | - |\n|labelInValue| whether to embed label in value, see above value type | Bool | false |\n|backfill| whether backfill select option to search input (Only works in single and combobox mode) | Bool | false |\n|onChange | called when select an option or input value change(combobox) | function(value, option:Option/Array<Option>) | - |\n|onSearch | called when input changed | function | - |\n|onBlur | called when blur | function | - |\n|onFocus | called when focus | function | - |\n|onPopupScroll | called when menu is scrolled | function | - |\n|onSelect | called when a option is selected. param is option's value and option instance | Function(value, option:Option) | - |\n|onDeselect | called when a option is deselected. param is option's value. only called for multiple or tags | Function(value, option:Option) | - |\n|onInputKeyDown | called when key down on input | Function(event) | - |\n|defaultActiveFirstOption | whether active first option by default | bool | true |\n|getPopupContainer | container which popup select menu rendered into | function(trigger:Node):Node | function(){return document.body;} |\n|getInputElement| customize input element | function(): Element | - |\n|showAction| actions trigger the dropdown to show | String[]? | - |\n|autoFocus| focus select after mount | Bool | - |\n| autoClearSearchValue | auto clear search input value when multiple select is selected/deselected | boolean | true |\n| inputIcon | specify the select arrow icon | ReactNode | - |\n| clearIcon | specify the clear icon | ReactNode | - |\n| removeIcon | specify the remove icon | ReactNode | - |\n| menuItemSelectedIcon | specify the remove icon | ReactNode \\| (props: MenuItemProps) => ReactNode | - |\n| dropdownRender | render custom dropdown menu | (menu: React.Node, props: MenuProps) => ReactNode | - |\n| loading | show loading icon in arrow | Boolean | false |\n\n### Methods\n\n| name     | description    | parameters | return      |\n|----------|----------------|----------|--------------|\n|focus     | focus select programmably | - | - |\n|blur     | blur select programmably | - | - |\n\n### Option props\n\n| name     | description    | type     | default      |\n|----------|----------------|----------|--------------|\n|className | additional class to option | String | '' |\n|disabled | no effect for click or keydown for this item | bool | false |\n|key | if react want you to set key, then key is same as value, you can omit value | String | - |\n|value | default filter by this attribute. if react want you to set key, then key is same as value, you can omit value | String | - |\n|title | if you are not satisfied with auto-generated `title` which is show while hovering on selected value, you can customize it with this property | String | - |\n\n\n### OptGroup props\n\n| name     | description    | type     | default      |\n|----------|----------------|----------|--------------|\n|label | group label | String/React.Element | - |\n|key | - | String | - |\n|value | default filter by this attribute. if react want you to set key, then key is same as value, you can omit value | String | - |\n\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Example\n\nhttp://localhost:8003/examples/\n\nonline example: http://react-component.github.io/select/examples/\n\n## Test Case\n\n```\nnpm test\n```\n\n## Coverage\n\n```\nnpm run coverage\n```\n\n\n## License\n\nrc-select is released under the MIT license.\n","gitHead":"320b75982d91292922834521ce6a162a8d943b37","scripts":{"pub":"rc-tools run pub --babel-runtime","lint":"rc-tools run lint","test":"jest","build":"rc-tools run build","start":"rc-tools run server","compile":"rc-tools run compile --babel-runtime","coverage":"jest --coverage","gh-pages":"rc-tools run gh-pages","lint:fix":"rc-tools run lint --fix","prettier":"rc-tools run prettier","prepublish":"rc-tools run guard","init-tslint":"rc-tools run init-tslint"},"_npmUser":{"name":"chenshuai2144","email":"wasd2144@hotmail.com"},"pre-commit":["lint"],"repository":{"url":"git+ssh://git@github.com/react-component/select.git","type":"git"},"_npmVersion":"6.5.0","description":"React Select","directories":{},"_nodeVersion":"11.4.0","dependencies":{"raf":"^3.4.0","rc-menu":"^7.3.0","rc-util":"^4.0.4","warning":"^4.0.2","classnames":"2.x","prop-types":"^15.5.8","rc-animate":"2.x","rc-trigger":"^2.5.4","babel-runtime":"^6.23.0","component-classes":"1.x","dom-scroll-into-view":"1.x","react-lifecycles-compat":"^3.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","jsonp":"^0.2.0","react":"^16.0.0","enzyme":"^3.8.0","rc-test":"^6.0.1","ts-jest":"^23.10.5","rc-tools":"^8.4.3","rc-dialog":"7.3.0","react-dom":"^16.0.0","pre-commit":"1.x","typescript":"^3.2.2","@types/jest":"^23.3.10","querystring":"^0.2.0","@types/react":"^16.7.17","@types/enzyme":"^3.1.15","@types/warning":"^3.0.0","enzyme-to-json":"^3.1.4","@types/react-dom":"^16.0.11","@types/classnames":"^2.2.6","react-test-renderer":"^16.0.0","enzyme-adapter-react-16":"^1.7.1"},"_npmOperationalInternal":{"tmp":"tmp/rc-select_8.6.5-beta2_1545149326037_0.2992128265413072","host":"s3://npm-registry-packages"},"publish_time":1545149326187,"_cnpm_publish_time":1545149326187,"dist-tags":{"beta":"8.6.7-alpha.0","latest":"14.16.8"}}