2.0.0 • Published 8 months ago

@worm425/test-web-components v2.0.0

Weekly downloads
-
License
(c) Copyright 202...
Repository
github
Last release
8 months ago

Getting Started

View the Docs & Component Playground

SLDS

Storybook

Gator

Storybook

Consuming the nCino Web Components

nCino Web Components are Native Web Components that can be consumed in any framework, or no framework at all.

Framework Samples

View the samples in the ./samples directory for examples of how to consume the components for the framework of your choice.

Consumption Options

You can either import components individually or all components through a single file.

Single File

Simple import the index.js included in the Dist. This file includes all components.

import '@ncino/web-components';
Individual Components

Import the components you need individually.

// SLDS Component
import '@ncino/web-components/dist/components/button/button.slds';

// Gator Component
import '@ncino/web-components/dist/components/button/button.gator';

Getting IntelliSense on the Components

Included in the distribution of these components will include both a custom-elements.json manifest file and a web-types.json file These files can be used to provide IntelliSense in your IDE and should work OOTB but may need additional configuration depending on your IDE.

Using Typescript?

Each of the component declare a global definition for the custom web components. This means your IDE can recognize the components and provide intellisense.

All types are exported in the dist/types folder of the npm package.

2.0.0

8 months ago