5.6.113 • Published 10 months ago

@patrtorg/exercitationem-exercitationem v5.6.113

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@patrtorg/exercitationem-exercitationem

NPM Version Build Status Coverage Status License

@patrtorg/exercitationem-exercitationem

Stateless React Components for Bootstrap 5.

If you're using Bootstrap 4, you'll need to use Reactstrap v8

Getting Started

Follow the create-react-app instructions to get started and then follow the @patrtorg/exercitationem-exercitationem version of adding bootstrap.

tl;dr

npx create-react-app my-app
cd my-app/
npm start

or, if npx (Node >= 6 and npm >= 5.2 ) not available

npm install -g create-react-app

create-react-app my-app
cd my-app/
npm start

Then open http://localhost:3000/ to see your app. The initial structure of your app is setup. Next, let's add @patrtorg/exercitationem-exercitationem and bootstrap.

Adding Bootstrap

Install @patrtorg/exercitationem-exercitationem and Bootstrap from NPM. Reactstrap does not include Bootstrap CSS so this needs to be installed as well:

npm i bootstrap
npm i @patrtorg/exercitationem-exercitationem react react-dom

Import Bootstrap CSS in the src/index.js file:

import 'bootstrap/dist/css/bootstrap.css';

Import required @patrtorg/exercitationem-exercitationem components within src/App.js file or your custom component files:

import { Button } from '@patrtorg/exercitationem-exercitationem';

Now you are ready to use the imported @patrtorg/exercitationem-exercitationem components within your component hierarchy defined in the render method. Here is an example App.js redone using @patrtorg/exercitationem-exercitationem.

Dependencies

Required Peer Dependencies

These libraries are not bundled with Reactstrap and required at runtime:

About the Project

This library contains React Bootstrap components that favor composition and control. The library does not depend on jQuery or Bootstrap javascript. However, Poppers.js via react-popper is relied upon for advanced positioning of content like Tooltips, Popovers, and auto-flipping Dropdowns.

There are a few core concepts to understand in order to make the most out of this library.

  1. Your content is expected to be composed via props.children rather than using named props to pass in Components.

    // Content passed in via props
    const Example = (props) => {
      return (
        <p>This is a tooltip <TooltipTrigger tooltip={TooltipContent}>example</TooltipTrigger>!</p>
      );
    }
    
    // Content passed in as children (Preferred)
    const PreferredExample = (props) => {
      return (
        <p>
          This is a <a href="#" id="TooltipExample">tooltip</a> example.
          <Tooltip target="TooltipExample">
            <TooltipContent/>
          </Tooltip>
        </p>
      );
    }
  2. Attributes in this library are used to pass in state, conveniently apply modifier classes, enable advanced functionality (like tether), or automatically include non-content based elements.

    Examples:

    • isOpen - current state for items like dropdown, popover, tooltip
    • toggle - callback for toggling isOpen in the controlling component
    • color - applies color classes, ex: <Button color="danger"/>
    • size - for controlling size classes. ex: <Button size="sm"/>
    • tag - customize component output by passing in an element name or Component
    • boolean based props (attributes) when possible for alternative style classes or visually-hidden content

Documentation

https://@patrtorg/exercitationem-exercitationem.github.io

Documentation search is powered by Algolia's DocSearch.

CodeSandbox Examples

Here are some ready-to-go examples for CodeSandbox that you can experiment with.

https://github.com/@patrtorg/exercitationem-exercitationem/code-sandbox-examples

Contributing

Development

Install dependencies:

yarn install

Run examples at http://localhost:8080/ with webpack dev server:

yarn start

Run tests & coverage report:

yarn cover

Watch tests:

yarn test

Releasing

Release branches/versioning/notes will be automatically created and maintained by the release-please github action. When you're ready to publish the release, just merge the release branch. The release will be created, the new package will be published, and the updated docs will be deployed to https://@patrtorg/exercitationem-exercitationem.github.io/.

In the wild

Organizations and projects using @patrtorg/exercitationem-exercitationem

Submit a PR to add to this list!

Looking to build, document and publish reusable components built on top of @patrtorg/exercitationem-exercitationem? Consider forking https://github.com/@patrtorg/exercitationem-exercitationem/component-template to kickstart your project!

