2.13.115 • Published 10 months ago

@taktikorg/soluta-voluptates-omnis v2.13.115

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

@taktikorg/soluta-voluptates-omnis

NPM Version Build Status Coverage Status License

@taktikorg/soluta-voluptates-omnis

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 @taktikorg/soluta-voluptates-omnis 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 @taktikorg/soluta-voluptates-omnis and bootstrap.

Adding Bootstrap

Install @taktikorg/soluta-voluptates-omnis and Bootstrap from NPM. Reactstrap does not include Bootstrap CSS so this needs to be installed as well:

npm i bootstrap
npm i @taktikorg/soluta-voluptates-omnis react react-dom

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

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

Import required @taktikorg/soluta-voluptates-omnis components within src/App.js file or your custom component files:

import { Button } from '@taktikorg/soluta-voluptates-omnis';

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

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://@taktikorg/soluta-voluptates-omnis.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/@taktikorg/soluta-voluptates-omnis/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://@taktikorg/soluta-voluptates-omnis.github.io/.

In the wild

Organizations and projects using @taktikorg/soluta-voluptates-omnis

Submit a PR to add to this list!

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

mimetypessespopmotionrm -rfArray.prototype.filtertouchtoArraynegativevariablescollection.es6styled-componentsjsonfull-width3dequaleslintconfigCSSfromreact animationnativecreatedebuggervalueconvertconcurrencybannerJSON-Schemaobjectbatchgetoptmodulesymbolflatconfigurablestringify-0es2016lazytaskdiffsetfixed-widthtoolsutilityworkflowPushES5workerparentssharedemitartglobalES2016eventslookspeeddataxdg-openECMAScript 2015ttyqueuebyteLengthprocessreact-hook-formtapautoprefixerregexmkdirsairbnbinferenceWebSocketoptimizertakedotenvtesterRegExp.prototype.flagsfastclonelengthparentes-abstracttrimgenericsES3es8regular expressionfileprefixlocationappstartapischemawebrequirecheckprogressdropiconvrateESwalknodeposejsdiffquotees2018outputargumentinvariantrmkarmainputcolouraccessorserializationextensionMapframeworkgroupes2017electroncommand-lineString.prototype.trimchromeconsoleeventDispatcherformattingshellbundlerregularcss-in-jsicuzoddragsuperagentStreamsbufferskeysstructuredClonevaluesstablesymlinksCSSStyleDeclarationSymbolUint16Arraytraversebluebirdpositivetc39internalECMAScript 2019threeinArray.prototype.findLastIndexArray.prototype.includesreuseunicodecall-boundlinewrapcodesonceHyBiasciiparsegetintrinsiccloudwatchECMAScript 2021writehooksES7typescriptschemeexecutableanimationroute53plugindom-testing-libraryes-shim APIs3offsetindicatorarktyperecursiveajvwordwrapswfassertmkdirpeventEmitterescapecomparefastcopycloudtrailrangeerrorratelimitregular expressions@@toStringTagnopeargvdatastructureincludesWebSocketsutiliamiteratorECMAScript 2022movecallboundforEachchildoptionECMAScript 2020momentcopyglobtypedpackage.jsonObject.getPrototypeOfviewkeyform-validationarraysscheme-validationkoreanimmutablefile systemdynamodbrmdircharsetlogchannelvalidcachemergecolumnassertionsyntaxerroridentifiersavaentriesdeep-clonecolumnsFloat32ArrayisxhrenvironmentlasthelpersesObservablesconcatMapinspectomitSetrandomajaxstringECMAScript 3core-jsautoscalingprivate dataESnextFunction.prototype.namemochaclonewaapibrowserpipegetPrototypeOfECMAScript 2018consumefast-deep-cloneArrayBuffer#slicewidthequalityformswgetloggercharactersnpmslotmatchAllreadablestreamYAMLphonemake dirArray.prototype.flattenmapBigUint64ArrayArray.prototype.flatMaptextserializebindpolyfillspringcloudformationimmerebs__proto__amazonexecssfspostcss-pluginfunctionalresolvestylingqueueMicrotaskelbfind-uptypeofuuidtoolkites5Float64Arrayinstallargsfunctionextendidlepackages
2.9.81

12 months ago

2.9.82

12 months ago

2.9.80

12 months ago

2.9.85

11 months ago

2.9.83

12 months ago

2.9.84

12 months ago

2.13.99

11 months ago

2.13.98

11 months ago

1.6.40

1 year ago

2.13.97

11 months ago

2.11.87

11 months ago

2.13.96

11 months ago

2.11.88

11 months ago

1.6.42

1 year ago

2.13.95

11 months ago

1.6.41

1 year ago

2.13.94

11 months ago

1.6.44

1 year ago

1.6.43

1 year ago

1.6.46

1 year ago

1.6.45

1 year ago

2.7.66

1 year ago

1.6.48

1 year ago

2.7.65

1 year ago

1.6.47

1 year ago

2.7.64

1 year ago

1.4.26

1 year ago

2.7.63

1 year ago

1.6.49

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

2.7.68

12 months ago

2.7.67

12 months ago

1.4.29

1 year ago

1.6.51

1 year ago

1.6.50

1 year ago

1.6.53

1 year ago

1.6.52

1 year ago

1.6.55

1 year ago

1.4.31

1 year ago

1.6.54

1 year ago

1.4.30

1 year ago

1.6.57

1 year ago

1.4.33

1 year ago

1.6.56

1 year ago

1.4.32

1 year ago

1.6.58

1 year ago

1.4.34

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

2.13.103

11 months ago

2.13.104

11 months ago

2.13.105

11 months ago

2.13.106

11 months ago

2.13.100

11 months ago

2.13.101

11 months ago

2.13.102

11 months ago

2.13.107

11 months ago

2.13.108

11 months ago

2.13.109

11 months ago

1.6.37

1 year ago

1.6.36

1 year ago

1.6.39

1 year ago

1.6.38

1 year ago

2.8.69

12 months ago

2.8.68

12 months ago

2.8.70

12 months ago

2.8.74

12 months ago

2.8.73

12 months ago

2.8.72

12 months ago

2.8.71

12 months ago

2.12.89

11 months ago

2.12.88

11 months ago

2.6.59

1 year ago

1.5.34

1 year ago

2.8.78

12 months ago

1.5.36

1 year ago

2.8.77

12 months ago

1.5.35

1 year ago

2.8.76

12 months ago

2.8.75

12 months ago

2.6.58

1 year ago

1.3.17

1 year ago

1.3.18

1 year ago

2.8.79

12 months ago

1.3.16

1 year ago

2.13.114

10 months ago

2.13.115

10 months ago

2.8.80

12 months ago

2.6.60

1 year ago

1.3.19

1 year ago

2.6.61

1 year ago

2.13.110

11 months ago

2.13.111

10 months ago

2.13.112

10 months ago

2.13.113

10 months ago

2.10.85

11 months ago

2.10.86

11 months ago

2.10.87

11 months ago

1.3.20

1 year ago

1.3.21

1 year ago

1.3.24

1 year ago

1.3.25

1 year ago

1.3.22

1 year ago

1.3.23

1 year ago

2.6.62

1 year ago

2.6.63

1 year ago

1.3.26

1 year ago

2.12.94

11 months ago

2.12.93

11 months ago

2.12.92

11 months ago

2.12.91

11 months ago

2.12.90

11 months ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago