@nylas/web-elements
TypeScript icon, indicating that this package has built-in type declarations

1.1.0-canary.23 • Public • Published

Nylas Web Elements

A collection of web components for Nylas.

This is a pre-alpha version of Nylas web elements. It is not yet ready for production use.

Requirements

Getting Started

  1. Run pnpm install to install dependencies.

  2. Run pnpm nx run @nylas/web-elements:start to start the web elements server.

  3. Visit http://localhost:3333/ to see the web elements server (this has hot reloading enabled!).

Naming Components

Prefix all components with nylas-. For example, nylas-scheduling.

Good to know

Style guide for Stencil components

Getting errors with Jest regarding invalid imports of 3rd party libraries?

If you are getting errors like this:

SyntaxError: Unexpected token 'export'

You may need to add the 3rd party library to the esModules array in the stencil.config.ts file. For example:

const esmModules = ['d3-time'];

Readme

Keywords

none

Package Sidebar

Install

npm i @nylas/web-elements

Weekly Downloads

1,520

Version

1.1.0-canary.23

License

MIT

Unpacked Size

89.3 MB

Total Files

2454

Last publish

Collaborators

  • b3ndoi
  • krisgardiner
  • nylas-admin
  • poojaguggari
  • sourcesoft
  • ozsivanov
  • mrashed-dev