es2017urlperformanceprogressterminalSymbol.toStringTagtyped arraycloudsearchfastquotetoStringTagexecuninstallescapereadwaitECMAScript 2019debugidlethreeArray.prototype.filtertoolkitpackage managerjoiTypeScriptboundcolumnsregular expressionsstringifierdataViewECMAScriptclass-validatorinstallRFC-6455rssi18nHyBicore-jstestenderminimaldropbannerinvariantdirlintshellcomputed-typeswidthBigUint64ArrayenvfunctionsinstrumentationdescriptionchromeshamworkflowbinarytypeerrorobjectecmascriptcloudwatchextendRxclienteffect-tsfile systemmulti-packagemkdirsasyncYAMLpostcss-pluginObject.getPrototypeOfwarningtostringtagsymlinksformhelper[[Prototype]]ownArrayBuffer#slicees7matchAllsinatradayjssharedmapidviewECMAScript 7eslintpluginspinnersmodulesupspechardlinksmergeargvvalidatefunction.lengthdom-testing-librarysource mapvarchinesereducenegativedataStyleSheeteveryRegExp.prototype.flagsselfreuseenvironmentdirectoryaccessorlockfileentriessomeInt16Arrayemrexpressionuser-streamslastatomguidsortedramdaendpointdeep-copygetteroptimizerlanguageObject.fromEntriesstartersearches5Object.entriesfindLastIndexrapidnumberObservablecss-in-jsmatchprocessoptionlibphonenumberpolyfillmobileRegExp#flagsdeepcopyxmlforEachfunctionalUnderscoreinlet$.extendserializationreact-hook-formdataviewtaketypescriptes8coerciblegesturesworkertypedarraysglobalThisString.prototype.trimeslint-pluginES2020parentskeylookinternal slotES2015ES2022ArrayBufferECMAScript 5ES7codesES2016schemejstypesreact-testing-libraryexecfileastinputFloat32Arrayprotocol-buffersES8parserformatreact animationreversedconsumeexpresstestingfast-deep-copyroutersymbolbundlingansierrorObject.assignwafSetponyfillReactiveXassigna11yregulartacitkoreantranspilersyntaxerrorArraylook-upbeanstalkvalidkinesiszxES5hash3dECMAScript 3ES2021environmentsequalitystreamsisConcatSpreadableavaassertiondeletenamespromiseECMAScript 2015serializerfilewaapipropertysideReactiveExtensionstransportautoprefixereventscollectionmake dirwgetfast-cloneprotofastclonetypejasminevestchannelfindignorestructuredClonesesreadablebusysyntaxECMAScript 2018arktypecloudformationimmerfromvalidationreducerclipatchsqsnameURLmonorepocolornpmloggerclassnamemanagermochastylePromiseuuidextra0localflatweaksetshrinkwrap.gitignorelengthtddcjkconstdeepJSONstoragegatewayESnextchildwritablereact posefantasy-landtouchECMAScript 2020ec2Int8ArrayrangeerrorArray.prototype.flatMapregular expressionflatMapprototypehasOwnPropertyArrayBuffer.prototype.slicehttpsestreefunctionglobal objectlinkJSON-Schema_.extendprotobufairbnbcopyObject.ismapreduceincludescolumnjshintzerodescriptorshebangstylingkarmaprefixworkspace:*restfulswfschemasuperstructrmdirrestfast-copyjsdomwalkonceconcatMapreworknodewalkinggroupByes2016whatwgpropflattenrdsstablepnpm9genericsdefinerecursivesuperagentpackagees2018es-abstractIteratortoArraymanipulationutilscalloutput6to5es6identifierssimpledbcommanderstylesArray.prototype.containsSystem.globaltoSortedtrimRightarraysArray.prototype.flatautoscalinggraphqlbrowseriterateformattingdeep-cloneECMAScript 2022eventEmittertapeespreeconcatmetadatapoint-freecharacterregular-expressiontesterdragcallbindtypedglobalseslintdependenciesUint8ArraysubprocessasciirmexecutesetequaltrimStartslicevaluespropertieseventDispatchersharedarraybufferObservablesdefinePropertytranspileomitsameValueZerodescriptorscircularvariablesnodejsrequestrouteefficientparsejsxkeysconfigurablelocationcloudfrontemitfiltertoReversedcharactersmkdirpasteriskspushtimecloudtraildomes-shimspopmotionfind-upclonehttpfolderdynamodbURLSearchParamsamazonredirectcallboundimmutablequeueloadbalancingtransformprunegetintrinsichooksremoveframerRxJSresolveposeutilitiesECMAScript 6ajvloadingsetPrototypeOfsortmakecolorsECMAScript 2021fullwidthassertsglobalInt32ArrayUint32ArraygetOwnPropertyDescriptorrfc4122jQuerytermzodtelephoneinternalObject.valuesgitignorefetchmruarttypesafebindspawnpyyamlpluginsnscode pointsxtermgetoptapollorequireWeakMapfullObjects3argshelpershasglaciercurlroute53fpsjavascriptelasticachephonereverseflagiamawsObject.definePropertyES2018bddhasOwnECMAScript 2016agentpinojsdiffutilityprivateflagsfixed-widthStreamseslogglobal this valuetypeofcheckObject.keyselectrontraversequeueMicrotaskfindLastcoverageenumerablebinariesjson-schemaCSSutil.inspectnegative zerobabelsetImmediatehookformproxyWebSocketsdotenvAsyncIteratorharmonyclassescompilerdiffreact-hooksgdprbrowserlistcollection.es6Symboltextissymbolsnopevarsfpformsreadablestreamcacheshimlru256iedeterministiccall-bindrulesforkelbindicatorruntimedeepclonetrimbinES2019cssfigletpackagescomparechaiframeworkhas-ownbuffersistanbulreduxloggingpureserializetrimLeftjsonschemaeast-asian-widthString.prototype.matchAllcoregetPrototypeOf__proto__gettslibpreprocessorspeedcall-boundPushpackage.jsontypaniontc39accessibilityfastcopyargumentes2015validatortypedarraytspathTypedArrayglobpipearrayWeakSetpositivetrimEndimportES2017listenerscolourTypeBoxwindowmodule@@toStringTagArray.prototype.findLastwriteroutingrm -frcurriedperformantio-tsutiliteratorjestECMAScript 2023intrinsicFunction.prototype.namespinnerjapanesewhichinstallerMicrosoftArray.prototype.flattenchromiumobjbuffercensorsettingsnpmignorearraybufferbabel-corequerystringfindup-0toobjectfeedjson-schema-validatorstringcryptoMapcommand-lineredux-toolkitcontainsslotajaxES2023Uint8ClampedArrayappconsolevalueebsCSSStyleDeclarationtapfull-widtheslintconfigform-validation
5.6.112

