# @onerecord/web-components

> OneRecord web component library

Latest version **0.0.68** (published 2024-10-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install @onerecord/web-components
pnpm add @onerecord/web-components
yarn add @onerecord/web-components
bun add @onerecord/web-components
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.68 |
| Published | 2024-10-15 |
| First published | 2021-04-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 319.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chalk |
| Maintainers | onerecord |

## Links

- npm: https://www.npmjs.com/package/@onerecord/web-components
- npm.io page: https://npm.io/package/@onerecord/web-components

## Dependencies (5)

- [ramda](https://npm.io/package/ramda.md) ^0.27.1
- [nanoid](https://npm.io/package/nanoid.md) ^3.1.22
- [@stencil/core](https://npm.io/package/@stencil/core.md) ^3.0.0
- [@a11y/focus-trap](https://npm.io/package/@a11y/focus-trap.md) ^1.0.5
- [@duetds/date-picker](https://npm.io/package/@duetds/date-picker.md) ^1.3.0

## Recent versions

- 0.0.68 (latest) — 2024-10-15
- 0.0.67 — 2024-10-11
- 0.0.65 — 2024-10-11
- 0.0.64 — 2024-10-08
- 0.0.63 — 2022-04-19
- 0.0.62 — 2022-03-29
- 0.0.61 — 2022-03-29
- 0.0.60 — 2022-03-29
- 0.0.59 — 2022-03-29
- 0.0.58 — 2022-03-29
- 0.0.57 — 2022-03-29
- 0.0.56 — 2022-03-26
- 0.0.55 — 2022-03-25
- 0.0.54 — 2022-02-17
- 0.0.53 — 2022-02-08
- … 52 more at https://npm.io/package/@onerecord/web-components/versions

## README

# OneRecord Web Components

This is a library of Web Components for the OneRecord organization.

## Local Development

Use the correct node version (see .nvmrc file for which version).

Install dependencies with `pnpm install`.
    *Install in root directory
    * _and_ in `solid-web-components/`
Run `pnpm start` to start up the development server.

## Using the Web Components.

- The components written in SolidJS are registered when `dist/v2/<component>` is imported.
- Legacy components written in StencilJS should be defined via the `defineCustomElements` method.

## Manual Testing

You may use [`yalc`](https://github.com/wclr/yalc) to manually test changes before publishing. The process is similar to publishing.

- Make your changes
- `pnpm run build`
- Run `yalc publish` from the root directory. Now you may use `yalc add` to consume and test your changes in other projects.

## Building the project and publishing to NPM

- Make sure the version number in package.json is incremented, merged into develop, merged into main and a release branch created
- git tag `<version number>`
- git push origin tag `<version number>`
- `pnpm install`
- `pnpm build`
- Make sure you have an NPM auth token configured in either your global `.npmrc` or project specific `.npmrc` and then run `npm login`
- `npm publish`

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