{"id":25707706,"url":"https://github.com/jhsware/inferno-bootstrap","last_synced_at":"2025-04-30T14:44:00.495Z","repository":{"id":57273603,"uuid":"99243182","full_name":"jhsware/inferno-bootstrap","owner":"jhsware","description":"Bootstrap 4 as Inferno.js components, no need for jQuery","archived":false,"fork":false,"pushed_at":"2020-06-22T14:52:38.000Z","size":1862,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T12:40:49.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jhsware.github.io/inferno-bootstrap-docs","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhsware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-03T14:44:19.000Z","updated_at":"2021-02-26T00:04:06.000Z","dependencies_parsed_at":"2022-09-17T05:11:06.303Z","dependency_job_id":null,"html_url":"https://github.com/jhsware/inferno-bootstrap","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsware%2Finferno-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsware%2Finferno-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsware%2Finferno-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsware%2Finferno-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhsware","download_url":"https://codeload.github.com/jhsware/inferno-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251723235,"owners_count":21633111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T08:38:34.882Z","updated_at":"2025-04-30T14:44:00.469Z","avatar_url":"https://github.com/jhsware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inferno-bootstrap\n[![Build Status](https://travis-ci.org/jhsware/inferno-bootstrap.svg?branch=master)](https://travis-ci.org/jhsware/inferno-bootstrap)\n[![gzip size](http://img.badgesize.io/https://unpkg.com/inferno-bootstrap/dist/cjs/index.min.js?compression=gzip)](https://unpkg.com/inferno-bootstrap/dist/cjs/index.min.js)\n\nInferno components for Bootstrap 4. Ported from Reactstrap with some modifications.\n\nView component docs at https://jhsware.github.io/inferno-bootstrap-docs/\n\n## Upgrade notes\nNOTE! If you have cherry picked from /dist, please change to /lib\n\n## Compatibility\ninferno-bootstrap 7.x supports Inferno v7\n\ninferno-bootstrap 6.x supports Inferno v6\n\ninferno-bootstrap 5.x supports Inferno v5\n\ninferno-bootstrap 4.x supports Inferno v4\n\ninferno-bootstrap 3.x supports Inferno v3 (code in InfernoV3 branch)\n\nReactstrap components not yet ported:\n- Uncontrolled input components\n- ~Media~ DONE\n- Fade\n- Carousel\n- Form inline attribute (you can do it by adding bootstrap classes manually)\n\nTo understand how to use `inferno-bootstrap`, visit the component docs and the excellent Bootstrap 4 website. When confused, check out the source code and tests.\n\n## Installation\nTo use `infern-bootstrap` you need to include the Bootstrap CSS files, but not any of the Bootstrap JavaScript.\n\n```\n$ npm install --save-prod inferno-bootstrap bootstrap@4\n```\n\n## Usage \n```JavaScript\n// Use ES6 style imports and optionally tree-shaking\nimport { Input } from 'inferno-bootstrap'\n\n// ...or, cherry pick to reduce size if you don't have tree-shaking\nimport Input from 'inferno-bootstrap/lib/Form/Input'\n\n// ...or, if you are cherry picking and using TypeScript\nimport * as Input from 'inferno-bootstrap/lib/Form/Input'\n```\n\nYou can get a nicer debugging experience by importing your components from the original source code\nin the `/src` directory. This requires that you transpile all imports from `node_module/inferno-bootstrap` and add the transpiling options found in the .babelrc config file at the root of this repos:\n\n```JavaScript\n// Cherry pick to reduce size\nimport Input from 'inferno-bootstrap/src/Form/Input'\n\n// Or keep it simple and use tree shaking\nimport { Input } from 'inferno-bootstrap/src'\n```\n\nYou will find a working webpack.config file in the folder `test/browser`. Don't forget to add your babel plugin devDepencies etc.\n\n## Animations ##\nThis package uses the standard bootstrap CSS-animations with the help of the [inferno-animation](https://github.com/jhsware/inferno-animation) library.\n\nTo create basic bootstrap style animations for your own components, check out the source code of \n`Collapse.js` and `AnimateModal.js`. If you want to create CSS animations with different behaviour on enter\nand leave, take a look at the animation helpers in `inferno-animation`.\n\n## Generate Off-line Docs ##\nTo generate off-line docs, clone the repos and run:\n\n```\n$ npm run build-test\n$ ./scripts/generateDocs.sh\n```\n\nYour docs will be placed in `project/docs`.\n\nTODO: Implement https://github.com/reactstrap/reactstrap/commit/5c5c2056b08b21502d8543e54cbc5341c966bf33\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsware%2Finferno-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhsware%2Finferno-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsware%2Finferno-bootstrap/lists"}