1.1.52 • Published 10 months ago

@xbotvn/react-ui v1.1.52

Weekly downloads
1,020
License
ISC
Repository
gitlab
Last release
10 months ago

UIBOT

UIBOT is an React UI library that we use natively for developing XBOT's applications. The library provides an easy way to get started creating React applicaton without sacrificing customization ability.

Supported platforms

Browser

UIBOT supports the latest, stable releases of all major browsers and platforms. It also supports Internet Explorer 11. You don't need to provide any JavaScript polyfill as it manages unsupported browser features internally and in isolation.

IEEdgeFirefoxChromeSafariGooglebot
11>=14>=52>=49>=10x

You may experience degraded visuals in IE. IE 10 and below are unsupported due to their lack of support for CSS Flexbox Layout. These browsers were deprecated by Microsoft (end of support) in January 2016.

React

UIBOT supports the most recent versions of React, starting with ^16.8.0 (the one with the hooks).

TypeScript

UIBOT requires a minimum version of TypeScript 3.2.

Installation

npm install --save @xbotvn/ui @xbotvn/utils

Roboto font

UIBOT was designed with the Roboto font in mind. So be sure to follow these instructions. For instance, via Google Web Fonts:

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />

Font icons

In order to use the font Icon component, you must first add the Material icons font. For instance, via Google Web Fonts:

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />

Responsive meta tag

UIBOT is developed mobile-first, a strategy in which we first write code for mobile devices, and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, add the responsive viewport meta tag to your head element.

<meta
  name="viewport"
  content="minimum-scale=1, initial-scale=1, width=device-width"
/>

Developing

If you want to run the project locally, its really easy!

The project uses Storybook for its demos and development environment. To run it locally:

  • Clone repo
  • npm install
  • npm run storybook

Once started the browser will open to the storybook url. From here you can tweak the components and see them build and reload in real time.

You can build storybook as a static web application.

  • npm run build-storybook
1.1.52

10 months ago

1.1.51

11 months ago

1.1.49

2 years ago

1.1.48

2 years ago

1.1.50

2 years ago

1.1.47

2 years ago

1.1.34

3 years ago

1.1.38

3 years ago

1.1.37

3 years ago

1.1.39

3 years ago

1.1.41

3 years ago

1.1.40

3 years ago

1.1.45

3 years ago

1.1.44

3 years ago

1.1.43

3 years ago

1.1.42

3 years ago

1.1.46

3 years ago

1.1.32

3 years ago

1.1.31

3 years ago

1.1.29

3 years ago

1.1.28

3 years ago

1.1.30

3 years ago

1.1.27

3 years ago

1.1.26

3 years ago

1.1.23

3 years ago

1.1.25

3 years ago

1.1.24

3 years ago

1.1.22

3 years ago

1.1.21

3 years ago

1.1.20

3 years ago

1.1.19

3 years ago

1.1.18

3 years ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.17

3 years ago

1.1.14

3 years ago

1.1.12

3 years ago

1.1.13

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.0.60

3 years ago

1.0.55

3 years ago

1.0.59

3 years ago

1.0.58

3 years ago

1.0.57

3 years ago

1.0.56

3 years ago

1.0.54

3 years ago

1.0.53

3 years ago

1.0.52

3 years ago

1.0.51

3 years ago

1.0.50

3 years ago

1.0.44

3 years ago

1.0.43

3 years ago

1.0.48

3 years ago

1.0.47

3 years ago

1.0.46

3 years ago

1.0.45

3 years ago

1.0.49

3 years ago

1.0.40

3 years ago

1.0.42

3 years ago

1.0.41

3 years ago

1.0.39

3 years ago

1.0.38

3 years ago

1.0.33

3 years ago

1.0.32

3 years ago

1.0.31

3 years ago

1.0.36

3 years ago

1.0.35

3 years ago

1.0.34

3 years ago

1.0.30

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago