Directory

bootstrap-webcomponents - Vaadin Add-on Directory

[WiP] Rewrite of bootstrap components as web components. bootstrap-webcomponents - Vaadin Add-on Directory
# Bootstrap Web Components [![CircleCI](https://circleci.com/gh/morbidick/bootstrap-webcomponents.svg?style=shield)](https://circleci.com/gh/morbidick/bootstrap-webcomponents) [![npm version](https://img.shields.io/npm/v/@morbidick/bootstrap.svg)](https://www.npmjs.com/package/@morbidick/bootstrap) [![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/@morbidick/bootstrap.svg)](https://bundlephobia.com/result?p=@morbidick/bootstrap) > ## � Status: In Development > Components get implemented as needed. PRs welcome! Rewrite of bootstrap components as web components. See [the demo](demo/index.html) for all implemented features. ## Motivation This isn't just a webcomponents wrapper around the bootstrap css, this aims to be a clean and simple rewrite easily understandable to everyone new to the webcomponents standards. * No build chain / preprocessors * allow easy theming via css custom properties * provide a clear api to end users in the form of attributes * Use web standards over big libraries where possible (even if that means loosing compatibility eg. dialog element) * Provide support to projects to include polyfills and buildsteps for the above points ## Install ```bash npm install @morbidick/bootstrap ``` ## Usage Import into your module script: ```javascript import { BsButton, BsBadge } from "@morbidick/bootstrap/elements.js" ``` Alternatively, load a bundled version from CDN: ```html ``` Use it in your web page: ```html Click Me warning ``` ## Development View the [contributing notes](CONTRIBUTING.md) for instructions and further resources.
View on NPM
View on GitHub

bootstrap-webcomponents version 0.1.0
### Dependencies * @polymer/lit-element#^0.5.2

bootstrap-webcomponents version 0.1.1
### Dependencies * @polymer/lit-element#^0.5.2

bootstrap-webcomponents version 0.2.1
### Dependencies * @morbidick/lit-element-notify#^0.1.0 * @polymer/lit-element#^0.6.1 * lit-html#^0.11.4

bootstrap-webcomponents version 0.2.2
### Dependencies * @morbidick/lit-element-notify#^0.1.0 * @polymer/lit-element#^0.6.2 * lit-html#^0.12.0

bootstrap-webcomponents version 0.3.0
### Dependencies * @morbidick/lit-element-notify#^0.6.1 * lit-element#^2.0.0-rc.5 * lit-html#^1.0.0-rc.2 * rimraf#^2.6.3

bootstrap-webcomponents version 0.4.0
### Dependencies * @morbidick/lit-element-notify#^0.6.1 * lit-element#^2.0.0-rc.5 * lit-html#^1.0.0-rc.2 * rimraf#^2.6.3

bootstrap-webcomponents version 0.4.1
### Dependencies * @morbidick/lit-element-notify#^0.6.1 * lit-element#^2.0.0-rc.5 * lit-html#^1.0.0-rc.2 * rimraf#^2.6.3

bootstrap-webcomponents version 0.4.2
### Dependencies * @morbidick/lit-element-notify#^1.0.0 * lit-element#^2.0.1 * lit-html#^1.0.0 * rimraf#^2.6.3