@hotellistat/robust-ui
TypeScript icon, indicating that this package has built-in type declarations

3.6.0 • Public • Published

Robust-UI

npm (scoped) npm bundle size (scoped) NPM

A lightweight Vue 3 component library that aims to invoke a native UI feel. This means that UI elements should behave similarly to other native OS applications, e.g. don't user cursor: pointer and don't use overloaded animations.

When you are starting a new prototype you want to be able to develop features fast. We created this component library as a way for us to build products quickly without having to deal with complicated packages and a huge bundle sizes.

Usage

First install the library using your prefered package manager

npm run add @hotellistat/robust-ui

then you can import the available components like so

import { HsButton } from '@hotellistat/robust-ui'

Development

To develop new components for robust-ui, you should create new feature branches that hold the code of a specific components. As soon as you are finished with working on, and testing the components, you can create a PR to merge it into the main branch.

Publishing a new version

To publish a new version you will need to follow these simple steps:

  1. Create a PR to merge your feature branch into the main branch
  2. As soon as the PR was merged, a automated pipeline takes care of bumping the next patch version and publishing the package to npm

Available commands

Here is a list of all available npm commands.

Starting the dev environment We use Vue Press to hold our component documentation and examples

npm run dev

Building the documentation

npm run build

Serving the documentation

npm run serve

Building the library bundles

npm run build:library

Analyzing bundle sizes with rollup-plugin-visualizer

npm run analyze

Lint all files

npm run lint

Format all files

npm run format

Readme

Keywords

none

Package Sidebar

Install

npm i @hotellistat/robust-ui

Weekly Downloads

47

Version

3.6.0

License

MIT

Unpacked Size

684 kB

Total Files

301

Last publish

Collaborators

  • dnlsndr