0.0.17 • Published 3 years ago

@ditpsoftware/woco-ui v0.0.17

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

woco-ui

Library for rendering woco innovations's Blueriq runtime.

Include in any Angular module

Add the WocoUiModule to your Angular module and place the <woco-ui /> component in the required place.

import { NgModule } from '@angular/core'
import { BrowserModule } from '@angular/platform-browser'
import { WocoUiModule } from '@ditpsoftware/woco-ui'

import { AppComponent } from './app.component'

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, WocoUiModule],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}

Add to the template

<woco-ui todo='todo' [todo2]='todo'></woco-ui>

Override styles

The Woco UI utilizes css-variables and thus makes it easy to override branding and styling at runtime if required.

Also classes are available to directly override behaviour. All classes are prefixed with woco- and components are not view encapsulated (ViewEncapsulation.None), meaning these classes are registered directly into the main DOM.

/* CSS examples */

.woco-renderer {
  border: 1px dashed black;
  padding: 1rem;

  /* override variables */
  --color-primary: blue;
  --space-unit-size: 16px;
}

All CSS variables

TODO
0.0.16

3 years ago

0.0.17

3 years ago

0.0.15

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.4

3 years ago