react-bootstrap-typeahead
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -248,18 +248,4 @@ "use strict"; | ||
var _types = require("./types"); | ||
Object.keys(_types).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
if (key in exports && exports[key] === _types[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _types[key]; | ||
} | ||
}); | ||
}); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } |
@@ -25,3 +25,2 @@ // Components | ||
export { default as TypeaheadRef } from './core/Typeahead'; | ||
export * from './types'; | ||
export { default as TypeaheadRef } from './core/Typeahead'; |
{ | ||
"name": "react-bootstrap-typeahead", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "React typeahead with Bootstrap styling", | ||
@@ -15,3 +15,2 @@ "homepage": "http://ericgio.github.io/react-bootstrap-typeahead/", | ||
"types/", | ||
"types.ts", | ||
"LICENSE.md" | ||
@@ -18,0 +17,0 @@ ], |
@@ -13,3 +13,3 @@ import PropTypes from 'prop-types'; | ||
emptyLabel: PropTypes.Requireable<PropTypes.ReactNodeLike>; | ||
id: (props: import("../..").TypeaheadProps, propName: keyof import("../..").TypeaheadProps, componentName: string) => void; | ||
id: (props: import("../../types").TypeaheadProps, propName: keyof import("../../types").TypeaheadProps, componentName: string) => void; | ||
maxHeight: PropTypes.Requireable<string>; | ||
@@ -16,0 +16,0 @@ }; |
@@ -23,2 +23,1 @@ export { default as AsyncTypeahead } from './components/AsyncTypeahead'; | ||
export { default as TypeaheadRef } from './core/Typeahead'; | ||
export * from './types'; |
@@ -23,2 +23,1 @@ export { default as AsyncTypeahead } from './components/AsyncTypeahead'; | ||
export { default as TypeaheadRef } from './core/Typeahead'; | ||
export * from './types'; |
866408
17461