1.8.4 • Published 19 days ago

@bpost/web-design-system v1.8.4

Weekly downloads
-
License
ISC
Repository
-
Last release
19 days ago

DesignSystem

This library was generated with Angular CLI version 16.2.0.

Usage and imports

In this section, you will learn how to import properly the visual components included in the package and also how to implement the themeing provided.

Theme

In order for the theme to be applied throughout your app, in your root theme add this import :

@import "../node_modules/bpost-components-desy/src/lib/components/themes/theme.scss";

Components playground:

Storybook

Components

In order to use the components in your application / module, you have to import it from the library. Note that if some components needs other imports, it will be described in an upcoming documentation.

Example import with button component :

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BpButton, //adding this line will allow you to use the component.
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {
 }

Example use with button component:

<div>

  <bp-button [label]="Usage example" (onClick)="yourMethod(yourParams)" ></bpost-button>

</div>
1.8.4

19 days ago

1.8.3

19 days ago

1.8.1

28 days ago

1.8.0

29 days ago

1.7.2

1 month ago

1.7.1

1 month ago

1.7.0

1 month ago

1.6.1

2 months ago

1.6.0

2 months ago

1.5.1

2 months ago

1.5.0

2 months ago

1.4.1

3 months ago

1.4.0

4 months ago

1.3.7

4 months ago

1.3.6

4 months ago

1.3.5

4 months ago

1.3.4

4 months ago

1.3.3

4 months ago

1.3.2

4 months ago

1.3.1

4 months ago

1.3.0

5 months ago

1.2.2

6 months ago

1.2.1

6 months ago

1.2.0

6 months ago

1.1.2

7 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.0

7 months ago