10 months ago

5.6.113

10 months ago

5.6.111

10 months ago

5.6.110

10 months ago

4.6.110

10 months ago

4.6.109

10 months ago

4.6.108

10 months ago

4.6.107

10 months ago

4.5.107

10 months ago

4.5.106

10 months ago

4.5.105

10 months ago

4.5.104

10 months ago

4.5.103

10 months ago

4.5.102

10 months ago

4.5.101

10 months ago

4.5.100

10 months ago

4.5.99

10 months ago

4.5.98

10 months ago

4.5.97

10 months ago

4.5.96

10 months ago

4.5.95

10 months ago

4.5.94

11 months ago

4.5.93

11 months ago

4.5.92

11 months ago

4.5.91

11 months ago

4.5.90

11 months ago

4.4.90

11 months ago

4.4.89

11 months ago

4.4.88

11 months ago

4.4.87

11 months ago

4.4.86

11 months ago

4.4.85

11 months ago

4.4.84

11 months ago

4.4.83

11 months ago

4.4.82

11 months ago

4.4.81

11 months ago

4.4.80

11 months ago

4.4.79

11 months ago

4.4.78

11 months ago

4.4.77

11 months ago

4.4.76

11 months ago

4.4.75

11 months ago

4.4.74

11 months ago

4.4.73

11 months ago

4.4.72

11 months ago

4.4.71

11 months ago

4.4.70

11 months ago

4.4.69

11 months ago

4.4.68

11 months ago

4.4.67

11 months ago

4.4.66

11 months ago

4.4.65

12 months ago

3.4.65

12 months ago

3.4.64

12 months ago

3.4.63

12 months ago

3.4.62

12 months ago

3.4.61

12 months ago

3.4.60

12 months ago

3.4.59

12 months ago

3.4.58

12 months ago

3.4.57

12 months ago

3.4.56

12 months ago

3.4.55

12 months ago

3.4.54

12 months ago

3.4.53

12 months ago

3.4.52

12 months ago

3.4.51

12 months ago

3.4.50

12 months ago

3.4.49

12 months ago

3.3.49

12 months ago

3.3.48

12 months ago

3.3.47

1 year ago

3.3.46

1 year ago

3.3.45

1 year ago

3.3.44

1 year ago

3.3.43

1 year ago

3.3.42

1 year ago

3.3.41

1 year ago

3.2.41

1 year ago

3.2.40

1 year ago

2.2.40

1 year ago

2.2.39

1 year ago

2.2.38

1 year ago

2.2.37

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

1 year ago

2.2.32

1 year ago

2.2.31

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago