@biz-storefront/bizy
| Install | |
|---|---|
npm install @biz-storefront/bizy@1.1.4 |
|
| Latest Version: | 1.1.4 |
| Vue: | 2 |
| License: | ISC |
| Last Updated: | Aug 19, 2021 |
| Links: | npm |
Bizy - Bizcommerce component library
A 🌲 tree-shakeable collection of "styleless" Vue.js (dumb) components, ECMAScript 6 native modules ready, designed for customized ecommerce experiences.
This project is part of a larger effort to create a reusable codebase to all Bizcommerce products and services. Checkout more at biz-storefront umbrella project.
Install
npm install git@bitbucket.org:bizfrontend/component-library.git
Usage
import { SwatchesCard } from 'bizy'
new Vue({
components: { SwatchesCard },
template: `<swatches-card :attributes="{}" @chosen="setId"></swatches-card>`
})
Components
Field
A field is a very shallow component, to be used inside html form components, that usually renders a single node and have no dependencies.
Form
Obviously renders pre-defined of configurable document forms taking the responsability of input validation and compositions.
List
Used to explicitly tell the developer that a imported component root is a ul or ol html tag, usually expecting an array like "items" as :prop.
Item
It's how each element of a list is called.
Box
Usually a shallow component with a root <div> or <span> tag that is not an field nor an item.
Card
When a box have a deep tree inside.
Component
An assembler of multiple bizy components is recursively called, guess what? Component.
The following is a list of every component supported right now:
- AddressCard
- AddressForm
- AdressList
- AmountBox
- AuthenticationComponent
- CouponCard
- FieldBox
- LoginCard
- PostcodeField
- RegisterForm
- RegisterComponent
- ShippingCard
- ShippingList
- SpinnerLoader
- SwatchesCard
This packages also provides and uses a few mixins:
- Localizable
- Localizator
Development
Always write your components in order to be usefull with the minimal transpilation required as possible.
Tests
npm run test:components
npm run test:integration
Generate docs
npm run docs
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.4 | ^2.6.10 | ISC | |
| 1.1.3 | ^2.6.10 | ISC | |
| 1.1.2 | ^2.6.10 | ISC | |
| 1.1.0 | ^2.6.10 | ISC | |
| 1.0.1 | ^2.6.10 | ISC | |
| 1.0.0 | ^2.6.10 | ISC | |
| 0.0.1 | ^2.6.10 | ISC |
Pre-releases (33)
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.86-alpha.0 | ^3.0.5 | ISC | |
| 2.0.83-alpha.0 | ^3.0.5 | ISC | |
| 2.0.81-alpha.0 | ^3.0.5 | ISC | |
| 2.0.79-alpha.0 | ^3.0.5 | ISC | |
| 2.0.78-alpha.0 | ^3.0.5 | ISC | |
| 2.0.77-alpha.0 | ^3.0.5 | ISC | |
| 2.0.75-alpha.0 | ^3.0.5 | ISC | |
| 2.0.72-alpha.0 | ^3.0.5 | ISC | |
| 2.0.67-alpha.0 | ^3.0.5 | ISC | |
| 2.0.66-alpha.0 | ^3.0.5 | ISC | |
| 2.0.63-alpha.0 | ^3.0.5 | ISC | |
| 2.0.62-alpha.0 | ^3.0.5 | ISC | |
| 2.0.57-alpha.0 | ^3.0.5 | ISC | |
| 2.0.56-alpha.0 | ^3.0.5 | ISC | |
| 2.0.53-alpha.0 | ^3.0.5 | ISC | |
| 2.0.51-alpha.0 | ^3.0.5 | ISC | |
| 2.0.50-alpha.0 | ^3.0.5 | ISC | |
| 2.0.48-alpha.0 | ^3.0.5 | ISC | |
| 2.0.44-alpha.0 | ^3.0.5 | ISC | |
| 2.0.42-alpha.0 | ^3.0.5 | ISC | |
| 2.0.41-alpha.0 | ^3.0.5 | ISC | |
| 2.0.34-alpha.0 | ^3.0.5 | ISC | |
| 2.0.33-alpha.0 | ^3.0.2 | ISC | |
| 2.0.25-alpha.0 | ^3.0.2 | ISC | |
| 2.0.24-alpha.0 | ^3.0.2 | ISC | |
| 2.0.23-alpha.0 | ^3.0.2 | ISC | |
| 2.0.14-alpha.0 | ^3.0.2 | ISC | |
| 2.0.7-alpha.0 | ^3.0.2 | ISC | |
| 2.0.6-alpha.0 | ^3.0.2 | ISC | |
| 2.0.4-alpha.0 | ^3.0.2 | ISC |
Showing the latest 30 of 33. See every release on npm