open-index/open-npm huggingface dataset:
npm package: @spheremall_org/common-module
Description: This module contains common components for SM Products
Author: SphereMall
Latest version: 0.0.7

# Sm-Common

This package includes common components for SphereMall products.

## - Sidenav-menu

### Installation

- __app.module.ts__:

```ts
import {SmCommonModule} from '@spheremall_org/common-module';

@NgModule({
  imports: [SmCommonModule]
})
```

- __app.components.ts__:

```ts
export class AppComponent {
  menuColor          = 'black'; // default is black
  menuSelectionColor = 'lightgray'; // defaul is lightgray
  menuItems          = [
    {
      title   : 'Menu item',
      icon    : 'mat-icon',
      children: [
        {
          title: 'Sub-menu item',
          link : 'sub-menu-item,',
          icon : 'mat-icon'
        },
      ]
    }
  ]
}
```

- __app.component.html__:

```html

<mat-toolbar class="header-panel">
  <mat-toolbar-row>
    <div class="app-title">
      <sm-navigation-hamburger-button></sm-navigation-hamburger-button>
    </div>
  </mat-toolbar-row>
</mat-toolbar>

<sm-navigation
  [menuItems]="menuItems"
  [color]="menuColor"
  [selectionColor]="menuSelectionColor"
></sm-navigation>
```

- __styles.scss__:

```scss
app-root {
  display: flex;
  flex-wrap: wrap;
}

.content-wrapper {
  flex: 1;
}
```
npm package: @spheremall_org/customer-journey-widget
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.0.6.
Latest version: 0.3.0-alpha.2

# CustomerJourneyWidget

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.0.6.

## Code scaffolding

Run `ng generate component component-name --project customer-journey-widget` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project customer-journey-widget`.
> Note: Don't forget to add `--project customer-journey-widget` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build customer-journey-widget` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build customer-journey-widget`, go to the dist folder `cd dist/customer-journey-widget` and run `npm publish`.

## Running unit tests

Run `ng test customer-journey-widget` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.