# @ptadmin/ui-components

> This project contains a list of UI components that can be important a used in different applications

Latest version **3.0.7** (published 2025-01-22) · 0 weekly downloads

## Install

```sh
npm install @ptadmin/ui-components
pnpm add @ptadmin/ui-components
yarn add @ptadmin/ui-components
bun add @ptadmin/ui-components
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.7 |
| Published | 2025-01-22 |
| First published | 2021-11-16 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 90.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | polah, nunobettencourt, gabriellaal, henry.miller, raj.thota, s.ford |

## Links

- npm: https://www.npmjs.com/package/@ptadmin/ui-components
- Repository: https://stash.playtech.corp/scm/ptsgen/genbet-ui-components
- npm.io page: https://npm.io/package/@ptadmin/ui-components

## Dependencies (5)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [moment](https://npm.io/package/moment.md) ^2.29.4
- [web-vitals](https://npm.io/package/web-vitals.md) ^3.5.0
- [react-scripts](https://npm.io/package/react-scripts.md) ^5.0.1
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^6.19.0

## Recent versions

- 3.0.7 (latest) — 2025-01-22
- 3.0.6 — 2024-12-20
- 3.0.5 — 2024-12-09
- 3.0.4 — 2024-12-09
- 3.0.3 — 2024-12-09
- 3.0.2 — 2024-12-06
- 3.0.1 — 2024-12-06
- 3.0.0 — 2024-12-06
- 2.0.11 — 2024-01-17
- 2.0.10 — 2023-12-20
- 2.0.9 — 2023-12-13
- 2.0.8 — 2023-12-13
- 2.0.7 — 2023-12-08
- 2.0.6 — 2023-12-08
- 2.0.5 — 2023-12-08
- … 21 more at https://npm.io/package/@ptadmin/ui-components/versions

## README

# UI Components library

This project contains a list of UI components that can be important a used in different applications

## Installation

Using npm

```
npm i -s @ptadmin/ui-components
```

## Getting started

Adding components to a project is done by simply importing the desired component using the following method:

```javascript
import { COMPONENT_NAME } from '@ptadmin/ui-components';
```

## Available Components

In the project directory, you can find the following components:

### `AutoComplete`

The AutoComplete component is a normal text input enhanced by a panel of suggested options.

The widget is useful for setting the value of a single-line textbox in one of two types of scenarios:

1. The value for the textbox must be chosen from a predefined set of values, e.g., a sport name field must contain a valid name.
2. The textbox may contain any arbitrary value, but it is advantageous to suggest possible values to the user, e.g., an event name field may suggest similar or existing event names.

### `DateTimeDisplayer`

The DateTimeDisplayer component receives a prop that represents an ISO 8601 format date and displayes it in a Day/Month/Year Hour:Minute:second string.
This component is usually passed to Table as a prop to render dates in a row.

### `Link`

the Link component generates links under a react-router context.

### `Switch`

A switch input with an update handler function.

---
_Source: https://npm.io/package/@ptadmin/ui-components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
