1.0.0 • Published 1 year ago

@devtea2025/deleniti-porro-necessitatibus-quia v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

React Bootstrap Typeahead

A React-based typeahead that relies on Bootstrap for styling and was originally inspired by Twitter's typeahead.js. It supports both single- and multi-selection and is compliant with WAI-ARIA authoring practices. Try the live examples.

npm version npm downloads CI Codecov MIT License

Please note that documentation and examples apply to the most recent release and may no longer be applicable if you're using an outdated version.

Installation

npm install --save @devtea2025/deleniti-porro-necessitatibus-quia

or

yarn add @devtea2025/deleniti-porro-necessitatibus-quia

Include the module in your project:

import { Typeahead } from '@devtea2025/deleniti-porro-necessitatibus-quia'; // ES2015
var Typeahead = require('@devtea2025/deleniti-porro-necessitatibus-quia').Typeahead; // CommonJS

UMD Build

Development and production builds are included in the NPM package. Alternatively, you can get them from CDNJS or unpkg.

Documentation

CSS

While the component relies primarily on Bootstrap, some additional styling is needed. You should include the provided CSS file in your project:

// Import as a module in your JS
import '@devtea2025/deleniti-porro-necessitatibus-quia/css/Typeahead.css';

or

<!-- Link as a stylesheet in your HTML -->
<link
  rel="stylesheet"
  href="https://unpkg.com/@devtea2025/deleniti-porro-necessitatibus-quia/css/Typeahead.css"
/>

Bootstrap 5

In an effort to support Bootstrap 5, this package also contains a CSS file named Typeahead.bs5.css that should be included alongside the base CSS file above.

Examples

Try the live examples, which also include code samples. If you'd like to modify the examples, clone the repository and run npm install and npm start to build the example file. You can then open the HTML file locally in your browser.

You can also try out the following sandbox examples:

If you have an example use case that would be useful to others, please create a sandbox and submit a pull request to add it to the list!

Browser Support

Recent versions of the following browsers are supported:

  • Chrome
  • Firefox
  • Edge
  • Safari

Special thanks to BrowserStack for providing cross-browser testing support.

http://i.imgur.com/9aLP6Fx.png?1

License

MIT

removepositivees-abstractpassworddeepclonepluginefficienthasprotoopenwebsiteexpressdebugtddRegExp.prototype.flagssideinternalvariablescensorECMAScript 2021classesfindidparentprogressspinnerprivate datasetImmediategrouptypedarraysESfilemkdirpfile systemglobconfigurablemakecolumnsdeterministicArray.prototype.filterES2015validcopyjQueryfigletrouterJSONcommandvarssharedarraybufferwordwrapdefaultstatusjsxshamwebpnpm9bundlercompilerloggingtaploglinewrapurlsrequiretestcloudsearchcorsrm -rfObservablelastbundlingObject.getPrototypeOfesStyleSheetES2018installfromarraybufferhotkeysUint16Arrayreusesuperagentnpmasthelperseast-asian-widthlessoutputstatelessESnextUint8ClampedArrayfindupgettertakestringifierwatchingboundlibphonenumberqueryURLcompile lessregexspawngradients css3prettyrapidguidcloudwatchbindUnderscoreswfES2023shrinkwrapcolumnIteratores8ES5predictablehttps3typeerrorlengthprotocol-buffersweaksetstoragegatewayStreamyamlES2020nested cssregular expressionAsyncIteratorsetter@@toStringTagcoercibleconcatdatastructureiaml10nexit-codedeep-copyquotereact-hooksreducerES2017signalvaluecallboundmixinsmake dirstyleECMAScript 3concatMapWebSocketsconnectxdg-opencheckgetintrinsicidleaccessorimmerArray.prototype.includesdataviewInt32Arraysyntaxtypedhookscolourreadablemomentcjkfind-upelmspeedhandlerswgetpromiseeslintes2015eventEmitterkinesiscolorgroupByES2016installerdirString.prototype.matchAllhttpsdeletereadablestreamjapaneseECMAScript 5authenticationframeworkprotobufmiddlewarestylesjestObjectHyBityped arrayeslintpluginArrayinterruptscmdestreeCSSArray.prototype.findLastIndexes2018emitenvironmentwarningreal-timestyled-componentsmergesortedfast-deep-copydiffECMAScript 2018resolvetoobjectcollectiontrimnegativequeueutil.inspecttestervaluesreadArray.prototype.flatMapasciivestStreamswidthworkspace:*equallanguageaccessibilitysimpledbutilgetPrototypeOfsetbytecomputed-typesmacosrfc4122phoneinvariantparentsfast-copyconcurrencykarmaextraregularstylesheettraverseBigUint64Arrayenumerableagentmochacore-jscharactersObject.valuesArray.prototype.flattensameValueZerobreakcommanderjsdiffeventDispatchersqssignalsArrayBufferfullwidthdotenvMapprocessenvqueueMicrotasknodejses-shimscurlrmdirimmutableinspectmimearraysregexpstreamsglacier[[Prototype]]getoptes5a11yshimcharacterserializeargvWebSocketflattenebsstreams2fast-clonearrayiterateclassnamegenericsruntimeec2wafchineseSetYAMLECMAScript 2016everyObject.definePropertythrottleredactperformanceeditorchromium__proto__0ponyfilllinkrgbparsinglimitmetadatakeyless mixinsmkdirsES2022includesdomstartstringifyurlredux-toolkitdefinePropertycss lessterminalpathES6ownrandomjasminesyntaxerrorargumentsmapreduceformatReflect.getPrototypeOfes6hasOwnPropertymodulesreact-hook-formemrvisualfoldersearchnamesauthObservablesfastifyless csstrimStartES8bannerdescriptorsshareddroppreprocessorflatMapoffsetcoreconsolefixed-widthoperating-systemclonepropflagmappushchromelookoptimizerwalkprivategradients cssassertionUint32ArrayconsumewatcherjsintrinsicstreamCSSStyleDeclarationArrayBuffer#slicefulles2016launchsesbyteLengthescapeencryptionslicesymbolswritejavascriptexeunicodesetPrototypeOfconfigmonorepodebuggerObject.entriesmatchAlluninstallargumentvariables in cssmovevalidateinkoreanlesscssES7equalityapiflagssigtermtermtypeofprunedeepcopyextendregular expressionsreactArrayBuffer.prototype.sliceemojiMicrosoftReactiveXreact-testing-librarymodulefpsthroatratelimituppersistentmimetypesslotrequestbusyECMAScript 2022functionscssansiwaitxhroptiontspropertiesdependenciescss-in-jsbrowserglobalRegExp#flagsjsdomio-tsdescriptorsnsstatewhatwgInt16Arrayfscryptotypescriptjshintdayjsflathigher-orderelasticacheWeakSetUint8Arrayqsdescriptionnativebeanstalkutilityworkflow256assertsnopettyexecutabletostringtagtypedarraypackagesmatchhas-ownopenerlistenerspyyamlimportscheme-validationreducespeceventsmobileexecviewstringtoStringTagArray.prototype.containswalkingworkerTypeScriptiterationduplexFunction.prototype.nameperformantformattingECMAScript 2017package.jsonPushtoolstoArraytrimEndassertavacode pointsendpointtoSorteddom-testing-librarycommand-lineObject.keysfastcloneless compilertaskshellcallbindpropertyECMAScript 2015getOwnPropertyDescriptorobjectrm -frasyncpicomatchfluxchannelentriesfull-widthsiginthookformartserializerelbawesomesauceextension
1.0.0

1 year ago