@eventstore-ui/fields
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@eventstore-ui/fields

Form field web components for the Event Store design system.

The components are designed to be used in conjuction with @eventstore-ui/forms to provide validation and data orchestration, but can be used independantly by directly listening to the fieldchange events, and passing validation messages via the message prop.

Install

Add to your project

yarn add @eventstore-ui/fields

Also, include the peer dependencies:

yarn add @eventstore-ui/components @eventstore-ui/theme @eventstore-ui/utils

Usage within a stencil project

In your globalScript file, add the imports:

// Add the core web components to the global pool
import '@eventstore-ui/components';
// Add the field web components to the global pool
import '@eventstore-ui/fields';

Then you can use the element anywhere in your JSX, html, templates etc.

Dependencies (1)

Dev Dependencies (11)

Package Sidebar

Install

npm i @eventstore-ui/fields

Weekly Downloads

171

Version

1.0.1

License

Apache-2.0

Unpacked Size

5.48 MB

Total Files

618

Last publish

Collaborators

  • hayleycampbell
  • georgepayne
  • ylorph-eventstore