0.25.0 • Published 3 years ago

ctia-ui v0.25.0

Weekly downloads
70
License
WTFPL
Repository
-
Last release
3 years ago

CTIA UI Library

Let's make things easy (and beautiful :sparkling_heart:)

Supported components

  • Bubble
  • Buttons:
    • ActionButton
    • DeleteButton
    • DownloadButton
    • LoaderButton
  • Checklist
  • Divider
  • Icons:
    • IconAwesome
    • IconBase
    • IconLabel
  • InfoBar (WellInfo previously)
  • InlineDatepicker
  • InlinePreloader
  • Labels:
    • ContinueLabel
  • NoData
  • Pager
  • PagerPageSize
  • PagerStatusFilter
  • Preloader
  • Switcher
  • Tooltip:
    • TooltipBase
    • TooltipIcon
  • UploadInstructions
  • WithModal

Run local version of library

Install dependencies with yarn install or npm install.

Run yarn dev or npm run dev to start local dev server (will be run on http://localhost:1234).

To test locally import your components inside src/docs/index.js then use components inside render method. This file already will have recently added examples.

Build new version

yarn build then yarn build:docs

Integration with other projects

To add the UI library for a first time:

npm i ctia-ui or yarn add ctia-ui

To upgrade the current version:

npm update ctia-ui or yarn upgrade ctia-ui

Upgrade UI Library version

When time to update library comes (new components added or improved), follow next steps to update the library version.

  • Be sure that your code is well tested, then commit it
  • Increase verion number inside package.json and commit this change
  • Build new version and commit results (TODO: add gitlab worker to build new version)
  • Update related projects (yarn upgrade ctia-ui or npm update ctia-ui)

Shell script draft (building automation process)

Example:

build.sh -v patch -m "Commit message"

Input params:

Patch example: 1.0.1 -> 1.0.2 (Increment the third digit) Minor example: 1.0.12 -> 1.1.0 (Increment the middle digit and reset last digit to zero) Major example: 1.3.54 -> 2.0.0 (Increment the first digit and reset middle and last digits to zero)

Details: https://docs.npmjs.com/about-semantic-versioning

Script flow:

  • run build and then build:docs command
  • commit and push changes to git (need to ask comment message as a param)
  • change package version (npm version <update_type>, see release type input param)
  • publish changes to npm (npm publish)
0.25.0

3 years ago

0.24.0

3 years ago

0.23.0

4 years ago

0.22.1

4 years ago

0.22.0

4 years ago

0.20.3

4 years ago

0.20.2

4 years ago

0.19.3

4 years ago

0.19.2

4 years ago

0.19.1

4 years ago

0.19.0

4 years ago

0.18.2

4 years ago

0.18.1

4 years ago

0.17.0

4 years ago

0.18.0

4 years ago

0.16.0

4 years ago

0.15.2

4 years ago

0.15.1

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.13.1

4 years ago

0.13.0

4 years ago

0.12.2

4 years ago

0.12.1

4 years ago

0.12.0

4 years ago

0.11.4

4 years ago

0.11.3

4 years ago

0.11.2

4 years ago

0.11.1

4 years ago

0.11.0

4 years ago

0.10.4

4 years ago

0.10.3

4 years ago

0.10.1

4 years ago

0.10.2

4 years ago

0.10.0

4 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.13

5 years ago

0.4.12

5 years ago

0.4.11

5 years ago

0.4.10

5 years ago

0.4.9

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.33

5 years ago

0.3.32

5 years ago

0.3.31

5 years ago

0.3.30

5 years ago

0.3.29

5 years ago

0.3.28

5 years ago

0.3.27

5 years ago

0.3.26

5 years ago

0.3.25

5 years ago

0.3.24

5 years ago

0.3.23

5 years ago

0.3.22

5 years ago

0.3.21

5 years ago

0.3.20

5 years ago

0.3.19

5 years ago

0.3.18

5 years ago

0.3.17

5 years ago

0.3.16

5 years ago

0.3.15

5 years ago

0.3.14

5 years ago

0.3.13

5 years ago

0.3.12

5 years ago

0.3.11

5 years ago

0.3.10

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.34

5 years ago

0.1.33

5 years ago

0.1.32

5 years ago

0.1.31

5 years ago

0.1.30

5 years ago

0.1.29

5 years ago