4.12.0 • Published 3 months ago

@tui/ui-library v4.12.0

Weekly downloads
-
License
-
Repository
-
Last release
3 months ago

ui-library

https://web.tui/resources/storybook/

Quick Start

nvm use
npm i
npm run dev

This will spin up:

How to use it

Installation

To install the latest stable version:

npm install @tui/ui-library or yarn add @tui/ui-library

To install the next major version (be aware it might contain untested features):

npm install @tui/ui-library@next or yarn add @tui/ui-library@next

Themes

Theme files provide some global variables that are needed by the components in order to adhere to the theme guidelines (colors, spacing, etc.). TUI is the only available theme at the moment.

In dist/themes/<<themename>>/, you will find the theme file style.css as well as other global stylesheets. For example, for the TUI theme you could import in your .js files:

import '@tui/ui-library/dist/themes/tui-light/index.css';
import '@tui/ui-library/dist/themes/tui-light/fonts.css';

Themes variables are declared within the "data-theme" attribute selector, so you will need to add it on either the host page html tag or your MFE:

<html data-theme="tui-light">
  <!--or-->
  <my-custom-mfe data-theme="tui-light">
    <!--or-->
    <div data-theme="tui-light"></div
  ></my-custom-mfe>
</html>

Add SCSS Fiddle to your Documention

SCSS_FIDDLE.md

Development mode

You can also clone this repository, install the dependencies and use npm run dev to run a local server where to check the example templates for the components, how themes are generated, the original unprocessed stylesheets (post processed with postcss-preset-env), etc.

Contributing

Please check the contributing document

Roadmap

  • migration to scss
  • snapshot testing
  • documentation
  • global variables splitting

Migration

Please check the migration document

4.12.0

3 months ago

4.11.2

6 months ago

4.11.1

7 months ago

4.11.1-MR-623.0

7 months ago

4.11.0

7 months ago

4.10.0

11 months ago

4.9.0

11 months ago

4.8.21

1 year ago

4.8.20

1 year ago

4.8.18

1 year ago

4.8.17

1 year ago

4.8.16

1 year ago

4.8.15

1 year ago

4.8.14

1 year ago

4.8.13

1 year ago

4.8.11

1 year ago

4.8.10

1 year ago

4.8.9

1 year ago

4.8.8

1 year ago

4.8.7

1 year ago

4.8.6

1 year ago

4.8.5

1 year ago

4.8.4

2 years ago

4.8.3

2 years ago

4.8.2

2 years ago

4.8.1

2 years ago

4.8.0

2 years ago

4.4.1

2 years ago

4.4.0

2 years ago

4.4.3

2 years ago

4.6.0

2 years ago

4.4.2

2 years ago

4.4.4

2 years ago

4.5.0

2 years ago

4.3.2

2 years ago

4.3.1

2 years ago

4.7.0

2 years ago

4.3.4

2 years ago

4.5.1

2 years ago

4.3.3

2 years ago

4.3.0

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

4.1.0

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

4.0.1-rc.6

2 years ago

4.0.1-rc.7

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.2

2 years ago

3.6.4

2 years ago

3.6.3

2 years ago

4.0.1-rc.2

3 years ago

4.0.1-rc.4

2 years ago

4.0.1-rc.3

2 years ago

4.0.1-rc.0

3 years ago

3.6.2

3 years ago

3.6.1

3 years ago

3.6.0

3 years ago

3.5.1

3 years ago

4.0.1-rc.1

3 years ago

3.6.2-rc.0

3 years ago

3.6.2-rc.3

3 years ago

3.4.0

3 years ago

3.3.0

3 years ago

3.5.0

3 years ago

3.2.0

3 years ago

3.1.1

3 years ago

3.0.2

3 years ago

3.1.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.6.5

3 years ago

2.6.4

3 years ago

2.6.3

3 years ago

2.6.2

3 years ago

2.6.1

3 years ago

2.5.0

3 years ago

2.4.1

3 years ago

2.5.2

3 years ago

2.6.0

3 years ago

2.5.1

3 years ago

2.5.3

3 years ago

2.3.0

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.4.0

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago