# participant-design-system

> An Angular library with a collection of reusable UI components that support product development at Slavic401k. The goal of this project is to ensure consistency throughout our products and improve productivity of the front end team.

Latest version **2023.1.9** (published 2023-04-13) · 0 weekly downloads

## Install

```sh
npm install participant-design-system
pnpm add participant-design-system
yarn add participant-design-system
bun add participant-design-system
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2023.1.9 |
| Published | 2023-04-13 |
| First published | 2023-02-27 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 2.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | pradeepi |

## Links

- npm: https://www.npmjs.com/package/participant-design-system
- npm.io page: https://npm.io/package/participant-design-system

## Dependencies (6)

- [d3](https://npm.io/package/d3.md) ^7.8.0
- [tslib](https://npm.io/package/tslib.md) ^2.3.0
- [ngx-bootstrap](https://npm.io/package/ngx-bootstrap.md) ^10.2.0
- [angular2-text-mask](https://npm.io/package/angular2-text-mask.md) ^9.0.0
- [@ng-select/ng-select](https://npm.io/package/@ng-select/ng-select.md) ^10.0.1
- [@ng-bootstrap/ng-bootstrap](https://npm.io/package/@ng-bootstrap/ng-bootstrap.md) ^14.0.0

## Recent versions

- 2023.1.9 (latest) — 2023-04-13
- 2023.1.8 — 2023-03-09
- 2023.1.7 — 2023-03-08
- 2023.1.6 — 2023-03-06
- 2023.1.5 — 2023-03-03
- 2023.1.2 — 2023-02-27
- 2023.1.1 — 2023-02-27
- 0.0.4 — 2023-02-27

## README

# Telos Design System

An Angular library with a collection of reusable UI components that support product development at Slavic401k. The goal of this project is to ensure consistency throughout our products and improve productivity of the front end team.

## Demos and Examples

Please refer to [Storybook](http://telos-design-system.s3-website-us-east-1.amazonaws.com/) for examples of components.

## Install

`npm install participant-design-system -save`

## Getting started

To start using the library, there are a few steps you need to follow.

### 1. Import the module

In your `app.module.ts`, import the `ParticipantDesignSystemModule`:

```ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { ParticipantDesignSystemModule } from 'participant-design-system';

@NgModule({
  imports: [BrowserModule, ParticipantDesignSystemModule]
})
export class AppModule {}
```

### 2. Include global styles

In your `angular.json`, under `architect.build.options.styles`, add a path to the library's stylesheet:

```js
{
  "styles": [
    "./node_modules/participant-design-system/styles.scss"
    // or styles-with-bootstrap.scss if you need bootstrap
  ]
}
```

Now you can Start using the components:

```html
<tds-doughnut-widget
  [data]="[
    { key: 'Type A', value: 15 },
    { key: 'Type B', value: 85 }
  ]"
></tds-doughnut-widget>
```

### 3. Design tokens / Sass variables & mixins

To use the [design tokens / Sass variables & mixins](https://share.goabstract.com/f3d479e1-82c8-4978-a116-bae0b20d7b7a), add the following config to `angular.json` under your project

```js
// architect.build.options
{
  "stylePreprocessorOptions": {
    "includePaths": [
      "./node_modules/participant-design-system/styles"
    ]
  }
}
```

```scss
// in your .scss
@import 'exports';

.message {
  font-color: $primary;
}
```

### 4. Fonts

In order for the specified fonts (Avenir Next) to display correctly, add the following code to your `index.html`

```html
<link rel="stylesheet" href="https://s401k-cdn.s3.us-east-2.amazonaws.com/fonts/fonts.css">
```

### 5. Critical changes

Changes in breakpoints for CSS and TS files: added XXL (1400px) and changed values for all of them to prevent particular breakpoint include neighboring one. For example 576px changed to 575,98px

---
_Source: https://npm.io/package/participant-design-system · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
